feat: add Admin and Settings menu with collapsible submenus and placeholder pages

This commit is contained in:
root
2026-07-25 10:00:07 +00:00
parent 1dac6df6e4
commit 4734fdea85
3 changed files with 82 additions and 1 deletions

View File

@@ -2,6 +2,12 @@
const API = '';
let currentChatId = null;
// Toggle collapsible nav sections (Admin, Settings)
function toggleNavSection(id) {
const el = document.getElementById(id);
if (el) el.style.display = el.style.display === 'none' ? 'block' : 'none';
}
// ============================================================
// NAVIGATION
// ============================================================