Commit awal: prototipe UI SIAKAD Untan

This commit is contained in:
Ariyutta
2026-10-24 11:45:32 +07:00
commit d9b9cb5c0f
477 changed files with 51958 additions and 0 deletions
+39
View File
@@ -0,0 +1,39 @@
<x-layouts.app title="Jadwal ujian">
<x-ui.page-header title="Jadwal ujian" :description="'Ujian tengah dan akhir semester '.$tahun.'.'" />
<div class="stack">
<x-ui.tabs label="Jenis ujian">
<x-ui.tab :href="route('operator.ujian', ['jenis' => 'uts'])" :active="$jenis === 'UTS'">Ujian tengah semester</x-ui.tab>
<x-ui.tab :href="route('operator.ujian', ['jenis' => 'uas'])" :active="$jenis === 'UAS'">Ujian akhir semester</x-ui.tab>
</x-ui.tabs>
<x-glass.panel padding="none">
<x-ui.table :label="'Jadwal '.$jenis">
<table class="table">
<thead>
<tr>
<th scope="col">Mata kuliah</th>
<th scope="col">Tanggal</th>
<th scope="col">Jam</th>
<th scope="col">Ruang</th>
<th scope="col" class="num">Peserta</th>
<th scope="col">Pengawas</th>
</tr>
</thead>
<tbody>
@foreach ($rows as $u)
<tr>
<td class="table__title">{{ $u['matkul'] }} ({{ $u['kelas'] }})<div class="table__meta">{{ $u['kode'] }}</div></td>
<td>{{ \Illuminate\Support\Carbon::parse($u['tanggal'])->locale('id')->isoFormat('dddd, D MMM YYYY') }}</td>
<td>{{ $u['jam'] }}</td>
<td>{{ $u['ruang'] }}</td>
<td class="num">{{ $u['peserta'] }}</td>
<td>{{ $u['pengawas'] }}</td>
</tr>
@endforeach
</tbody>
</table>
</x-ui.table>
</x-glass.panel>
</div>
</x-layouts.app>