xref: /openbmc/phosphor-webui/app/index.html (revision cee23d93)
1<!doctype html>
2<html ng-app="app" ng-csp lang="en">
3
4<head>
5    <meta http-equiv="Content-Security-Policy">
6    <meta charset="UTF-8">
7    <title>OpenBMC</title>
8    <meta name="viewport" content="width=device-width, initial-scale=1">
9
10    <base href="/">
11</head>
12<body ng-style="dataService.bodyStyle" ng-attr-id="{{!dataService.showNavigation ? 'login': ''}}">
13
14    <app-header ng-if="dataService.showNavigation" path="dataService.path"></app-header>
15    <app-navigation ng-if="dataService.showNavigation" path="dataService.path" show-navigation="dataService.showNavigation"></app-navigation>
16    <toast ng-if="dataService.showNavigation"></toast>
17
18    <main ng-view ng-class="{'content__container': dataService.showNavigation, 'login__wrapper': !dataService.showNavigation}">
19    </main>
20</body>
21</html>
22