Michael Davis | b8a41c1 | 2017-08-14 14:59:46 -0500 | [diff] [blame] | 1 | <div id="header__wrapper" role="banner"> |
Michael Davis | 0f03ad1 | 2017-02-27 16:54:18 -0600 | [diff] [blame] | 2 | <!-- HEADER --> |
Michael Davis | cb8bb19 | 2017-02-09 15:45:13 -0600 | [diff] [blame] | 3 | <header id="header"> |
Michael Davis | a6a15c2 | 2017-07-31 18:45:41 -0500 | [diff] [blame] | 4 | <span class="app__version float-left">OpenBMC for IBM Power Systems {{dataService.app_version}}</span> |
Iftekharul Islam | f157d37 | 2017-03-08 11:11:27 -0600 | [diff] [blame] | 5 | <a href="" class="header__logout" ng-click="logout()">Log out</a> |
Michael Davis | cb8bb19 | 2017-02-09 15:45:13 -0600 | [diff] [blame] | 6 | </header> |
Michael Davis | b8a41c1 | 2017-08-14 14:59:46 -0500 | [diff] [blame] | 7 | <div class="header__functions-wrapper" aria-label="header"> |
Michael Davis | a6a15c2 | 2017-07-31 18:45:41 -0500 | [diff] [blame] | 8 | <div class="logo__wrapper"><img src="assets/images/logo.svg" class="header__logo" alt="company logo"/></div> |
| 9 | <div class="header__server-name"> |
Iftekharul Islam | ba556c3 | 2017-08-11 08:37:12 -0500 | [diff] [blame^] | 10 | <p class="header__hostname">{{dataService.hostname}}</p> |
Michael Davis | a6a15c2 | 2017-07-31 18:45:41 -0500 | [diff] [blame] | 11 | <p class="header__server-ip courier-bold">BMC IP address {{dataService.server_id}}</p> |
| 12 | </div> |
Michael Davis | 0f03ad1 | 2017-02-27 16:54:18 -0600 | [diff] [blame] | 13 | <div class="header__functions"> |
Michael Davis | a6a15c2 | 2017-07-31 18:45:41 -0500 | [diff] [blame] | 14 | <a href="#/server-health/event-log" class="header__server-health">Server health <i class="icon icon-angle"></i><span class="status-light__error">{{dataService.server_health}}</span></a> |
Iftekharul Islam | a547ff4 | 2017-08-09 11:20:15 -0500 | [diff] [blame] | 15 | <a href="#/server-control/power-operations" class="header__server-power" role="button">Server power <i class="icon icon-angle"></i><span ng-class="{'status-light__error': 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}}</span></a> |
Michael Davis | a5f222a | 2017-08-04 15:02:38 -0500 | [diff] [blame] | 16 | <p class="header__refresh">Data last refreshed<span>{{dataService.last_updated |date:'h:mm:ss MMM dd yyyy'}}</span></p> |
Michael Davis | a6a15c2 | 2017-07-31 18:45:41 -0500 | [diff] [blame] | 17 | <button class="header__page-refresh" ng-click="refresh()"><span>Refresh</span><svg data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 52.18 51.91"><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)"/></button> |
Michael Davis | 0f03ad1 | 2017-02-27 16:54:18 -0600 | [diff] [blame] | 18 | </div> |
Iftekharul Islam | f157d37 | 2017-03-08 11:11:27 -0600 | [diff] [blame] | 19 | </div> |
Michael Davis | 54013ac | 2017-08-09 11:38:27 -0500 | [diff] [blame] | 20 | </div> |