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:
2026-07-30 14:32:51 +08:00
co-authored by Claude Sonnet 5
parent 17856bd9c3
commit 6dd5a2f0b7
26 changed files with 2965 additions and 370 deletions
+9
View File
@@ -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();
});
});