Point Docker and Coolify compose to the Laravel rebuild app so mahasiswa, dosen, and admin flows are served from the new Laravel public entrypoint.
37 lines
2.3 KiB
PHP
37 lines
2.3 KiB
PHP
<x-dosen.partials.page-shell :title="$title" :sidebar="$sidebar" :page-title="$pageTitle" :page-description="$pageDescription" :page-date="$pageDate" :user="$user">
|
|
<section class="rounded-xl border border-[#E5E7EB] bg-white p-6 shadow-[0_8px_12px_rgba(13,10,44,0.04)]">
|
|
<div class="overflow-x-auto">
|
|
<table class="min-w-[1100px] divide-y divide-[#E5E7EB] text-sm">
|
|
<thead>
|
|
<tr class="text-left text-[#6B7280]">
|
|
<th class="w-[220px] px-4 py-3 font-semibold">Mahasiswa</th>
|
|
<th class="w-[420px] px-4 py-3 font-semibold">Judul Usulan</th>
|
|
<th class="w-[160px] px-4 py-3 font-semibold">Periode</th>
|
|
<th class="w-[180px] px-4 py-3 font-semibold">Tanggal</th>
|
|
<th class="w-[140px] px-4 py-3 font-semibold">Status</th>
|
|
<th class="w-[140px] px-4 py-3 font-semibold">Aksi</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="divide-y divide-[#F1F5F9]">
|
|
@forelse ($reviews as $item)
|
|
<tr class="align-top">
|
|
<td class="px-4 py-4 text-[#374151]">{{ $item['mahasiswa'] }}</td>
|
|
<td class="px-4 py-4 font-medium leading-6 text-[#15171A]">{{ $item['judul'] }}</td>
|
|
<td class="px-4 py-4 text-[#374151]">{{ $item['periode'] }}</td>
|
|
<td class="px-4 py-4 text-[#374151]">{{ $item['tanggal'] }}</td>
|
|
<td class="px-4 py-4 text-[#374151]">{{ $item['status'] }}</td>
|
|
<td class="whitespace-nowrap px-4 py-4">
|
|
<a href="{{ $item['reviewHref'] }}" class="inline-flex rounded-md border border-[#D1D5DB] bg-white px-3 py-1.5 text-xs font-medium text-[#15171A] hover:bg-[#F9FAFB]">Lihat Review</a>
|
|
</td>
|
|
</tr>
|
|
@empty
|
|
<tr>
|
|
<td colspan="6" class="px-4 py-8 text-center text-[#6B7280]">Belum ada data review.</td>
|
|
</tr>
|
|
@endforelse
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</section>
|
|
</x-dosen.partials.page-shell>
|