1<loader loading="loading"></loader> 2<div class="overview"> 3 <div class="row column"> 4 <h1 class="inline">{{dataService.hostname}}</h1> 5 <button class="link" ng-click="edit_hostname = !edit_hostname">Edit</button><!-- this is default name. Will show custom server name if set --> 6 </div> 7 <section class="row"> 8 <div class="column large-8"> 9 <!-- Server Metadata --> 10 <div class="row overview__server-metadata"> 11 <div class="column large-4"> 12 <h2 class="h3">Server information</h2> 13 </div> 14 <div class="column large-8"> 15 <ul class="overview__metadata-wrapper"> 16 <li class="overview__metadata-block"> 17 <dl> 18 <dt class="content-label">Model</dt> 19 <dd class="courier-bold">{{server_info.Model}}</dd> 20 </dl> 21 </li> 22 <li class="overview__metadata-block"> 23 <dl> 24 <dt class="content-label">Manufacturer</dt> 25 <dd class="courier-bold">{{server_info.Manufacturer}}</dd> 26 </dl> 27 </li> 28 <li class="overview__metadata-block"> 29 <dl> 30 <dt class="content-label">Firmware version</dt> 31 <dd class="courier-bold">{{server_firmware}}</dd> 32 </dl> 33 </li> 34 <li class="overview__metadata-block"> 35 <dl> 36 <dt class="content-label">Serial number</dt> 37 <dd class="courier-bold">{{server_info.SerialNumber}}</dd> 38 </dl> 39 </li> 40 </ul> 41 </div> 42 </div> 43 <!-- BMC Metadata --> 44 <div class="row overview__server-metadata"> 45 <div class="column large-4"> 46 <h2 class="h3">BMC information</h2> 47 </div> 48 <div class="column large-8"> 49 <ul class="overview__metadata-wrapper"> 50 <li class="overview__metadata-block"> 51 <dl> 52 <dt class="content-label">Hostname</dt> 53 <dd class="courier-bold overview__hostname">{{dataService.hostname}}</dd> 54 </dl> 55 </li> 56 <li class="overview__metadata-block"> 57 <dl> 58 <dt class="content-label">IP addresses</dt> 59 <dd class="courier-bold" ng-repeat="ip_address in bmc_ip_addresses">{{ip_address}}</dd> 60 </dl> 61 </li> 62 <li class="overview__metadata-block"> 63 <dl> 64 <dt class="content-label">Firmware Version</dt> 65 <dd class="courier-bold">{{bmc_firmware}}</dd> 66 </dl> 67 </li> 68 <li class="overview__metadata-block"> 69 <dl> 70 <dt class="content-label">Mac address</dt> 71 <dd class="courier-bold">{{dataService.mac_address}}</dd> 72 </dl> 73 </li> 74 </ul> 75 </div> 76 </div> 77 <!-- Power metadata --> 78 <div class="row overview__server-metadata"> 79 <div class="column large-4"> 80 <h2 class="h3">Power information</h2> 81 </div> 82 <div class="column large-8"> 83 <ul class="overview__metadata-wrapper"> 84 <li class="overview__metadata-block"> 85 <dl> 86 <dt class="content-label">Power Consumption</dt> 87 <dd class="courier-bold">{{power_consumption}}</dd> 88 </dl> 89 </li> 90 <li class="overview__metadata-block"> 91 <dl> 92 <dt class="content-label">Power Cap</dt> 93 <dd class="courier-bold">{{power_cap}}</dd> 94 </dl> 95 </li> 96 </ul> 97 </div> 98 </div> 99 <!-- Power metadata --> 100 </div> 101 <div class="column large-4 no-padding"> 102 <div class="quick-links"> 103 <a href="#/server-health/event-log/high" class="quick-links__item quick-links__events event-log__events" ng-show="logs.length"> 104 <p class="inline quick-links__event-copy">View {{logs.length}} high priority events</p><!-- link to event log filtered to the high priority events --> 105 </a> 106 <dl class="quick-links__item no-icon"> 107 <dt class="inline quick-links__label">BMC time</dt> 108 <dd class="inline courier-bold float-right bmc-time">{{ bmc_time | localeDate }}</dd> 109 </dl> 110 <div class="quick-links__item no-icon"> 111 <p class="inline quick-links__label">Turn <span ng-if="dataService.LED_state == 'off'">on</span><span ng-if="dataService.LED_state == 'on'">off</span> server LED</p> 112 <div class="toggle inline float-right"> 113 <input id="toggle__switch-round" 114 class="toggle-switch toggle-switch__round-flat" 115 type="checkbox" 116 tabindex="0" 117 ng-click="toggleLED()" 118 ng-checked="dataService.LED_state == 'on'" 119 ng-disabled="dataService.server_unreachable"> 120 <label for="toggle__switch-round" tabindex="0">Server LED is <span class="led-switch__status">{{dataService.LED_state}}</span></label> 121 </div> 122 </div> 123 <a href="#/server-control/remote-console" class="no-icon quick-links__item"> 124 <p class="inline quick-links__label">Serial over LAN console</p> 125 <span class="btn-pop-out inline float-right"></span> 126 </a> 127 <a href="#/configuration/network" class="quick-links__item"> 128 <p class="inline quick-links__label">Edit network settings</p> 129 </a> 130 </d> 131 </div> 132 </section> 133 <section class="row"> 134 <div class="column large-12 overview__event-log event-log__events" ng-show="logs.length"> 135 <div class="page-header"> 136 <h2 class="h3">High priority events ({{logs.length}})</h2> 137 <a href="#/server-health/event-log/" class="inline float-right">View all event logs</a> 138 </div> 139 140 <!-- single event --> 141 <a href="#/server-health/event-log/high" ng-repeat="event in logs|orderBy:'-Id'|limitTo : 5"> 142 <div class="row column event-log__single-event"> 143 <div class="row"> 144 <div class="column small-9 large-10 event-log__event-info" ng-click=""><!-- click will go to specific event in event log page--> 145 <p class="inline event__id">#{{event.Id}}</p> 146 <p class="inline event__priority high-priority">High</p> 147 <p class="inline event__severity high-priority">{{event.severity_code}}</p> 148 <p class="inline event__timestamp">{{ event.Timestamp | localeDate }}</p> 149 <div> 150 <p class="inline event__description">{{getEventLogTitle(event)}}</p> 151 </div> 152 </div> 153 <div class="column small-1 large-1"> 154 <button class="accord-trigger" aria-hidden="true"></button> 155 </div> 156 </div> 157 </div> 158 </a> 159 </div> 160 161 <div class="row column overview__event-log event-log__events" ng-show="!logs.length"> 162 <div class="page-header"> 163 <h2 class="h3">High priority events (0)</h2> 164 </div> 165 <p>There are no high priority events to display at this time.</p> 166 </div> 167 </section> 168</div> 169<!-- edit server name modal --> 170<section class="modal" aria-hidden="true" aria-labelledby="modalTitle" aria-describedby="modalDescription" role="dialog" ng-class="{'active': edit_hostname}"> 171 <div class="modal__upload" role="document"> 172 <div class="screen-reader-offscreen modal-description">Edit hostname</div><!-- accessibility only; used for screen readers --> 173 <div class="page-header "> 174 <h2 class="modal-title"><span class="icon icon__info"><svg xmlns="http://www.w3.org/2000/svg" 175 viewBox="0 0 32 32"><path 176 d="M18 14h-6v2h1v6h-2v2h8v-2h-2z"/><circle cx="16" cy="10" r="2"/><path 177 d="M16 2C8.269 2 2 8.269 2 16s6.269 14 14 14 14-6.269 14-14S23.731 2 16 2zm0 26C9.383 28 4 22.617 4 16S9.383 4 16 4s12 5.383 12 12-5.383 12-12 12z"/></svg></span> 178 Edit hostname 179 </h2> 180 </div> 181 <div class="modal__content"> 182 <p>The hostname is displayed in the header and can contain any characters up to a total of 64</p> 183 <form> 184 <label for="editServerName" class="hide"></label> 185 <input id="editServerName" class="modal__edit-server-name" maxlength="64" type="text" ng-model="char_count" ng-trim="false"> 186 <p class="modal__char-count">{{64 - char_count.length}}/64</p> 187 </form> 188 </div> 189 <div class="modal__button-wrapper"> 190 <button class="inline btn-secondary" ng-click="edit_hostname= false;">Cancel</button> 191 <button class="inline btn-primary" ng-click="saveHostname(char_count);">Save</button> 192 </div> 193 </div> 194</section> 195<div class="modal-overlay" tabindex="-1" ng-class="{'active': edit_hostname}"></div> 196