Add 2026 calendar page and admin CMS backend, update map and member pages
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
document.querySelector('[data-sidebar-toggle]')?.addEventListener('click', function () {
|
||||
document.querySelector('#admin-sidebar')?.classList.toggle('is-open');
|
||||
});
|
||||
|
||||
document.querySelectorAll('form[data-confirm]').forEach(function (form) {
|
||||
form.addEventListener('submit', function (event) {
|
||||
if (!window.confirm(form.dataset.confirm || '確定執行?')) event.preventDefault();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user