bps-rw/Views/ProfilRw/_TabIndexBpsRw.cshtml

116 lines
5.9 KiB
Plaintext

<div class="p-8">
<form class="w-full">
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6">
<!-- Left Column -->
<div class="space-y-5">
<fieldset class="fieldset">
<legend class="fieldset-legend font-medium text-gray-700">Nama Ketua Bidang</legend>
<input type="text" placeholder="Masukkan nama ketua bidang" class="input input-bordered w-full bg-white">
</fieldset>
<fieldset class="fieldset">
<legend class="fieldset-legend font-medium text-gray-700">Nama Seksi Operasional 1</legend>
<input type="text" placeholder="Masukkan nama seksi operasional 1" class="input input-bordered w-full bg-white">
</fieldset>
<fieldset class="fieldset">
<legend class="fieldset-legend font-medium text-gray-700">Nama Seksi Operasional 2</legend>
<input type="text" placeholder="Masukkan nama seksi operasional 2" class="input input-bordered w-full bg-white">
</fieldset>
<fieldset class="fieldset">
<legend class="fieldset-legend font-medium text-gray-700">Nama Seksi Sosialisasi & Pengawasan 1</legend>
<input type="text" placeholder="Masukkan nama seksi sosialisasi & pengawasan 1" class="input input-bordered w-full bg-white">
</fieldset>
<fieldset class="fieldset">
<legend class="fieldset-legend font-medium text-gray-700">Nama Seksi Sosialisasi & Pengawasan 2</legend>
<input type="text" placeholder="Masukkan nama seksi sosialisasi & pengawasan 2" class="input input-bordered w-full bg-white">
</fieldset>
<fieldset class="fieldset">
<legend class="fieldset-legend font-medium text-gray-700">Nama PJLP Pendamping</legend>
<input type="text" placeholder="Masukkan nama PJLP pendamping" class="input input-bordered w-full bg-white">
</fieldset>
<fieldset class="fieldset">
<legend class="fieldset-legend font-medium text-gray-700">Nama Supervisor Pendamping</legend>
<input type="text" placeholder="Masukkan nama supervisor pendamping" class="input input-bordered w-full bg-white">
</fieldset>
</div>
<!-- Right Column -->
<div class="space-y-5">
<fieldset class="fieldset">
<legend class="fieldset-legend font-medium text-gray-700">Nomor WA Ketua Bidang</legend>
<input type="tel" placeholder="Masukkan nomor WA" class="input input-bordered w-full bg-white">
</fieldset>
<fieldset class="fieldset">
<legend class="fieldset-legend font-medium text-gray-700">Nomor Seksi Operasional 1</legend>
<input type="tel" placeholder="Masukkan nomor seksi operasional 1" class="input input-bordered w-full bg-white">
</fieldset>
<fieldset class="fieldset">
<legend class="fieldset-legend font-medium text-gray-700">Nomor WA Seksi Operasional 2</legend>
<input type="tel" placeholder="Masukkan nomor WA seksi operasional 2" class="input input-bordered w-full bg-white">
</fieldset>
<fieldset class="fieldset">
<legend class="fieldset-legend font-medium text-gray-700">Nomor WA Seksi Sosialisasi & Pengawasan 1</legend>
<input type="tel" placeholder="Masukkan nomor WA seksi sosialisasi & pengawasan 1" class="input input-bordered w-full bg-white">
</fieldset>
<fieldset class="fieldset">
<legend class="fieldset-legend font-medium text-gray-700">Nomor WA Seksi Sosialisasi & Pengawasan 2</legend>
<input type="tel" placeholder="Masukkan nomor WA seksi sosialisasi & pengawasan 2" class="input input-bordered w-full bg-white">
</fieldset>
<fieldset class="fieldset">
<legend class="fieldset-legend font-medium text-gray-700">Nomor WA PJLP Pendamping</legend>
<input type="tel" placeholder="Masukkan nomor WA PJLP pendamping" class="input input-bordered w-full bg-white">
</fieldset>
<fieldset class="fieldset">
<legend class="fieldset-legend font-medium text-gray-700">Nomor WA Supervisor Pendamping</legend>
<input type="tel" placeholder="Masukkan nomor WA supervisor pendamping" class="input input-bordered w-full bg-white">
</fieldset>
</div>
</div>
<!-- Submit Button -->
<div class="flex justify-end mt-10">
<button id="btnSimpanBpsRw" type="submit" class="btn btn-success text-white rounded-full px-16">
Simpan
</button>
</div>
</form>
</div>
<script type="text/javascript">
$(document).ready(function () {
$('#btnSimpanBpsRw').on('click', function (e) {
e.preventDefault();
Swal.fire({
title: 'Simpan BPS-RW?',
text: "Pastikan semua data sudah benar.",
icon: 'question',
showCancelButton: true,
confirmButtonColor: '#22c55e',
cancelButtonColor: '#6b7280',
confirmButtonText: 'Simpan',
cancelButtonText: 'Batal'
}).then((result) => {
if (result.isConfirmed) {
Swal.fire({
title: 'Berhasil!',
text: 'Data BPS-RW berhasil disimpan.',
icon: 'success',
confirmButtonText: 'OK',
confirmButtonColor: '#22c55e'
});
}
});
});
});
</script>