From bc73c506e1d63d13cffae4a6018625f8d540f84d Mon Sep 17 00:00:00 2001 From: GloriousCode Date: Fri, 6 Oct 2017 20:09:21 +1100 Subject: [PATCH] Adds a sidebar with navigation aww yeah --- web/src/app/app.component.html | 16 +++++++--------- web/src/app/app.module.ts | 2 ++ web/src/app/shared/navbar/navbar.component.html | 2 +- web/src/app/shared/navbar/navbar.component.scss | 3 +++ web/src/app/shared/navbar/navbar.component.ts | 7 +++++-- .../app/shared/sidebar/sidebar.component.html | 16 +++++++++------- .../app/shared/sidebar/sidebar.component.scss | 4 ++++ web/src/app/shared/sidebar/sidebar.component.ts | 4 +++- web/src/styles.scss | 2 +- 9 files changed, 35 insertions(+), 21 deletions(-) diff --git a/web/src/app/app.component.html b/web/src/app/app.component.html index 72199f7a..18eaafa5 100644 --- a/web/src/app/app.component.html +++ b/web/src/app/app.component.html @@ -1,11 +1,9 @@ - - - - - -
-
- -
+ + + +
+
+
+
\ No newline at end of file diff --git a/web/src/app/app.module.ts b/web/src/app/app.module.ts index 8428accc..25687efd 100644 --- a/web/src/app/app.module.ts +++ b/web/src/app/app.module.ts @@ -20,6 +20,7 @@ import { MdGridListModule, MdProgressSpinnerModule, MdSidenavModule, + MdListModule, } from '@angular/material'; @@ -73,6 +74,7 @@ import * as Rx from 'rxjs/Rx'; MdGridListModule, MdProgressSpinnerModule, MdSidenavModule, + MdListModule, ], providers: [ElectronService,WebsocketService,WebsocketHandlerService, SidebarService], bootstrap: [AppComponent] diff --git a/web/src/app/shared/navbar/navbar.component.html b/web/src/app/shared/navbar/navbar.component.html index aba2e051..45f2a341 100644 --- a/web/src/app/shared/navbar/navbar.component.html +++ b/web/src/app/shared/navbar/navbar.component.html @@ -1,7 +1,7 @@