Add presets page

This commit is contained in:
Shweelan Samson authored and Zaid Abdulla committed 2018-12-26 00:22:07 -08:00
1 parent c2d6c85e5d
commit 5a8d934239
8 files changed
+359 -3

No files matched your search

+3 -1
View File
@@ -10,6 +10,7 @@ import * as devicesPage from "./devices-page";
import * as devicePage from "./device-page";
import * as errorPage from "./error-page";
import * as faultsPage from "./faults-page";
import * as presetsPage from "./presets-page";
import Authorizer from "../common/authorizer";
import * as notifications from "./notifications";
@@ -78,5 +79,6 @@ m.route(document.body, "/overview", {
"/overview": pagify("overview", overviewPage),
"/devices": pagify("devices", devicesPage),
"/devices/:id": pagify("devices", devicePage),
"/faults": pagify("faults", faultsPage)
"/faults": pagify("faults", faultsPage),
"/presets": pagify("presets", presetsPage)
});