Deploy Laravel rebuild via Coolify
Point Docker and Coolify compose to the Laravel rebuild app so mahasiswa, dosen, and admin flows are served from the new Laravel public entrypoint.
This commit is contained in:
34
rebuild/resources/views/dosen/pages/cari.blade.php
Normal file
34
rebuild/resources/views/dosen/pages/cari.blade.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<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)]">
|
||||
<form method="GET" class="grid gap-4 lg:grid-cols-[220px_minmax(0,1fr)_120px]">
|
||||
<select name="by" class="template-input">
|
||||
<option value="nim" @selected($searchBy === 'nim')>NIM</option>
|
||||
<option value="judul" @selected($searchBy === 'judul')>Judul Praoutline</option>
|
||||
<option value="dosen" @selected($searchBy === 'dosen')>Pembimbing/Penguji</option>
|
||||
</select>
|
||||
<input type="text" name="q" value="{{ $keyword }}" class="template-input" placeholder="Cari...">
|
||||
<button type="submit" class="template-button-dark">Cari</button>
|
||||
</form>
|
||||
|
||||
<div class="mt-6 space-y-4">
|
||||
@if ($keyword !== '' && $results === [])
|
||||
<div class="rounded-xl border border-dashed border-[#D1D5DB] bg-[#F9FAFB] p-6 text-center text-[#6B7280]">Tidak ada hasil untuk `{{ $keyword }}`.</div>
|
||||
@endif
|
||||
|
||||
@foreach ($results as $item)
|
||||
<article class="rounded-xl border border-[#E5E7EB] bg-[#F9FAFB] p-5">
|
||||
<h3 class="text-lg font-semibold text-[#15171A]">{{ $item['judul'] }}</h3>
|
||||
<p class="mt-2 text-sm text-[#4B5563]">{{ $item['deskripsi'] }}</p>
|
||||
<div class="mt-3 flex flex-wrap gap-3 text-sm text-[#6B7280]">
|
||||
<span>{{ $item['mahasiswa'] }}</span>
|
||||
<span>{{ $item['tanggal'] }}</span>
|
||||
<span>{{ $item['status'] }}</span>
|
||||
</div>
|
||||
<div class="mt-4">
|
||||
<a href="{{ $item['reviewHref'] }}" class="rounded-md bg-[#15171A] px-3 py-2 text-xs font-medium text-white hover:opacity-90">Buka Review</a>
|
||||
</div>
|
||||
</article>
|
||||
@endforeach
|
||||
</div>
|
||||
</section>
|
||||
</x-dosen.partials.page-shell>
|
||||
Reference in New Issue
Block a user