Placeholder for circuit page

This commit is contained in:
Herbert Wolverson 2023-05-11 13:08:14 +00:00
parent 51b7c257a6
commit 5c2ab0fdd6

View File

@ -1,5 +1,6 @@
import { AccessPointPage } from './ap/ap';
import { Auth } from './auth';
import { CircuitPage } from './circuit/circuit';
import { DashboardPage } from './dashboard/dashboard';
import { LoginPage } from './login/login';
import { Page } from './page';
@ -82,6 +83,11 @@ export class SiteRouter {
this.curentPage = new AccessPointPage(split[1]);
break;
}
case "circuit": {
this.currentAnchor = "circuit:" + split[1];
this.curentPage = new CircuitPage(split[1]);
break;
}
default: {
alert("I don't know how to go to: " + split[0].toLowerCase());
this.goto("dashboard");