style: Menghilangkan akun demo dari halaman login kemiskinan

This commit is contained in:
2026-06-11 14:50:30 +07:00
parent 7a6d552bad
commit 10b62c6560
+1 -9
View File
@@ -223,15 +223,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
Belum punya akun? <a href="register.php" class="font-semibold text-primary hover:underline">Daftar sekarang</a>
</div>
<?php if ($show_demo === 1): ?>
<!-- Inline Demo Accounts -->
<div class="mt-5 flex items-center justify-center gap-2 text-xs">
<span class="font-medium text-muted-foreground">Isi Cepat Demo:</span>
<button type="button" onclick="fillDemo('admin', 'password')" class="rounded bg-rose-100 px-2 py-1 font-semibold text-rose-700 transition hover:bg-rose-200">👑 Admin</button>
<button type="button" onclick="fillDemo('petugas', 'password')" class="rounded bg-slate-100 px-2 py-1 font-semibold text-slate-700 transition hover:bg-slate-200">📝 Petugas</button>
<button type="button" onclick="fillDemo('guest', 'password')" class="rounded bg-slate-100 px-2 py-1 font-semibold text-slate-700 transition hover:bg-slate-200">👁️ Guest</button>
</div>
<?php endif; ?>
<!-- Akun demo telah dinonaktifkan -->
<p class="mt-8 text-center text-[10px] text-muted-foreground uppercase tracking-wider">
&copy; <script>document.write(new Date().getFullYear())</script> Kementerian Analisis Spasial