implementação de mudança de interface

Signed-off-by: Rodrigo Bertoldo de Sousa Martins <rodrigo.sousa.577@gmail.com>
This commit is contained in:
rodrigo committed 2026-03-30 09:53:11 -03:00
1 parent d445aa03cf
commit d4e1b297ae
24 files changed
+1982 -47

No files matched your search

+8 -2
View File
@@ -21,6 +21,10 @@ import { PermissionSet, UiConfig } from "../lib/types.ts";
import drawerComponent from "./drawer-component.ts";
import { render as renderOverlay } from "./overlay.ts";
import Expression from "../lib/common/expression.ts";
// --- BEGIN UNIFI THEME ---
import * as unifiDevicesPage from "./unifi-devices-page.ts";
import * as unifiDevicePage from "./unifi-device-detail-page.ts";
// --- END UNIFI THEME ---
declare global {
interface Window {
@@ -105,8 +109,10 @@ function pagify(pageName, page): RouteResolver {
m.route(document.body, "/overview", {
"/wizard": pagify("wizard", wizardPage),
"/overview": pagify("overview", overviewPage),
"/devices": pagify("devices", devicesPage),
"/devices/:id": pagify("devices", devicePage),
// --- BEGIN UNIFI THEME ---
"/devices": pagify("devices", unifiDevicesPage),
"/devices/:id": pagify("devices", unifiDevicePage),
// --- END UNIFI THEME ---
"/faults": pagify("faults", faultsPage),
"/presets": pagify("presets", presetsPage),
"/provisions": pagify("provisions", provisionsPage),