blob: c5a56e124d4587b7a1463cc2bf5cdeaeb962d389 [file] [log] [blame]
Gunnar Mills4129f402018-07-11 16:40:58 -05001<div id="led-switch">
Dixsie Wolmersc652ed12019-07-19 13:03:28 -05002 <div class="row column">
3 <h1>Server LED</h1>
4 <div class="page-header">
5 <h2>LED light control</h2>
Michael Davis5a752b22017-03-09 09:41:08 -06006 </div>
Dixsie Wolmersc652ed12019-07-19 13:03:28 -05007 </div>
8 <div
9 class="column"
10 ng-class="{disabled: dataService.server_unreachable || dataService.loading}"
11 >
12 <div class="led-switch__label">
13 <h3>
14 Server LED light
15 </h3>
16 <p>
17 Turn the LED light on or off. If the server has an LCD, use this control
18 to display text (on) or not to display text (off) on the LCD.
19 </p>
Michael Davis5a752b22017-03-09 09:41:08 -060020 </div>
Dixsie Wolmersc652ed12019-07-19 13:03:28 -050021 <div class="toggle-container">
22 <div class="toggle">
23 <input
24 id="toggle__switch-round"
25 class="toggle-switch toggle-switch__round-flat"
26 type="checkbox"
27 tabindex="0"
28 ng-click="toggleLED()"
29 ng-checked="dataService.LED_state == 'on'"
30 ng-disabled="dataService.server_unreachable"
31 />
32 <label for="toggle__switch-round" tabindex="0"
33 >Server LED indicator is
34 <span class="toggle-switch__status">{{
35 dataService.LED_state
36 }}</span></label
37 >
38 </div>
39 <span>
40 {{ dataService.LED_state == "on" ? "On" : "Off" }}
41 </span>
42 </div>
43 </div>
Gunnar Mills4129f402018-07-11 16:40:58 -050044</div>