- redesign the dashboard
- add search bar
- Mobile-friendly design
This commit is contained in:
Saeed Vaziry
2024-03-21 15:57:57 +01:00
committed by GitHub
parent 7949165648
commit d3aaf2a6fa
55 changed files with 1175 additions and 1009 deletions

View File

@ -21,7 +21,7 @@ class="ml-1"
<x-live id="live-backup-files">
@if (count($files) > 0)
<x-table class="mt-5">
<tr>
<x-tr>
<x-th>{{ __("Name") }}</x-th>
<x-th>{{ __("Created") }}</x-th>
{{-- <x-th>{{ __("Size") }}</x-th> --}}
@ -29,9 +29,9 @@ class="ml-1"
<x-th>{{ __("Restored") }}</x-th>
<x-th>{{ __("Restored To") }}</x-th>
<x-th></x-th>
</tr>
</x-tr>
@foreach ($files as $file)
<tr>
<x-tr>
<x-td>{{ $file->name }}</x-td>
<x-td>
<x-datetime :value="$file->created_at" />
@ -71,7 +71,7 @@ class="ml-1"
<x-heroicon name="o-trash" class="h-5 w-5" />
</x-icon-button>
</x-td>
</tr>
</x-tr>
@endforeach
</x-table>
<div class="mt-5">

View File

@ -13,15 +13,15 @@
<x-live id="live-backups">
@if (count($backups) > 0)
<x-table>
<tr>
<x-tr>
<x-th>{{ __("Database") }}</x-th>
<x-th>{{ __("Created") }}</x-th>
<x-th>{{ __("Storage") }}</x-th>
<x-th>{{ __("Status") }}</x-th>
<x-th></x-th>
</tr>
</x-tr>
@foreach ($backups as $backup)
<tr>
<x-tr>
<x-td>{{ $backup->database->name }}</x-td>
<x-td>
<x-datetime :value="$backup->created_at" />
@ -44,7 +44,7 @@
<x-heroicon name="o-trash" class="h-5 w-5" />
</x-icon-button>
</x-td>
</tr>
</x-tr>
@endforeach
</x-table>
@else

View File

@ -16,14 +16,14 @@
<x-live id="live-databases">
@if (count($databases) > 0)
<x-table>
<tr>
<x-tr>
<x-th>{{ __("Name") }}</x-th>
<x-th>{{ __("Created") }}</x-th>
<x-th>{{ __("Status") }}</x-th>
<x-th></x-th>
</tr>
</x-tr>
@foreach ($databases as $database)
<tr>
<x-tr>
<x-td>{{ $database->name }}</x-td>
<x-td>
<x-datetime :value="$database->created_at" />
@ -40,7 +40,7 @@
<x-heroicon name="o-trash" class="h-5 w-5" />
</x-icon-button>
</x-td>
</tr>
</x-tr>
@endforeach
</x-table>
@else

View File

@ -20,7 +20,7 @@
<x-live id="live-database-users">
@if (count($databaseUsers) > 0)
<x-table>
<tr>
<x-tr>
<x-th>{{ __("Username") }}</x-th>
<x-th>{{ __("Created") }}</x-th>
<x-th class="flex items-center">
@ -29,9 +29,9 @@
</x-th>
<x-th>{{ __("Status") }}</x-th>
<x-th></x-th>
</tr>
</x-tr>
@foreach ($databaseUsers as $databaseUser)
<tr>
<x-tr>
<x-td>{{ $databaseUser->username }}</x-td>
<x-td>
<x-datetime :value="$databaseUser->created_at" />
@ -63,7 +63,7 @@
<x-heroicon name="o-trash" class="h-5 w-5" />
</x-icon-button>
</x-td>
</tr>
</x-tr>
@endforeach
</x-table>
@else