Browse Source

Changes in mobile screen registration form

master
Hariprasath S 1 month ago
parent
commit
b67d06387d
  1. 14
      src/main/resources/templates/index.html
  2. 14
      src/main/resources/templates/index_tamil.html

14
src/main/resources/templates/index.html

@ -2335,20 +2335,16 @@
function successPopup(id) {
$("#submitBtn").prop("disabled", true);
$("#submitBtn").prop("disabled", true);
Swal.fire({
title: "Good job!",
text: "Thank you for registering as a volunteer \nwith the Greater Chennai Corporation for monsoon support! \nYour registration is successful, and your reference number is [GCC-" + id + "]. \nYou will be contacted once the final listing is complete and deployment details \nare confirmed. Together, we can help Chennai stay safe this monsoon",
icon: "success",
allowOutsideClick: false,
allowEscapeKey: false,
allowEnterKey: false
}).then((result) => {
if (result.isConfirmed) {
window.location.href = "https://chennaicorporation.gov.in/gcc/"; // Redirect to the desired URL
}
});
showConfirmButton: false
}).then(() => {
location.reload();
});
}
//script for otp

14
src/main/resources/templates/index_tamil.html

@ -2314,20 +2314,16 @@ error: function (xhr) {
function successPopup(id) {
$("#submitBtn").prop("disabled", true);
$("#submitBtn").prop("disabled", true);
Swal.fire({
title: "Good job!",
text: "Thank you for registering as a volunteer \nwith the Greater Chennai Corporation for monsoon support! \nYour registration is successful, and your reference number is [GCC-" + id + "]. \nYou will be contacted once the final listing is complete and deployment details \nare confirmed. Together, we can help Chennai stay safe this monsoon",
icon: "success",
allowOutsideClick: false,
allowEscapeKey: false,
allowEnterKey: false
}).then((result) => {
if (result.isConfirmed) {
window.location.href = "https://chennaicorporation.gov.in/gcc/"; // Redirect to the desired URL
}
});
showConfirmButton: false
}).then(() => {
location.reload();
});
}
//script for otp

Loading…
Cancel
Save