summaryrefslogtreecommitdiffstats
path: root/app/index.html
diff options
context:
space:
mode:
authorIftekharul Islam <iislam@us.ibm.com>2017-03-29 13:54:26 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-09-20 12:41:34 -0500
commitbb5058e741e4f382bb17c050db35c9094b638c49 (patch)
tree4c6949f4712d9c3d2f8b89ac48f1e8b8d490e7e2 /app/index.html
parent3a0d471c48cb09ddd06c5288c21612bd127b60ac (diff)
downloadphosphor-webui-bb5058e741e4f382bb17c050db35c9094b638c49.tar.gz
phosphor-webui-bb5058e741e4f382bb17c050db35c9094b638c49.zip
Added fake login page for testing and demo
Change-Id: Ife37444dcede67b54d1f257ee99322b22ac6b78c Signed-off-by: Iftekharul Islam <iislam@us.ibm.com>
Diffstat (limited to 'app/index.html')
-rw-r--r--app/index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/index.html b/app/index.html
index b6e0d3c..79dc11b 100644
--- a/app/index.html
+++ b/app/index.html
@@ -10,12 +10,12 @@
<!-- endbuild -->
</head>
-<body ng-style="dataService.bodyStyle" ng-attr-id="{{dataService.path == '/login' ? 'login': ''}}">
+<body ng-style="dataService.bodyStyle" ng-attr-id="{{!dataService.showNavigation ? 'login': ''}}">
<app-header ng-if="dataService.showNavigation" path="dataService.path"></app-header>
- <app-navigation ng-if="dataService.showNavigation" path="dataService.path" show-navigation=" dataService.showNavigation"></app-navigation>
+ <app-navigation ng-if="dataService.showNavigation" path="dataService.path" show-navigation="dataService.showNavigation"></app-navigation>
- <main ng-view ng-class="{'content__container': dataService.path != '/login', 'login__wrapper': dataService.path == '/login'}">
+ <main ng-view ng-class="{'content__container': dataService.showNavigation, 'login__wrapper': !dataService.showNavigation}">
</main>
<!-- build:js scripts/vendor.min.js -->
OpenPOWER on IntegriCloud