From 51451824ba2ebe31df3090f06a5a89aa16a1a741 Mon Sep 17 00:00:00 2001 From: wartana Date: Thu, 22 Jan 2026 08:53:47 +0800 Subject: [PATCH] Replace all confirmation dialogs with SweetAlert2 - Replace native confirm() with SweetAlert2 for better UX - Add custom confirmation functions for logout and delete actions - Fix HTML syntax errors ( to ) in all data tables - Use consistent styling with cancel/confirm buttons - All confirmations now have 'Konfirmasi Hapus'/'Konfirmasi Logout' titles --- admin/datang/data_datang.php | 31 +++++++++++++++++++++++++------ admin/kartu/anggota.php | 31 +++++++++++++++++++++++++------ admin/lahir/data_lahir.php | 31 +++++++++++++++++++++++++------ admin/mendu/data_mendu.php | 31 +++++++++++++++++++++++++------ admin/pengguna/data_pengguna.php | 31 +++++++++++++++++++++++++------ admin/pindah/data_pindah.php | 31 +++++++++++++++++++++++++------ index.php | 20 +++++++++++++++++++- 7 files changed, 169 insertions(+), 37 deletions(-) diff --git a/admin/datang/data_datang.php b/admin/datang/data_datang.php index 65d1079..37f3467 100644 --- a/admin/datang/data_datang.php +++ b/admin/datang/data_datang.php @@ -56,10 +56,10 @@ class="btn btn-success btn-sm"> - - + @@ -68,7 +68,26 @@ ?> - - - - \ No newline at end of file + + + + + \ No newline at end of file diff --git a/admin/kartu/anggota.php b/admin/kartu/anggota.php index 6550e90..1dc6c3b 100644 --- a/admin/kartu/anggota.php +++ b/admin/kartu/anggota.php @@ -125,7 +125,7 @@ - @@ -135,11 +135,30 @@ - - - - - + + + + + + - - \ No newline at end of file + + + + + \ No newline at end of file diff --git a/admin/mendu/data_mendu.php b/admin/mendu/data_mendu.php index 617bbe5..f0ee18f 100644 --- a/admin/mendu/data_mendu.php +++ b/admin/mendu/data_mendu.php @@ -56,10 +56,10 @@ class="btn btn-success btn-sm"> - - + @@ -68,7 +68,26 @@ ?> - - - - \ No newline at end of file + + + + + \ No newline at end of file diff --git a/admin/pengguna/data_pengguna.php b/admin/pengguna/data_pengguna.php index 2209a69..4d118e4 100644 --- a/admin/pengguna/data_pengguna.php +++ b/admin/pengguna/data_pengguna.php @@ -52,10 +52,10 @@ class="btn btn-success btn-sm"> - - + @@ -64,7 +64,26 @@ ?> - - - - \ No newline at end of file + + + + + \ No newline at end of file diff --git a/admin/pindah/data_pindah.php b/admin/pindah/data_pindah.php index a12c2a0..7540504 100644 --- a/admin/pindah/data_pindah.php +++ b/admin/pindah/data_pindah.php @@ -56,10 +56,10 @@ class="btn btn-success btn-sm"> - - + @@ -68,7 +68,26 @@ ?> - - - - \ No newline at end of file + + + + + \ No newline at end of file diff --git a/index.php b/index.php index 107dfca..eb29d74 100644 --- a/index.php +++ b/index.php @@ -483,7 +483,7 @@ ?>