| Michael Davis | 9e00ce9 | 2017-03-09 18:31:02 -0600 | [diff] [blame] | 1 | <div id="uid-switch"> | 
| Michael Davis | 5a752b2 | 2017-03-09 09:41:08 -0600 | [diff] [blame] | 2 | <div class="row column"> | 
| Michael Davis | e126be7 | 2017-05-08 11:20:12 -0500 | [diff] [blame] | 3 | <h1>Server indicator</h1> | 
| Michael Davis | 5a752b2 | 2017-03-09 09:41:08 -0600 | [diff] [blame] | 4 | </div> | 
|  | 5 |  | 
|  | 6 | <div class="row column"> | 
| Michael Davis | e126be7 | 2017-05-08 11:20:12 -0500 | [diff] [blame] | 7 | <h2 class="h4">Server indicator control</h2> | 
| Michael Davis | 5a752b2 | 2017-03-09 09:41:08 -0600 | [diff] [blame] | 8 | </div> | 
|  | 9 |  | 
| Iftekharul Islam | cd78950 | 2017-04-19 14:37:55 -0500 | [diff] [blame] | 10 | <div class="row column" ng-class="{disabled: dataService.server_unreachable || dataService.loading}"> | 
| Michael Davis | 5a752b2 | 2017-03-09 09:41:08 -0600 | [diff] [blame] | 11 | <div class="btm-border-grey"> | 
| Iftekharul Islam | cd78950 | 2017-04-19 14:37:55 -0500 | [diff] [blame] | 12 | <div class="toggle inline"> | 
| Michael Davis | c562618 | 2017-03-10 15:48:05 -0600 | [diff] [blame] | 13 | <input id="toggle__switch-round" | 
|  | 14 | class="toggle-switch toggle-switch__round-flat" | 
|  | 15 | type="checkbox" | 
|  | 16 | tabindex="0" | 
| Iftekharul Islam | cd78950 | 2017-04-19 14:37:55 -0500 | [diff] [blame] | 17 | ng-click="toggleLED()" | 
|  | 18 | ng-checked="dataService.LED_state == 'on'" | 
|  | 19 | ng-disabled="dataService.server_unreachable" | 
| Michael Davis | c562618 | 2017-03-10 15:48:05 -0600 | [diff] [blame] | 20 | > | 
| Michael Davis | e126be7 | 2017-05-08 11:20:12 -0500 | [diff] [blame] | 21 | <label for="toggle__switch-round" tabindex="0">Server indicator is <span class="uid-switch__status">{{dataService.LED_state}}</span></label> | 
| Michael Davis | 5a752b2 | 2017-03-09 09:41:08 -0600 | [diff] [blame] | 22 | </div> | 
|  | 23 | <div class="uid-switch__label inline"> | 
| Michael Davis | e126be7 | 2017-05-08 11:20:12 -0500 | [diff] [blame] | 24 | <p>Server indicator is <span class="uid-switch__status">{{dataService.LED_state}}</span></p> | 
|  | 25 | <p>Control unit indicator to identify server unit</p> | 
| Michael Davis | 5a752b2 | 2017-03-09 09:41:08 -0600 | [diff] [blame] | 26 | </div> | 
|  | 27 | </div> | 
|  | 28 | </div> | 
| Michael Davis | c562618 | 2017-03-10 15:48:05 -0600 | [diff] [blame] | 29 | </div> |