blob: 9446a35dc64ed8f76b8989ffa63e15ee1a258643 [file] [log] [blame]
Michael Davis428375e2017-08-01 15:48:34 -05001<loader loading="loading"></loader>
Michael Davis0a1c6b02017-06-09 13:51:05 -05002<div class="overview">
3 <div class="row column">
Michael Davis80a6a372017-07-27 14:44:04 -05004 <h1 class="inline">IBM Power Witherspoon 2</h1>
5 <button class="link" ng-click="edit_server_name = !edit_server_name">edit</button><!-- this is default name. Will show custom server name if set -->
Michael Davis0a1c6b02017-06-09 13:51:05 -05006 </div>
Michael Davis0a1c6b02017-06-09 13:51:05 -05007 <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 <h3 class="bold h4">Server information</h3>
13 </div>
14 <div class="column large-8">
15 <ul class="overview__metadata-wrapper">
16 <li class="overview__metadata-block">
17 <p class="content-label">Model</p>
Iftekharul Islam54c22e42017-06-28 11:06:16 -050018 <p class="courier-bold">{{bmc_info.Model}}</p>
Michael Davis0a1c6b02017-06-09 13:51:05 -050019 </li>
20 <li class="overview__metadata-block">
21 <p class="content-label">Manufacturer</p>
Iftekharul Islam54c22e42017-06-28 11:06:16 -050022 <p class="courier-bold">{{bmc_info.Manufacturer}}</p>
Michael Davis0a1c6b02017-06-09 13:51:05 -050023 </li>
24 <li class="overview__metadata-block">
25 <p class="content-label">Firmware version</p>
Iftekharul Islam54c22e42017-06-28 11:06:16 -050026 <p class="courier-bold">{{server_firmware}}</p>
Michael Davis0a1c6b02017-06-09 13:51:05 -050027 </li>
28 <li class="overview__metadata-block">
29 <p class="content-label">Serial number</p>
Iftekharul Islam54c22e42017-06-28 11:06:16 -050030 <p class="courier-bold">{{bmc_info.SerialNumber}}</p>
Michael Davis0a1c6b02017-06-09 13:51:05 -050031 </li>
32 </ul>
33 </div>
34 </div>
35 <!-- BMC Metadata -->
36 <div class="row overview__server-metadata">
37 <div class="column large-4">
38 <h3 class="bold h4">BMC information</h3>
39 </div>
40 <div class="column large-8">
41 <ul class="overview__metadata-wrapper">
42 <li class="overview__metadata-block">
Michael Davisec61b2a2017-07-20 14:53:46 -050043 <p class="content-label">Hostname</p>
Iftekharul Islamba556c32017-08-11 08:37:12 -050044 <p class="courier-bold overview__hostname">{{dataService.hostname}}</p>
Michael Davisec61b2a2017-07-20 14:53:46 -050045 </li>
46 <li class="overview__metadata-block">
Michael Davis0a1c6b02017-06-09 13:51:05 -050047 <p class="content-label">BMC IP address</p>
Iftekharul Islam54c22e42017-06-28 11:06:16 -050048 <p class="courier-bold">{{dataService.server_id}}</p>
Michael Davis0a1c6b02017-06-09 13:51:05 -050049 </li>
50 <li class="overview__metadata-block">
Michael Davisec61b2a2017-07-20 14:53:46 -050051 <p class="content-label">Firmware Version</p>
52 <p class="courier-bold">{{bmc_firmware}}</p>
Michael Davis0a1c6b02017-06-09 13:51:05 -050053 </li>
54 <li class="overview__metadata-block">
55 <p class="content-label">Mac address</p>
Iftekharul Islamba556c32017-08-11 08:37:12 -050056 <p class="courier-bold">{{dataService.mac_address}}</p>
Michael Davis0a1c6b02017-06-09 13:51:05 -050057 </li>
Michael Davis0a1c6b02017-06-09 13:51:05 -050058 </ul>
59 </div>
60 </div>
61 <!-- Power metadata -->
62 <div class="row overview__server-metadata">
63 <div class="column large-4">
64 <h3 class="bold h4">Power information</h3>
65 </div>
66 <div class="column large-8">
67 <ul class="overview__metadata-wrapper">
68 <li class="overview__metadata-block">
69 <p class="content-label">Power Consumption</p>
70 <p class="courier-bold">000 W</p>
71 </li>
72 <li class="overview__metadata-block">
73 <p class="content-label">Power Cap</p>
74 <p class="courier-bold">000 W</p>
75 </li>
76 </ul>
77 </div>
78 </div>
Michael Davis0a1c6b02017-06-09 13:51:05 -050079 <!-- Power metadata -->
Michael Davis0a1c6b02017-06-09 13:51:05 -050080 </div>
Michael Davisec61b2a2017-07-20 14:53:46 -050081 <div class="column large-4 no-padding">
82 <div class="quick-links">
Michael Davis428375e2017-08-01 15:48:34 -050083 <a href="#/server-health/event-log/high" class="quick-links__item quick-links__events event-log__events" ng-show="logs.length">
Michael Davisec61b2a2017-07-20 14:53:46 -050084 <p class="inline quick-links__event-copy">{{logs.length}} High priority events</p><!-- link to event log filtered to the high priority events -->
Michael Davis0a1c6b02017-06-09 13:51:05 -050085 </a>
86 <div class="quick-links__item no-icon">
87 <p class="inline quick-links__label">BMC time</p>
Michael Davisec61b2a2017-07-20 14:53:46 -050088 <p class="inline courier-bold float-right">3:20:12 5/22/2017 UTC</p>
Michael Davis0a1c6b02017-06-09 13:51:05 -050089 </div>
90 <div class="quick-links__item no-icon">
Michael Davis428375e2017-08-01 15:48:34 -050091 <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 indicator</p>
Michael Davis0a1c6b02017-06-09 13:51:05 -050092 <div class="toggle inline float-right">
93 <input id="toggle__switch-round"
94 class="toggle-switch toggle-switch__round-flat"
95 type="checkbox"
96 tabindex="0"
97 ng-click="toggleLED()"
98 ng-checked="dataService.LED_state == 'on'"
99 ng-disabled="dataService.server_unreachable">
100 <label for="toggle__switch-round" tabindex="0">Server indicator is <span class="uid-switch__status">{{dataService.LED_state}}</span></label>
101 </div>
102 </div>
Iftekharul Islam54c22e42017-06-28 11:06:16 -0500103 <a href="#/server-control/remote-console" class="no-icon quick-links__item">
Michael Davis706b75b2017-08-18 16:40:03 -0500104 <p class="inline quick-links__label">Serial Over Lan</p>
Michael Davis0a1c6b02017-06-09 13:51:05 -0500105 <span class="btn-pop-out inline float-right"></span>
106 </a>
Iftekharul Islam54c22e42017-06-28 11:06:16 -0500107 <a href="#/configuration/network" class="quick-links__item">
Michael Davis0a1c6b02017-06-09 13:51:05 -0500108 <p class="inline quick-links__label">Edit network settings</p>
109 </a>
110 </div>
111 </div>
112 </section>
Michael Davis706b75b2017-08-18 16:40:03 -0500113 <section class="row">
114 <div class="column large-12 overview__event-log event-log__events" ng-show="logs.length">
115 <div class="page-header">
116 <h3 class="bold h4 inline">High priority events ({{logs.length}})</h3>
117 <a href="#/server-health/event-log/high" class="inline float-right">View all event logs</a>
118 </div>
119 <!-- show when there are no critical events from event log -->
120 <!-- <p class="disabled">No high priority events</p> -->
121
122 <!-- single event -->
123 <a href="#/server-health/event-log/high" ng-repeat="event in logs|orderBy:'+Id'">
124 <div class="row column event-log__single-event">
125 <div class="row">
126 <div class="column small-1 large-1 event-log__col-check">
127 <label class="control-check">
128 <input type="checkbox" name="events__check" ng-click="event.selected= ! event.selected"
129 ng-checked="event.selected"/>
130 <span class="control__indicator"></span>
131 </label>
132 </div>
133 <div class="column small-9 large-10 event-log__event-info" ng-click=""><!-- click will go to specific event in event log page-->
134 <p class="inline event__id">#{{event.Id}}</p>
135 <p class="inline event__priority high-priority">High</p>
136 <p class="inline event__severity high-priority">{{event.severity_code}}</p>
137 <p class="inline event__timestamp">{{event.Timestamp| date:'MM/dd/yyyy HH:mm:ss '+tmz: tmz}}</p>
138 <div>
139 <p class="inline event__description">{{event.Severity}}</p>
140 </div>
141 </div>
142 <div class="column small-1 large-1">
143 <button class="accord-trigger" aria-hidden="true"></button>
144 </div>
145 </div>
146 </div>
147 </a>
148 </div>
149
150 <div class="row column overview__event-log event-log__events" ng-show="!logs.length">
151 <div class="page-header">
152 <h3 class="bold h4">High priority events (0)</h3>
153 </div>
154 <p>There are no high priority events to display at this time.</p>
155 </div>
156 </section>
Michael Davis80a6a372017-07-27 14:44:04 -0500157</div>