blob: dba692322a9f7876ebbed528130c27c9d6e633eb [file] [log] [blame]
Gunnar Mills4129f402018-07-11 16:40:58 -05001<div id="led-switch">
Michael Davis5a752b22017-03-09 09:41:08 -06002 <div class="row column">
Michael Davis040a9dc2017-07-10 17:53:48 -05003 <h1>Server LED</h1>
Michael Davis706b75b2017-08-18 16:40:03 -05004 <div class="page-header">
5 <h2 class="h4">LED light control</h2>
6 </div>
Michael Davis5a752b22017-03-09 09:41:08 -06007 </div>
8
Iftekharul Islamcd789502017-04-19 14:37:55 -05009 <div class="row column" ng-class="{disabled: dataService.server_unreachable || dataService.loading}">
Michael Davis5a752b22017-03-09 09:41:08 -060010 <div class="btm-border-grey">
Iftekharul Islamcd789502017-04-19 14:37:55 -050011 <div class="toggle inline">
Michael Davisc5626182017-03-10 15:48:05 -060012 <input id="toggle__switch-round"
13 class="toggle-switch toggle-switch__round-flat"
14 type="checkbox"
15 tabindex="0"
Iftekharul Islamcd789502017-04-19 14:37:55 -050016 ng-click="toggleLED()"
17 ng-checked="dataService.LED_state == 'on'"
18 ng-disabled="dataService.server_unreachable"
Michael Davisc5626182017-03-10 15:48:05 -060019 >
Gunnar Mills4129f402018-07-11 16:40:58 -050020 <label for="toggle__switch-round" tabindex="0">Server indicator is <span class="led-switch__status">{{dataService.LED_state}}</span></label>
Michael Davis5a752b22017-03-09 09:41:08 -060021 </div>
Gunnar Mills4129f402018-07-11 16:40:58 -050022 <div class="led-switch__label inline">
23 <p>Server LED light is <span class="led-switch__status">{{dataService.LED_state}}</span></p>
Michael Davis7378f8a2017-07-20 17:05:35 -050024 <p>Turn the LED light on or off. If the server has an LCD, use this control to display text (on) or not to display text (off) on the LCD.</p>
Michael Davis5a752b22017-03-09 09:41:08 -060025 </div>
26 </div>
27 </div>
Gunnar Mills4129f402018-07-11 16:40:58 -050028</div>