Skip to content

Commit

Permalink
update style
Browse files Browse the repository at this point in the history
  • Loading branch information
3x1io committed Apr 29, 2024
1 parent bad8dba commit 90cd261
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 9 additions & 2 deletions resources/views/backup/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
{{trans('tomato-admin::global.crud.create-new')}} {{trans('tomato-backup::global.title')}}
</x-tomato-admin-button>
</x-slot:buttons>
<x-slot:icon>
bx bxs-backpack
</x-slot:icon>


<div class="pb-12" v-cloak>
Expand All @@ -15,7 +18,9 @@
<x-splade-cell actions>
<div class="flex justify-start">
<a href="/admin/backup/{{ $item->id }}" title="{{trans('tomato-backup::global.download')}}" class="px-2 text-primary-500" target="_blank">
<x-heroicon-s-document-arrow-down class="h-6 w-6"/>
<x-tomato-admin-tooltip text="{{trans('tomato-backup::global.download')}}">
<x-heroicon-s-document-arrow-down class="h-6 w-6"/>
</x-tomato-admin-tooltip>
</a>
<x-tomato-admin-button
type="icon"
Expand All @@ -27,7 +32,9 @@
class="px-2 text-red-500"
method="delete"
>
<x-heroicon-s-trash class="h-6 w-6"/>
<x-tomato-admin-tooltip text="{{trans('tomato-admin::global.crud.delete')}}">
<x-heroicon-s-trash class="h-6 w-6"/>
</x-tomato-admin-tooltip>
</x-tomato-admin-button>
</div>
</x-splade-cell>
Expand Down
2 changes: 1 addition & 1 deletion src/Tables/BackupTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ public function configure(SpladeTable $table)
)
->export()
->defaultSort('id')
->column(key: 'actions',label: trans('tomato-roles::global.roles.actions'))
->column(key: "id",label: trans('tomato-backup::global.id'), sortable: true, hidden: true)
->column(key: "path",label: trans('tomato-backup::global.path'), sortable: true)
->column(key: 'disk', label: trans('tomato-backup::global.disk'), sortable: true)
->column(key: 'size', label: trans('tomato-backup::global.size'), sortable: true)
->column(key: 'date', label: trans('tomato-backup::global.date'), sortable: true)
->column(key: 'actions',label: trans('tomato-roles::global.roles.actions'))
->paginate(15);
}
}

0 comments on commit 90cd261

Please sign in to comment.