Remove PDF from tugas, fix operator login

This commit is contained in:
Athallah Ghathfan Aqila
2026-06-12 20:18:21 +07:00
parent 1d3dc56a6c
commit c612742a7a
2 changed files with 2 additions and 8 deletions
-4
View File
@@ -54,9 +54,6 @@
<a href="index.php" class="btn btn-sm btn-light ms-2" title="Kembali ke Portal">
<i class="fas fa-home text-primary me-1"></i>Portal
</a>
<button class="btn btn-sm btn-light ms-1" onclick="exportPDF()" title="Export PDF">
<i class="fas fa-file-pdf text-danger me-1"></i>PDF
</button>
</div>
<div id="app">
@@ -729,7 +726,6 @@ function geolocate() {
showToast('Lokasi ditemukan!','success');
}, () => showToast('Gagal mendapatkan lokasi GPS','danger'));
}
function exportPDF() { window.open('export_pdf.php','_blank'); }
function showToast(msg, type='success') {
const colors = {success:'#22c55e', danger:'#ef4444', warning:'#f59e0b', info:'#3b82f6'};
const el = document.getElementById('toast-el');