style: Menghilangkan akun demo dari halaman login kemiskinan
This commit is contained in:
@@ -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>
|
Belum punya akun? <a href="register.php" class="font-semibold text-primary hover:underline">Daftar sekarang</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php if ($show_demo === 1): ?>
|
<!-- Akun demo telah dinonaktifkan -->
|
||||||
<!-- 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; ?>
|
|
||||||
|
|
||||||
<p class="mt-8 text-center text-[10px] text-muted-foreground uppercase tracking-wider">
|
<p class="mt-8 text-center text-[10px] text-muted-foreground uppercase tracking-wider">
|
||||||
© <script>document.write(new Date().getFullYear())</script> Kementerian Analisis Spasial
|
© <script>document.write(new Date().getFullYear())</script> Kementerian Analisis Spasial
|
||||||
|
|||||||
Reference in New Issue
Block a user