From 8485e92aaa0927a1b6d7d27db8e3a828d40a143c Mon Sep 17 00:00:00 2001 From: Yoga Pangestu Date: Tue, 31 Mar 2026 20:29:15 +0700 Subject: [PATCH] refactor: enhance attendance modal layout with sticky headers and improved styling --- .../class-sessions/attendance-modal.blade.php | 68 +++++++++---------- 1 file changed, 33 insertions(+), 35 deletions(-) diff --git a/resources/views/filament/resources/learning/class-sessions/attendance-modal.blade.php b/resources/views/filament/resources/learning/class-sessions/attendance-modal.blade.php index dec2100..eba0b44 100644 --- a/resources/views/filament/resources/learning/class-sessions/attendance-modal.blade.php +++ b/resources/views/filament/resources/learning/class-sessions/attendance-modal.blade.php @@ -2,9 +2,9 @@ @forelse ($attendances as $attendance) @if ($loop->first)
- - + class="fi-ta-content overflow-x-auto overflow-y-auto max-h-96 rounded-xl border border-gray-200 dark:border-gray-700 bg-white dark:bg-gray-900"> +
+ @@ -12,37 +12,35 @@ class="fi-ta-content overflow-x-auto rounded-xl border border-gray-200 dark:bord @endif - - - - + + + + @if ($loop->last) - -
Mahasiswa Waktu Presensi
-
- {{ $attendance->student->full_name }} - NIM: - {{ $attendance->student->student_number }} -
-
- - {{ $attendance->attended_at?->format('H:i') }} - -
+
+ {{ $attendance->student->full_name }} + NIM: + {{ $attendance->student->student_number }} +
+
+ + {{ $attendance->attended_at?->format('H:i') }} + +
-
-
-

- Total Kehadiran: {{ $loop->count }} - Mahasiswa -

-
- @endif - @empty - - - @endforelse + + + +
+

+ Total Kehadiran: {{ $loop->count }} + Mahasiswa +

+
+@endif +@empty + + +@endforelse