blob: be4601a4887da341a902524bc69fa60cb2004214 [file] [log] [blame]
Michael Davis0a1c6b02017-06-09 13:51:05 -05001<div class="overview">
2 <div class="row column">
3 <h1>Server overview</h1> <!-- this is default name. Will show custom server name if set -->
4 </div>
5 <section class="row column">
6 <div class="page-header"></div>
7 </section>
8
9 <section class="row">
10 <div class="column large-8">
11 <!-- Server Metadata -->
12 <div class="row overview__server-metadata">
13 <div class="column large-4">
14 <h3 class="bold h4">Server information</h3>
15 </div>
16 <div class="column large-8">
17 <ul class="overview__metadata-wrapper">
18 <li class="overview__metadata-block">
19 <p class="content-label">Model</p>
Iftekharul Islam54c22e42017-06-28 11:06:16 -050020 <p class="courier-bold">{{bmc_info.Model}}</p>
Michael Davis0a1c6b02017-06-09 13:51:05 -050021 </li>
22 <li class="overview__metadata-block">
23 <p class="content-label">Manufacturer</p>
Iftekharul Islam54c22e42017-06-28 11:06:16 -050024 <p class="courier-bold">{{bmc_info.Manufacturer}}</p>
Michael Davis0a1c6b02017-06-09 13:51:05 -050025 </li>
26 <li class="overview__metadata-block">
27 <p class="content-label">Firmware version</p>
Iftekharul Islam54c22e42017-06-28 11:06:16 -050028 <p class="courier-bold">{{server_firmware}}</p>
Michael Davis0a1c6b02017-06-09 13:51:05 -050029 </li>
30 <li class="overview__metadata-block">
31 <p class="content-label">Serial number</p>
Iftekharul Islam54c22e42017-06-28 11:06:16 -050032 <p class="courier-bold">{{bmc_info.SerialNumber}}</p>
Michael Davis0a1c6b02017-06-09 13:51:05 -050033 </li>
34 </ul>
35 </div>
36 </div>
37 <!-- BMC Metadata -->
38 <div class="row overview__server-metadata">
39 <div class="column large-4">
40 <h3 class="bold h4">BMC information</h3>
41 </div>
42 <div class="column large-8">
43 <ul class="overview__metadata-wrapper">
44 <li class="overview__metadata-block">
45 <p class="content-label">BMC IP address</p>
Iftekharul Islam54c22e42017-06-28 11:06:16 -050046 <p class="courier-bold">{{dataService.server_id}}</p>
Michael Davis0a1c6b02017-06-09 13:51:05 -050047 </li>
48 <li class="overview__metadata-block">
49 <p class="content-label">Hostname</p>
50 <p class="courier-bold overview__hostname">bmc401.aus.stg1.global</p>
51 </li>
52 <li class="overview__metadata-block">
53 <p class="content-label">Mac address</p>
Iftekharul Islam54c22e42017-06-28 11:06:16 -050054 <p class="courier-bold">{{mac_address}}</p>
Michael Davis0a1c6b02017-06-09 13:51:05 -050055 </li>
56 <li class="overview__metadata-block">
57 <p class="content-label">Firmware</p>
Iftekharul Islam54c22e42017-06-28 11:06:16 -050058 <p class="courier-bold">{{bmc_firmware}}</p>
Michael Davis0a1c6b02017-06-09 13:51:05 -050059 </li>
60
61 </ul>
62 </div>
63 </div>
64 <!-- Power metadata -->
65 <div class="row overview__server-metadata">
66 <div class="column large-4">
67 <h3 class="bold h4">Power information</h3>
68 </div>
69 <div class="column large-8">
70 <ul class="overview__metadata-wrapper">
71 <li class="overview__metadata-block">
72 <p class="content-label">Power Consumption</p>
73 <p class="courier-bold">000 W</p>
74 </li>
75 <li class="overview__metadata-block">
76 <p class="content-label">Power Cap</p>
77 <p class="courier-bold">000 W</p>
78 </li>
79 </ul>
80 </div>
81 </div>
82
83 <!-- Power metadata -->
Iftekharul Islam54c22e42017-06-28 11:06:16 -050084 <div class="row column overview__event-log event-log__events" ng-show="logs.length">
Michael Davis0a1c6b02017-06-09 13:51:05 -050085 <h3 class="bold h4">High priority events</h3>
86
87 <!-- TODO: I built event log section so that you could easily just pull in our existing event log template. All display tweaks (such as hiding checkbox) are done via SCSS -->
88
89 <!-- show when there are no critical events from event log -->
90 <!-- <p class="disabled">No high priority events</p> -->
91
92 <!-- single event -->
Iftekharul Islam54c22e42017-06-28 11:06:16 -050093 <a href="#/server-health/event-log" ng-repeat="event in logs|orderBy:'+Id'"> <!-- this should go to specific event in event log page -->
Michael Davis0a1c6b02017-06-09 13:51:05 -050094 <div class="row column event-log__single-event">
95 <div class="row">
96 <div class="column small-1 large-1 event-log__col-check">
97 <label class="control-check">
98 <input type="checkbox" name="events__check" ng-click="event.selected= ! event.selected"
99 ng-checked="event.selected"/>
100 <span class="control__indicator"></span>
101 </label>
102 </div>
103 <div class="column small-9 large-10 event-log__event-info" ng-click=""><!-- click will go to specific event in event log page-->
Iftekharul Islam54c22e42017-06-28 11:06:16 -0500104 <p class="inline event__id">#{{event.Id}}</p>
Michael Davis0a1c6b02017-06-09 13:51:05 -0500105 <p class="inline event__priority high-priority">High</p>
Iftekharul Islam54c22e42017-06-28 11:06:16 -0500106 <p class="inline event__severity">{{event.severity_code}}</p>
107 <p class="inline event__timestamp">{{event.Timestamp| date:'MM/dd/yyyy HH:mm:ss '+tmz: tmz}}</p>
Michael Davis0a1c6b02017-06-09 13:51:05 -0500108 <div>
Iftekharul Islam54c22e42017-06-28 11:06:16 -0500109 <p class="inline event__description">{{event.Severity}}</p>
Michael Davis0a1c6b02017-06-09 13:51:05 -0500110 </div>
111 </div>
112 <div class="column small-1 large-1">
113 <button class="accord-trigger"></button>
114 </div>
115 </div>
116 </div>
117 </a>
Michael Davis0a1c6b02017-06-09 13:51:05 -0500118 </div>
119 </div>
120 <div class="column large-4">
121 <div class="quick-links" >
Iftekharul Islam54c22e42017-06-28 11:06:16 -0500122 <a href="#/server-health/event-log" class="quick-links__item quick-links__events event-log__events" ng-show="logs.length">
123 <span class="event__priority high-priority">High</span><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 -0500124 </a>
125 <div class="quick-links__item no-icon">
126 <p class="inline quick-links__label">BMC time</p>
127 <p class="inline float-right courier-bold">3:20:12 5/22/2017 UTC</p>
128 </div>
129 <div class="quick-links__item no-icon">
130 <p class="inline quick-links__label">Turn on server indicator</p>
131 <div class="toggle inline float-right">
132 <input id="toggle__switch-round"
133 class="toggle-switch toggle-switch__round-flat"
134 type="checkbox"
135 tabindex="0"
136 ng-click="toggleLED()"
137 ng-checked="dataService.LED_state == 'on'"
138 ng-disabled="dataService.server_unreachable">
139 <label for="toggle__switch-round" tabindex="0">Server indicator is <span class="uid-switch__status">{{dataService.LED_state}}</span></label>
140 </div>
141 </div>
Iftekharul Islam54c22e42017-06-28 11:06:16 -0500142 <a href="#/server-control/remote-console" class="no-icon quick-links__item">
Michael Davis0a1c6b02017-06-09 13:51:05 -0500143 <p class="inline quick-links__label">Launch Serial Over Lan</p>
144 <span class="btn-pop-out inline float-right"></span>
145 </a>
Iftekharul Islam54c22e42017-06-28 11:06:16 -0500146 <a href="#/configuration/network" class="quick-links__item">
Michael Davis0a1c6b02017-06-09 13:51:05 -0500147 <p class="inline quick-links__label">Edit network settings</p>
148 </a>
149 </div>
150 </div>
151 </section>
Iftekharul Islamf157d372017-03-08 11:11:27 -0600152</div>