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:
Power BI Dev
2026-05-03 18:50:29 +07:00
parent 89ce9d30a7
commit dab8ea396b
107 changed files with 17544 additions and 20 deletions

View File

@@ -0,0 +1,65 @@
<x-dosen.partials.page-shell :title="$title" :sidebar="$sidebar" :page-title="$pageTitle" :page-description="$pageDescription" :page-date="$pageDate" :user="$user">
<section class="grid gap-5 lg:grid-cols-[minmax(0,1.2fr)_minmax(320px,0.8fr)]">
<article class="rounded-xl border border-[#E5E7EB] bg-white p-6 shadow-[0_8px_12px_rgba(13,10,44,0.04)]">
<h3 class="text-xl font-semibold text-[#15171A]">Edit Profil</h3>
<form method="POST" action="{{ route('dosen.profile.update', [], false) }}" class="mt-5 space-y-5">
@csrf
@method('PUT')
<div class="grid gap-5 md:grid-cols-2">
<label class="block text-sm text-[#374151]">
<span class="mb-2 block font-medium text-[#15171A]">NIP</span>
<input type="text" value="{{ $profile->nip ?? '-' }}" class="template-input bg-[#F9FAFB]" readonly>
</label>
<label class="block text-sm text-[#374151]">
<span class="mb-2 block font-medium text-[#15171A]">Nama Lengkap</span>
<input type="text" name="nmLengkap" value="{{ old('nmLengkap', $profile->nmLengkap ?? '') }}" class="template-input @error('nmLengkap') border-rose-300 ring-rose-100 @enderror" required>
@error('nmLengkap')<p class="mt-2 text-xs text-rose-600">{{ $message }}</p>@enderror
</label>
<label class="block text-sm text-[#374151]">
<span class="mb-2 block font-medium text-[#15171A]">Email</span>
<input type="email" name="email" value="{{ old('email', $profile->email ?? '') }}" class="template-input @error('email') border-rose-300 ring-rose-100 @enderror">
@error('email')<p class="mt-2 text-xs text-rose-600">{{ $message }}</p>@enderror
</label>
<label class="block text-sm text-[#374151]">
<span class="mb-2 block font-medium text-[#15171A]">No Telp/HP</span>
<input type="text" name="nohp" value="{{ old('nohp', $profile->nohp ?? '') }}" class="template-input @error('nohp') border-rose-300 ring-rose-100 @enderror">
@error('nohp')<p class="mt-2 text-xs text-rose-600">{{ $message }}</p>@enderror
</label>
<label class="block text-sm text-[#374151]">
<span class="mb-2 block font-medium text-[#15171A]">Password Baru</span>
<input type="password" name="password" class="template-input @error('password') border-rose-300 ring-rose-100 @enderror" placeholder="Kosongkan jika tidak diubah">
@error('password')<p class="mt-2 text-xs text-rose-600">{{ $message }}</p>@enderror
</label>
<label class="block text-sm text-[#374151]">
<span class="mb-2 block font-medium text-[#15171A]">Konfirmasi Password</span>
<input type="password" name="password_again" class="template-input @error('password_again') border-rose-300 ring-rose-100 @enderror" placeholder="Ulangi password baru">
@error('password_again')<p class="mt-2 text-xs text-rose-600">{{ $message }}</p>@enderror
</label>
</div>
<div class="flex flex-wrap gap-3 border-t border-[#E5E7EB] pt-5">
<button type="submit" class="rounded-md bg-[#15171A] px-4 py-2.5 text-sm font-medium text-white hover:opacity-90">Simpan Perubahan</button>
</div>
</form>
</article>
<article class="rounded-xl border border-[#E5E7EB] bg-white p-6 shadow-[0_8px_12px_rgba(13,10,44,0.04)]">
<h3 class="text-xl font-semibold text-[#15171A]">Ringkasan Akun</h3>
<div class="mt-5 space-y-4 text-sm text-[#374151]">
<div><span class="font-semibold text-[#15171A]">NIP:</span> {{ $profile->nip ?? '-' }}</div>
<div><span class="font-semibold text-[#15171A]">Jenis Dosen:</span> {{ ($profile->jenis ?? 'D') === 'K' ? 'Ketua Program Studi' : 'Dosen' }}</div>
<div><span class="font-semibold text-[#15171A]">Status Akun:</span> {{ ($profile->status ?? 'N') === 'A' ? 'Aktif' : 'Nonaktif' }}</div>
<div><span class="font-semibold text-[#15171A]">Jabatan:</span> {{ $profile->jabatan ?: '-' }}</div>
</div>
<div class="mt-6 rounded-xl border border-[#E5E7EB] bg-[#F9FAFB] p-4 text-sm leading-7 text-[#4B5563]">
Perubahan foto profil belum dipindahkan ke rebuild. Saat ini yang sudah aktif native adalah pembaruan nama lengkap, email, nomor HP, dan password.
</div>
</article>
</section>
</x-dosen.partials.page-shell>