Redesign SFTP workspace and fix server monitoring

Replace Bootstrap dependencies with custom blue-accented light and dark themes and native dialogs.

Share the sidebar, top bar and responsive layout across file browsing, account settings, user management, server statistics and file previews. Add folder search, type filters, upload progress and asset cache versioning.

Fix SSH configuration usage, filesystem discovery, missing statistics and RAID health parsing. Adapt PDF sizing and fullscreen controls to the shared workspace.

Validation: PHP workspace and server statistics regression tests, JavaScript syntax checks, responsive browser checks and live XAMPP navigation.
This commit is contained in:
Michal Sedlák
2026-10-16 10:20:55 +02:00
parent d15fb27fd1
commit 565fd18379
26 changed files with 1058 additions and 1964 deletions
+10
View File
@@ -0,0 +1,10 @@
// Native dialogs supply focus containment, Escape and focus restoration.
document.addEventListener('click', event => {
const trigger = event.target.closest('[data-dialog]');
if (trigger) document.getElementById(trigger.dataset.dialog)?.showModal();
if (event.target.closest('[data-dialog-close]')) event.target.closest('dialog')?.close();
if (event.target instanceof HTMLDialogElement) {
const rect = event.target.getBoundingClientRect();
if (event.clientX < rect.left || event.clientX > rect.right || event.clientY < rect.top || event.clientY > rect.bottom) event.target.close();
}
});