style: fix typo title and message success
parent
d48cc19ce5
commit
958bbe8b19
|
|
@ -1,6 +1,5 @@
|
||||||
<div class="flex w-full flex-col items-end p-4">
|
<div class="flex w-full flex-col items-end p-4">
|
||||||
<button onclick="modal_add_surat_usulan.showModal()"
|
<button onclick="modal_add_surat_usulan.showModal()" class="btn btn-primary w-32 rounded-full text-white">
|
||||||
class="btn btn-primary w-32 rounded-full text-white">
|
|
||||||
<span class="icon icon-fill me-2">add</span>
|
<span class="icon icon-fill me-2">add</span>
|
||||||
Tambah
|
Tambah
|
||||||
</button>
|
</button>
|
||||||
|
|
@ -25,8 +24,7 @@
|
||||||
<dialog id="modal_add_surat_usulan" class="modal">
|
<dialog id="modal_add_surat_usulan" class="modal">
|
||||||
<div class="modal-box relative w-full max-w-md rounded-2xl shadow-lg">
|
<div class="modal-box relative w-full max-w-md rounded-2xl shadow-lg">
|
||||||
<!-- Close Button -->
|
<!-- Close Button -->
|
||||||
<label onclick="modal_add_surat_usulan.close()"
|
<label onclick="modal_add_surat_usulan.close()" class="btn btn-sm btn-circle btn-ghost absolute top-3 right-3">
|
||||||
class="btn btn-sm btn-circle btn-ghost absolute top-3 right-3">
|
|
||||||
✕
|
✕
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
|
|
@ -82,14 +80,14 @@
|
||||||
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
|
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
$('#btnSimpanSuratUsulan').on('click', function (e) {
|
$('#btnSimpanSuratUsulan').on('click', function (e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
||||||
modal_add_surat_usulan.close();
|
modal_add_surat_usulan.close();
|
||||||
|
|
||||||
Swal.fire({
|
Swal.fire({
|
||||||
title: 'Simpan Profil RW?',
|
title: 'Simpan Surat Susulan?',
|
||||||
text: "Pastikan semua data sudah benar.",
|
text: "Pastikan semua data sudah benar.",
|
||||||
icon: 'question',
|
icon: 'question',
|
||||||
showCancelButton: true,
|
showCancelButton: true,
|
||||||
|
|
@ -102,7 +100,7 @@
|
||||||
if (result.isConfirmed) {
|
if (result.isConfirmed) {
|
||||||
Swal.fire({
|
Swal.fire({
|
||||||
title: 'Berhasil!',
|
title: 'Berhasil!',
|
||||||
text: 'Profil RW berhasil disimpan.',
|
text: 'Surat Susulan berhasil disimpan.',
|
||||||
icon: 'success',
|
icon: 'success',
|
||||||
confirmButtonText: 'OK',
|
confirmButtonText: 'OK',
|
||||||
confirmButtonColor: '#22c55e'
|
confirmButtonColor: '#22c55e'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue