File tree Expand file tree Collapse file tree 5 files changed +45
-7
lines changed Expand file tree Collapse file tree 5 files changed +45
-7
lines changed Original file line number Diff line number Diff line change 1
1
{
2
+ "Quick Actions" : " الاختصارات" ,
2
3
"Current Team" : " الفريق الحالي" ,
3
4
"Manage Team" : " إدارة الفريق" ,
4
5
"Team Settings" : " إعدادات الفريق" ,
Original file line number Diff line number Diff line change 1
1
{
2
+ "Quick Actions" : " Quick Actions" ,
2
3
"Current Team" : " Current Team" ,
3
4
"Manage Team" : " Manage Team" ,
4
5
"Team Settings" : " Team Settings" ,
Original file line number Diff line number Diff line change 1
1
<div {{ $attributes -> class ([
2
- " relative rounded-xl bg-white p-6 shadow-sm border border-zinc-100 dark:border-zinc-800 dark:bg-zinc-900 dark:ring-white/10"
2
+ " relative rounded-xl bg-white p-6 shadow-sm border border-zinc-100 dark:border-zinc-700 dark:bg-zinc-800 dark:ring-white/10"
3
3
]) } } >
4
4
<div class =" flex justify-between gap-4" >
5
5
<div >
Original file line number Diff line number Diff line change @@ -89,8 +89,46 @@ class="
89
89
@endforeach
90
90
</div >
91
91
92
- {{-- <x-tomato-admin-dropdown-item type="button" icon="bx bxs-moon" @click.prevent="data.dark = !data.dark; $splade.refresh()" :label="trans('tomato-admin::global.dark')"/>--}}
93
- {{-- <x-tomato-admin-dropdown-item type="link" method="POST" icon="bx bx-globe" :href="route('admin.lang')" :label="trans('tomato-admin::global.translation')"/>--}}
92
+
93
+
94
+ @if (count (\TomatoPHP \TomatoAdmin \Facade \TomatoSlot:: getNavBeforeUserDropdown ()) )
95
+ {{-- Dark Mode Button --}}
96
+ <div >
97
+ <div class =" filament-notifications pointer-events-none fixed inset-4 z-50 mx-auto flex justify-end gap-3 items-end flex-col-reverse" role =" status" >
98
+ </div >
99
+
100
+ <!-- Notifications -->
101
+ <div >
102
+ <!-- Open Notification Modal -->
103
+ <div
104
+ title =" filament::layout.database_notifications"
105
+ type =" button"
106
+ class =" text-center border border-zinc-100 dark:border-zinc-700 filament-icon-button flex items-center justify-center rounded-full relative hover:bg-zinc-500/5 focus:outline-none text-primary-500 focus:bg-primary-500/10 dark:hover:bg-zinc-300/5 w-8 h-8 ml-4 -mr-1" >
107
+ <span class =" sr-only" >
108
+
109
+ </span >
110
+
111
+ <x-tomato-admin-dropdown >
112
+ <x-slot:button >
113
+ <x-tomato-admin-tooltip text =" {{ __ (' Quick Actions' ) } }" >
114
+ <div class =" text-center flex flex-col item-center justify-center" >
115
+ <div >
116
+ <i class =" bx bx-plus-circle mt-1" ></i >
117
+ </div >
118
+ </div >
119
+ </x-tomato-admin-tooltip >
120
+ </x-slot:button >
121
+
122
+ @foreach (\TomatoPHP \TomatoAdmin \Facade \TomatoSlot:: getNavBeforeUserDropdown () as $item )
123
+ @include ($item )
124
+ @endforeach
125
+ </x-tomato-admin-dropdown >
126
+ </div >
127
+ </div >
128
+
129
+ <div ></div >
130
+ </div >
131
+ @endif
94
132
95
133
{{-- Dark Mode Button --}}
96
134
<div >
@@ -201,9 +239,7 @@ class="border border-zinc-100 dark:border-zinc-700 filament-icon-button flex ite
201
239
<div ></div >
202
240
</div >
203
241
@endif
204
- @foreach (\TomatoPHP \TomatoAdmin \Facade \TomatoSlot:: getNavBeforeUserDropdown () as $item )
205
- @include ($item )
206
- @endforeach
242
+
207
243
208
244
<x-tomato-admin-profile-dropdown />
209
245
Original file line number Diff line number Diff line change 4
4
@include ($item )
5
5
@endforeach
6
6
<!-- Dashboard Widgets -->
7
- <div class =" grid grid-cols-1 gap-4 mb-6 filament-widgets-container md:grid-cols-2 lg:grid-cols-2 lg:gap-8 " >
7
+ <div class =" grid grid-cols-1 gap-4 filament-widgets-container md:grid-cols-2 lg:grid-cols-2" >
8
8
@php
9
9
$hasWidgets = \TomatoPHP \TomatoAdmin \Services \TomatoWidget:: get ();
10
10
@endphp
You can’t perform that action at this time.
0 commit comments