11ffa209eSDerick Montague<header id="header" class="header"> 299d199f3SIftekharul Islam <!-- HEADER --> 31ffa209eSDerick Montague <div class="header__info-section"> 41ffa209eSDerick Montague <span class="header__title">OpenBMC</span> 599d199f3SIftekharul Islam <a href="" class="header__logout" ng-click="logout()">Log out</a> 61ffa209eSDerick Montague </div> 71ffa209eSDerick Montague <div class="header__functions-section"> 8*30d7c637SDerick Montague <div class="logo__wrapper"> 9*30d7c637SDerick Montague <img 10*30d7c637SDerick Montague src="../../assets/images/logo.svg" 11*30d7c637SDerick Montague class="header__logo" 12*30d7c637SDerick Montague alt="company logo" 13*30d7c637SDerick Montague /> 14*30d7c637SDerick Montague </div> 154250f302SMichael Davis <div class="inline header__server-name"> 16ba556c31SIftekharul Islam <p class="header__hostname">{{ dataService.hostname }}</p> 1775494d4aSRyan Arnell <p class="header__server-ip courier-bold">{{ dataService.server_id }}</p> 18a6a15c21SMichael Davis </div> 19a1dcfe0cSMichael Davis <div class="header__functions" ng-class="{'active' : toggle}"> 20*30d7c637SDerick Montague <button 21*30d7c637SDerick Montague type="button" 22*30d7c637SDerick Montague class="header__action header__action--info" 23*30d7c637SDerick Montague ng-click="toggle = !toggle" 24*30d7c637SDerick Montague > 25*30d7c637SDerick Montague <icon aria-hidden="true" file="icon-chevron-right.svg"></icon> 26*30d7c637SDerick Montague </button> 27*30d7c637SDerick Montague <a href="#/server-health/event-log" class="header__action" 28*30d7c637SDerick Montague >Server health 29*30d7c637SDerick Montague <icon aria-hidden="true" file="icon-chevron-right.svg"></icon 30*30d7c637SDerick Montague ><span 31*30d7c637SDerick Montague ng-class="{'status-light__error': dataService.server_health == 'Critical', 'status-light__warn': dataService.server_health == 'Warning', 'status-light__good': dataService.server_health == 'Good'}" 32*30d7c637SDerick Montague >{{ dataService.server_health }}</span 33*30d7c637SDerick Montague ></a 34*30d7c637SDerick Montague > 35*30d7c637SDerick Montague <a href="#/server-control/power-operations" class="header__action" 36*30d7c637SDerick Montague >Server power 37*30d7c637SDerick Montague <icon aria-hidden="true" file="icon-chevron-right.svg"></icon 38*30d7c637SDerick Montague ><span 39*30d7c637SDerick Montague 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__error': dataService.server_state == 'Quiesced'}" 40*30d7c637SDerick Montague >{{ dataService.server_state | quiescedToError }}</span 41*30d7c637SDerick Montague ></a 42*30d7c637SDerick Montague > 43*30d7c637SDerick Montague <p class="header__refresh"> 44*30d7c637SDerick Montague Data last refreshed<span>{{ 45*30d7c637SDerick Montague dataService.last_updated | localeDate 46*30d7c637SDerick Montague }}</span> 474250f302SMichael Davis </p> 48*30d7c637SDerick Montague <button 49*30d7c637SDerick Montague class="header__action header__action--refresh" 50*30d7c637SDerick Montague ng-click="refresh()" 51*30d7c637SDerick Montague aria-label="refresh page data" 52*30d7c637SDerick Montague > 534250f302SMichael Davis <span>Refresh</span> 54c86ce3c9SYoshie Muranaka <icon file="icon-restart.svg"></icon> 554250f302SMichael Davis </button> 5699d199f3SIftekharul Islam </div> 5799d199f3SIftekharul Islam </div> 581ffa209eSDerick Montague</header> 59