feat: add school management auth and student CRUD UI
This commit is contained in:
1
static/css/style.css
Normal file
1
static/css/style.css
Normal file
File diff suppressed because one or more lines are too long
16
static/js/app.js
Normal file
16
static/js/app.js
Normal file
@@ -0,0 +1,16 @@
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
document.querySelectorAll('.delete-action').forEach((link) => {
|
||||
link.addEventListener('click', (event) => {
|
||||
if (!window.confirm('آیا از حذف این پرونده مطمئن هستید؟')) {
|
||||
event.preventDefault();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
document.querySelectorAll('.message').forEach((message) => {
|
||||
window.setTimeout(() => {
|
||||
message.style.transition = 'opacity .3s ease';
|
||||
message.style.opacity = '0';
|
||||
}, 3500);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user