mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-20 10:21:37 +00:00
ui fix and build
This commit is contained in:
parent
5ab6617b5d
commit
0cd815cce6
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"resources/css/app.css": {
|
"resources/css/app.css": {
|
||||||
"file": "assets/app-817eb31c.css",
|
"file": "assets/app-f65997bb.css",
|
||||||
"isEntry": true,
|
"isEntry": true,
|
||||||
"src": "resources/css/app.css"
|
"src": "resources/css/app.css"
|
||||||
},
|
},
|
||||||
|
@ -1,10 +1,3 @@
|
|||||||
@php
|
<div {!! $attributes->merge(["class" => "max-w-5xl mx-auto"]) !!}>
|
||||||
$class = "mx-auto";
|
|
||||||
if (! str($attributes->get("class"))->contains("max-w-")) {
|
|
||||||
$class .= " max-w-7xl";
|
|
||||||
}
|
|
||||||
@endphp
|
|
||||||
|
|
||||||
<div {!! $attributes->merge(["class" => $class]) !!}>
|
|
||||||
{{ $slot }}
|
{{ $slot }}
|
||||||
</div>
|
</div>
|
||||||
|
@ -56,7 +56,7 @@ class="ml-1"
|
|||||||
-
|
-
|
||||||
@endif
|
@endif
|
||||||
</x-td>
|
</x-td>
|
||||||
<x-td class="flex w-full justify-end">
|
<x-td class="text-right">
|
||||||
@if (in_array($file->status, [\App\Enums\BackupFileStatus::CREATED, \App\Enums\BackupFileStatus::RESTORED, \App\Enums\BackupFileStatus::RESTORE_FAILED]))
|
@if (in_array($file->status, [\App\Enums\BackupFileStatus::CREATED, \App\Enums\BackupFileStatus::RESTORED, \App\Enums\BackupFileStatus::RESTORE_FAILED]))
|
||||||
<x-icon-button
|
<x-icon-button
|
||||||
x-on:click="restoreAction = '{{ route('servers.databases.backups.files.restore', ['server' => $server, 'backup' => $backup, 'backupFile' => $file]) }}'; $dispatch('open-modal', 'restore-backup')"
|
x-on:click="restoreAction = '{{ route('servers.databases.backups.files.restore', ['server' => $server, 'backup' => $backup, 'backupFile' => $file]) }}'; $dispatch('open-modal', 'restore-backup')"
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
@include("databases.partials.backup-status", ["status" => $backup->status])
|
@include("databases.partials.backup-status", ["status" => $backup->status])
|
||||||
</div>
|
</div>
|
||||||
</x-td>
|
</x-td>
|
||||||
<x-td class="flex w-full justify-end">
|
<x-td class="text-right">
|
||||||
<x-icon-button
|
<x-icon-button
|
||||||
:href="route('servers.databases.backups', ['server' => $server, 'backup' => $backup])"
|
:href="route('servers.databases.backups', ['server' => $server, 'backup' => $backup])"
|
||||||
>
|
>
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
@include("databases.partials.database-status", ["status" => $database->status])
|
@include("databases.partials.database-status", ["status" => $database->status])
|
||||||
</div>
|
</div>
|
||||||
</x-td>
|
</x-td>
|
||||||
<x-td class="flex w-full justify-end">
|
<x-td class="text-right">
|
||||||
<x-icon-button
|
<x-icon-button
|
||||||
x-on:click="deleteAction = '{{ route('servers.databases.destroy', ['server' => $server, 'database' => $database]) }}'; $dispatch('open-modal', 'delete-database')"
|
x-on:click="deleteAction = '{{ route('servers.databases.destroy', ['server' => $server, 'database' => $database]) }}'; $dispatch('open-modal', 'delete-database')"
|
||||||
>
|
>
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
@include("databases.partials.database-user-status", ["status" => $databaseUser->status])
|
@include("databases.partials.database-user-status", ["status" => $databaseUser->status])
|
||||||
</div>
|
</div>
|
||||||
</x-td>
|
</x-td>
|
||||||
<x-td class="flex w-full justify-end">
|
<x-td class="text-right">
|
||||||
<x-icon-button
|
<x-icon-button
|
||||||
x-on:click="$dispatch('open-modal', 'database-user-password'); document.getElementById('txt-database-user-password').value = 'Loading...';"
|
x-on:click="$dispatch('open-modal', 'database-user-password'); document.getElementById('txt-database-user-password').value = 'Loading...';"
|
||||||
hx-post="{{ route('servers.databases.users.password', ['server' => $server, 'databaseUser' => $databaseUser]) }}"
|
hx-post="{{ route('servers.databases.users.password', ['server' => $server, 'databaseUser' => $databaseUser]) }}"
|
||||||
|
@ -49,7 +49,7 @@
|
|||||||
<x-td>
|
<x-td>
|
||||||
<x-datetime :value="$log->created_at" />
|
<x-datetime :value="$log->created_at" />
|
||||||
</x-td>
|
</x-td>
|
||||||
<x-td class="flex w-full justify-end">
|
<x-td class="text-right">
|
||||||
<x-icon-button
|
<x-icon-button
|
||||||
x-on:click="$dispatch('open-modal', 'show-log'); document.getElementById('log-content').firstChild.innerHTML = '';"
|
x-on:click="$dispatch('open-modal', 'show-log'); document.getElementById('log-content').firstChild.innerHTML = '';"
|
||||||
hx-get="{{ route('servers.logs.show', ['server' => $server, 'serverLog' => $log->id]) }}"
|
hx-get="{{ route('servers.logs.show', ['server' => $server, 'serverLog' => $log->id]) }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user