From 5fc052a3849b3ecf5cf8cc98a7be8dd697edcfab Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 6 Apr 2021 11:49:48 +0200 Subject: [PATCH] web: remove test page Signed-off-by: Jens Langhammer --- web/src/pages/TestPage.ts | 86 --------------------------------------- web/src/routes.ts | 3 -- 2 files changed, 89 deletions(-) delete mode 100644 web/src/pages/TestPage.ts diff --git a/web/src/pages/TestPage.ts b/web/src/pages/TestPage.ts deleted file mode 100644 index 00043f98b..000000000 --- a/web/src/pages/TestPage.ts +++ /dev/null @@ -1,86 +0,0 @@ -import { CSSResult, customElement, html, LitElement, TemplateResult } from "lit-element"; -import PFBase from "@patternfly/patternfly/patternfly-base.css"; -import PFForm from "@patternfly/patternfly/components/Form/form.css"; -import PFFormControl from "@patternfly/patternfly/components/FormControl/form-control.css"; -import AKGlobal from "../authentik.css"; -import PFButton from "@patternfly/patternfly/components/Button/button.css"; -import "../elements/forms/FormGroup"; - -@customElement("ak-test-page") -export class TestPage extends LitElement { - - static get styles(): CSSResult[] { - return [PFBase, PFForm, PFButton, PFFormControl, AKGlobal]; - } - - render(): TemplateResult { - return html`
-
-
- - -
-
- -
-
-
-
- - -
-
- -
-
- - - foo - -
-
-
- - -
-
- -
-
-
-
- - -
-
- -
-
-
-
-
`; - } - -} diff --git a/web/src/routes.ts b/web/src/routes.ts index 248b303ec..e3f909576 100644 --- a/web/src/routes.ts +++ b/web/src/routes.ts @@ -30,8 +30,6 @@ import "./pages/users/UserListPage"; import "./pages/users/UserViewPage"; import "./pages/user-settings/UserSettingsPage"; -import "./pages/TestPage"; - export const ROUTES: Route[] = [ // Prevent infinite Shell loops new Route(new RegExp("^/$")).redirect("/library"), @@ -76,5 +74,4 @@ export const ROUTES: Route[] = [ new Route(new RegExp("^/outpost/service-connections$"), html``), new Route(new RegExp("^/crypto/certificates$"), html``), new Route(new RegExp("^/user$"), html``), - new Route(new RegExp("^/test$"), html``), ];