1<div id="header__wrapper"> 2<!-- HEADER --> 3<!-- Class of status-light__good has 3 states: status-light__good, status-light__error, status-light__disabled --> 4<!-- Server Power buttton links to 'server power operations' page; Server Status may link to event log page. TBD.--> 5<header id="header"> 6 <span class="app__version float-left">{{dataService.app_version}}</span> 7 <a href="" class="header__logout" ng-click="logout()">Log out</a> 8</header> 9<div class="header__functions-wrapper" role="heading"> 10 <div class="logo__wrapper"><img src="assets/images/logo.svg" id="header__logo" alt="company logo"/></div> 11 <button id="header__server-name">{{dataService.server_id}}</button> 12 <div class="header__functions"> 13 <a href="" id="header__server-health">Server health<span class="status-light__error">{{dataService.server_health}}</span></a> 14 <a href="#/overview/power-operations" class="header__server-power" role="button">Server power<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> 15 <p class="header__refresh">Page last refreshed <span>{{dataService.last_updated |date:'h:mm:ss MMM dd yyyy'}}</span></p> 16 <button class="header__page-refresh" ng-click="refresh()"><img src="assets/images/icon-refresh-white.svg" alt="refresh page" role="button"/></button> 17 </div> 18</div> 19</div> 20