Move server LED files
The WebUI has a main menu with 5 options: Server overview,
Server health, Server control, Server Configuration, Users.
These 5 main menu items each have a directory in /app/,
although the directory names differ slightly.
These 5 main menu items are also modules whose content includes
their sub-menu items (again names differ slightly).
E.g. "Firmware" and "Network settings" are sub-menu items of the
main menu item "Server configuration" which is located in the
app/configuration dir and part of the app.configuration module.
The Server LED sub menu item did not follow this pattern and was
under the wrong directory and in the wrong module. Moved it.
In a future commit I renamed it from unit-id.
Tested: Verified server LED still works.
Change-Id: I02e3a7995cf8ccc5b487c345866651d984c8d70c
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/app/server-control/index.js b/app/server-control/index.js
index 0b0fa93..f9aaba9 100644
--- a/app/server-control/index.js
+++ b/app/server-control/index.js
@@ -21,8 +21,7 @@
authenticated: true
})
.when('/server-control/server-led', {
- 'template': require(
- '../server-health/controllers/unit-id-controller.html'),
+ 'template': require('./controllers/unit-id-controller.html'),
'controller': 'unitIdController',
authenticated: true
})