commit 21/01/2026

This commit is contained in:
2026-01-21 17:19:19 +07:00
parent 38f3fd54b7
commit 34cf8c97df
24 changed files with 495 additions and 42 deletions

13
html/assets/js/login.js Normal file
View File

@@ -0,0 +1,13 @@
$(document).ready(function() {
// Your code here
console.log("login.js is loaded and ready.");
const params = new URLSearchParams(window.location.search);
if (params.get("error")) {
alert("Login failed. Please try again.");
}
});
$(window).on('beforeunload', function() {
console.log("User is leaving login.html");
// Your cleanup code here
});