Michael Davis | 4250f30 | 2017-09-06 11:03:52 -0500 | [diff] [blame] | 1 | <div id="header__wrapper"> |
| 2 | <!-- HEADER --> |
| 3 | <header id="header"> |
| 4 | <span class="app__version float-left">OpenBMC for IBM Power Systems {{dataService.app_version}}</span> |
| 5 | <a href="" class="header__logout" ng-click="logout()">Log out</a> |
| 6 | </header> |
| 7 | <div class="header__functions-wrapper" role="heading"> |
Ed Tanous | bbcf670 | 2017-10-06 13:53:06 -0700 | [diff] [blame^] | 8 | <div class="logo__wrapper"><img src="../../assets/images/logo.svg" class="header__logo" alt="company logo"/></div> |
Iftekharul Islam | 1acb412 | 2017-11-02 13:20:32 -0500 | [diff] [blame] | 9 | <!-- <button class="inline header__multi-server" aria-label="multi server select" ng-class="{'active': multi_server_recent}" ng-click="multiRecent();"> |
Michael Davis | 4250f30 | 2017-09-06 11:03:52 -0500 | [diff] [blame] | 10 | <span class="icon icon-angle" aria-hidden="true"></span><span class="accessible-text">Multi server switcher</span> |
Iftekharul Islam | 1acb412 | 2017-11-02 13:20:32 -0500 | [diff] [blame] | 11 | </button>--> |
Michael Davis | 4250f30 | 2017-09-06 11:03:52 -0500 | [diff] [blame] | 12 | <div class="inline header__server-name"> |
| 13 | <p class="header__hostname">{{dataService.hostname}}</p> |
| 14 | <p class="header__server-ip courier-bold">BMC IP address {{dataService.server_id}}</p> |
| 15 | </div> |
| 16 | <div class="header__functions" ng-class="{'active' : toggle}"> |
| 17 | <a class="header__info" ng-click="toggle = !toggle"><span>Server Info</span><i class="icon icon-angle" aria-hidden="true"></i></a> |
| 18 | <a href="#/server-health/event-log" class="header__server-health">Server health |
| 19 | <i class="icon icon-angle" aria-hidden="true"></i><span ng-class="{'status-light__error': dataService.server_health == 'Critical', 'status-light__warn': dataService.server_health == 'Warning', 'status-light__good': dataService.server_health == 'Good'}">{{dataService.server_health}}</span></a> |
Iftekharul Islam | 5912f75 | 2017-09-11 14:40:11 -0500 | [diff] [blame] | 20 | <a href="#/server-control/power-operations" class="header__server-power" role="button">Server power |
| 21 | <i class="icon icon-angle" aria-hidden="true"></i><span ng-class="{'status-light__off': dataService.server_state == 'Off', 'status-light__disabled': dataService.server_state == 'Unreachable', 'status-light__good': dataService.server_state == 'Running', 'status-light__warn': dataService.server_state == 'Quiesced'}">{{dataService.server_state | quiescedToStandBy}}</span></a> |
Michael Davis | 4250f30 | 2017-09-06 11:03:52 -0500 | [diff] [blame] | 22 | <p class="header__refresh">Data last refreshed<span>{{dataService.last_updated |date:'h:mm:ss MMM dd yyyy'}}</span> |
| 23 | </p> |
| 24 | <button class="header__page-refresh" ng-click="refresh()" aria-label="refresh page data"> |
| 25 | <span>Refresh</span> |
| 26 | <svg data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 52.18 51.91"> |
| 27 | <path class="cls-1" d="M38,20.77H52v-14H48.3v6.07A26,26,0,1,0,48.7,38H44.32a22.14,22.14,0,1,1,1.8-20.92H38v3.67Z" transform="translate(0.16 0.14)"/> |
| 28 | </button> |
| 29 | </div> |
Michael Davis | a6a15c2 | 2017-07-31 18:45:41 -0500 | [diff] [blame] | 30 | </div> |
Iftekharul Islam | f157d37 | 2017-03-08 11:11:27 -0600 | [diff] [blame] | 31 | </div> |
Michael Davis | 4250f30 | 2017-09-06 11:03:52 -0500 | [diff] [blame] | 32 | |
| 33 | <!-- multi-server recent dropdown --> |
Ed Tanous | bbcf670 | 2017-10-06 13:53:06 -0700 | [diff] [blame^] | 34 | <div ng-include="" src="'multi-server/controllers/multi-server-recent-controller.html'"></div> |