Remove PDF from tugas, fix operator login
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user