blob: b4d8b44bd15cfd606633c85b6b794431e9dea9d5 [file] [log] [blame]
Michael Davis9e00ce92017-03-09 18:31:02 -06001<div id="uid-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 Davis5a752b22017-03-09 09:41:08 -06004 </div>
5
6 <div class="row column">
Michael Davis040a9dc2017-07-10 17:53:48 -05007 <h2 class="h4">Server LED control</h2>
Michael Davis5a752b22017-03-09 09:41:08 -06008 </div>
9
Iftekharul Islamcd789502017-04-19 14:37:55 -050010 <div class="row column" ng-class="{disabled: dataService.server_unreachable || dataService.loading}">
Michael Davis5a752b22017-03-09 09:41:08 -060011 <div class="btm-border-grey">
Iftekharul Islamcd789502017-04-19 14:37:55 -050012 <div class="toggle inline">
Michael Davisc5626182017-03-10 15:48:05 -060013 <input id="toggle__switch-round"
14 class="toggle-switch toggle-switch__round-flat"
15 type="checkbox"
16 tabindex="0"
Iftekharul Islamcd789502017-04-19 14:37:55 -050017 ng-click="toggleLED()"
18 ng-checked="dataService.LED_state == 'on'"
19 ng-disabled="dataService.server_unreachable"
Michael Davisc5626182017-03-10 15:48:05 -060020 >
Michael Davise126be72017-05-08 11:20:12 -050021 <label for="toggle__switch-round" tabindex="0">Server indicator is <span class="uid-switch__status">{{dataService.LED_state}}</span></label>
Michael Davis5a752b22017-03-09 09:41:08 -060022 </div>
23 <div class="uid-switch__label inline">
Michael Davis040a9dc2017-07-10 17:53:48 -050024 <p>Server LED is <span class="uid-switch__status">{{dataService.LED_state}}</span></p>
25 <p>Control server LED to identify server unit</p>
Michael Davis5a752b22017-03-09 09:41:08 -060026 </div>
27 </div>
28 </div>
Michael Davisc5626182017-03-10 15:48:05 -060029</div>