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>
diff --git a/app/server-control/controllers/unit-id-controller.html b/app/server-control/controllers/server-led-controller.html
similarity index 84%
rename from app/server-control/controllers/unit-id-controller.html
rename to app/server-control/controllers/server-led-controller.html
index bc9c345..dba6923 100644
--- a/app/server-control/controllers/unit-id-controller.html
+++ b/app/server-control/controllers/server-led-controller.html
@@ -1,4 +1,4 @@
-<div id="uid-switch">
+<div id="led-switch">
<div class="row column">
<h1>Server LED</h1>
<div class="page-header">
@@ -17,12 +17,12 @@
ng-checked="dataService.LED_state == 'on'"
ng-disabled="dataService.server_unreachable"
>
- <label for="toggle__switch-round" tabindex="0">Server indicator is <span class="uid-switch__status">{{dataService.LED_state}}</span></label>
+ <label for="toggle__switch-round" tabindex="0">Server indicator is <span class="led-switch__status">{{dataService.LED_state}}</span></label>
</div>
- <div class="uid-switch__label inline">
- <p>Server LED light is <span class="uid-switch__status">{{dataService.LED_state}}</span></p>
+ <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>
\ No newline at end of file
+</div>
diff --git a/app/server-control/controllers/unit-id-controller.js b/app/server-control/controllers/server-led-controller.js
similarity index 86%
rename from app/server-control/controllers/unit-id-controller.js
rename to app/server-control/controllers/server-led-controller.js
index 3648acd..e804606 100644
--- a/app/server-control/controllers/unit-id-controller.js
+++ b/app/server-control/controllers/server-led-controller.js
@@ -1,15 +1,15 @@
/**
- * Controller for unit Id
+ * Controller for server LED
*
* @module app/serverControl
- * @exports unitIdController
- * @name unitIdController
+ * @exports serverLEDController
+ * @name serverLEDController
*/
window.angular && (function(angular) {
'use strict';
- angular.module('app.serverControl').controller('unitIdController', [
+ angular.module('app.serverControl').controller('serverLEDController', [
'$scope', '$window', 'APIUtils', 'dataService',
function($scope, $window, APIUtils, dataService) {
$scope.dataService = dataService;