Skip to content

Commit 90cd261

Browse files
committed
update style
1 parent bad8dba commit 90cd261

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

resources/views/backup/index.blade.php

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
{{trans('tomato-admin::global.crud.create-new')}} {{trans('tomato-backup::global.title')}}
88
</x-tomato-admin-button>
99
</x-slot:buttons>
10+
<x-slot:icon>
11+
bx bxs-backpack
12+
</x-slot:icon>
1013

1114

1215
<div class="pb-12" v-cloak>
@@ -15,7 +18,9 @@
1518
<x-splade-cell actions>
1619
<div class="flex justify-start">
1720
<a href="/admin/backup/{{ $item->id }}" title="{{trans('tomato-backup::global.download')}}" class="px-2 text-primary-500" target="_blank">
18-
<x-heroicon-s-document-arrow-down class="h-6 w-6"/>
21+
<x-tomato-admin-tooltip text="{{trans('tomato-backup::global.download')}}">
22+
<x-heroicon-s-document-arrow-down class="h-6 w-6"/>
23+
</x-tomato-admin-tooltip>
1924
</a>
2025
<x-tomato-admin-button
2126
type="icon"
@@ -27,7 +32,9 @@
2732
class="px-2 text-red-500"
2833
method="delete"
2934
>
30-
<x-heroicon-s-trash class="h-6 w-6"/>
35+
<x-tomato-admin-tooltip text="{{trans('tomato-admin::global.crud.delete')}}">
36+
<x-heroicon-s-trash class="h-6 w-6"/>
37+
</x-tomato-admin-tooltip>
3138
</x-tomato-admin-button>
3239
</div>
3340
</x-splade-cell>

src/Tables/BackupTable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,12 @@ public function configure(SpladeTable $table)
6969
)
7070
->export()
7171
->defaultSort('id')
72-
->column(key: 'actions',label: trans('tomato-roles::global.roles.actions'))
7372
->column(key: "id",label: trans('tomato-backup::global.id'), sortable: true, hidden: true)
7473
->column(key: "path",label: trans('tomato-backup::global.path'), sortable: true)
7574
->column(key: 'disk', label: trans('tomato-backup::global.disk'), sortable: true)
7675
->column(key: 'size', label: trans('tomato-backup::global.size'), sortable: true)
7776
->column(key: 'date', label: trans('tomato-backup::global.date'), sortable: true)
77+
->column(key: 'actions',label: trans('tomato-roles::global.roles.actions'))
7878
->paginate(15);
7979
}
8080
}

0 commit comments

Comments
 (0)