File tree Expand file tree Collapse file tree
resources/views/components/stats Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616<div class =" p-6 min-h-[400px] flex flex-col" >
1717 <div class =" flex items-center justify-between mb-4" >
1818 <h3 class =" text-lg font-semibold text-gray-900" >{{ $primaryLabel } } </h3 >
19- <div class =" flex items-center gap-3" >
20- @if ($showViewAll && count ($allItems ) > 0 )
21- <button
22- type =" button"
23- onclick =" openModal('{{ $modalId } } ')"
24- class =" text-xs font-medium text-blue-600 hover:text-blue-800 transition-colors duration-150"
25- >
26- View All
27- </button >
28- @endif
29- <span class =" text-sm font-medium text-gray-500" >{{ $secondaryLabel } } </span >
30- </div >
19+ <span class =" text-sm font-medium text-gray-500" >{{ $secondaryLabel } } </span >
3120 </div >
3221 <div class =" flex-1 flex flex-col space-y-3" >
3322 {{ $slot } }
@@ -37,6 +26,17 @@ class="text-xs font-medium text-blue-600 hover:text-blue-800 transition-colors d
3726 {{ $footer } }
3827 </div >
3928 @endif
29+ @if ($showViewAll && count ($allItems ) > 0 )
30+ <div class =" mt-4 pt-4 border-t border-gray-100 flex justify-center" >
31+ <button
32+ type =" button"
33+ onclick =" openModal('{{ $modalId } } ')"
34+ class =" text-xs font-medium text-blue-600 hover:text-blue-800 transition-colors duration-150"
35+ >
36+ View All
37+ </button >
38+ </div >
39+ @endif
4040</div >
4141
4242@if ($showViewAll && count ($allItems ) > 0 )
You can’t perform that action at this time.
0 commit comments