feat: #48 collapsible nav in all 3 panels; #50 post-restore automation script

- nova.js: _initCollapsibleNav() exposed as window._initCollapsibleNav
- user.js + reseller.js: call _initCollapsibleNav after renderNav()
- deploy/novacpx-post-restore.sh: fixes config.ini, pools, vhost, dashboard

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LP9Q4kfCAYAjJnsbHBrViZ
This commit is contained in:
2026-06-22 04:07:00 +00:00
parent 3684f7c6c2
commit 7b11439f9c
4 changed files with 134 additions and 8 deletions
+2 -1
View File
@@ -985,7 +985,7 @@ function renderNav() {
</a>`).join('')}
</div>`).join('');
nav.querySelectorAll('[data-page]').forEach(link => {
nav.querySelectorAll("[data-page]").forEach(link => {
link.addEventListener('click', e => {
e.preventDefault();
if (window.innerWidth <= 768) {
@@ -996,6 +996,7 @@ function renderNav() {
userNav(link.dataset.page);
});
});
if (typeof _initCollapsibleNav === 'function') _initCollapsibleNav();
}
window.userNav = (page) => {