diff options
| author | Gunnar Mills <gmills@us.ibm.com> | 2018-07-11 16:40:58 -0500 |
|---|---|---|
| committer | Gunnar Mills <gmills@us.ibm.com> | 2018-07-13 19:06:21 +0000 |
| commit | 4129f4025b0ee1245a4ba0353780bf490034b704 (patch) | |
| tree | 5c31629529d7ce0707be6c4ae326a185858eb518 /app/server-control/controllers/server-led-controller.html | |
| parent | 4b1f24c7d9abf9a4ed4c14eec68029e48212ce11 (diff) | |
| download | phosphor-webui-4129f4025b0ee1245a4ba0353780bf490034b704.tar.gz phosphor-webui-4129f4025b0ee1245a4ba0353780bf490034b704.zip | |
Rename Server LED files
The menu item is called "Server LED".
The title is called "Server LED".
The route is server-control/server-led.
Tested: Verified server LED still works.
Change-Id: I1c70cfb6cd36868a191aa51363437dcdcc6d9a6b
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'app/server-control/controllers/server-led-controller.html')
| -rw-r--r-- | app/server-control/controllers/server-led-controller.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/app/server-control/controllers/server-led-controller.html b/app/server-control/controllers/server-led-controller.html new file mode 100644 index 0000000..dba6923 --- /dev/null +++ b/app/server-control/controllers/server-led-controller.html @@ -0,0 +1,28 @@ +<div id="led-switch"> + <div class="row column"> + <h1>Server LED</h1> + <div class="page-header"> + <h2 class="h4">LED light control</h2> + </div> + </div> + + <div class="row column" ng-class="{disabled: dataService.server_unreachable || dataService.loading}"> + <div class="btm-border-grey"> + <div class="toggle inline"> + <input id="toggle__switch-round" + class="toggle-switch toggle-switch__round-flat" + type="checkbox" + tabindex="0" + ng-click="toggleLED()" + ng-checked="dataService.LED_state == 'on'" + ng-disabled="dataService.server_unreachable" + > + <label for="toggle__switch-round" tabindex="0">Server indicator is <span class="led-switch__status">{{dataService.LED_state}}</span></label> + </div> + <div class="led-switch__label inline"> + <p>Server LED light is <span class="led-switch__status">{{dataService.LED_state}}</span></p> + <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> + </div> + </div> + </div> +</div> |

