summaryrefslogtreecommitdiffstats
path: root/app/common/services/constants.js
diff options
context:
space:
mode:
authorIftekharul Islam <iislam@us.ibm.com>2017-04-19 14:37:55 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-09-20 12:41:34 -0500
commitcd78950815d9b230f0eaa41a947fcae6d4cbbcb7 (patch)
tree3bad52ea935ec87f7fd7da424f5b959f2e4c4c29 /app/common/services/constants.js
parent994a93b29ddbae647f2cb1aae6ec94e8a26db88c (diff)
downloadphosphor-webui-cd78950815d9b230f0eaa41a947fcae6d4cbbcb7.tar.gz
phosphor-webui-cd78950815d9b230f0eaa41a947fcae6d4cbbcb7.zip
Change navigation structure
Change-Id: I12c819293ce1eda188dc9f257ae9370f1b73cb18 Signed-off-by: Iftekharul Islam <iislam@us.ibm.com>
Diffstat (limited to 'app/common/services/constants.js')
-rw-r--r--app/common/services/constants.js20
1 files changed, 18 insertions, 2 deletions
diff --git a/app/common/services/constants.js b/app/common/services/constants.js
index b98d5d6..86ba54e 100644
--- a/app/common/services/constants.js
+++ b/app/common/services/constants.js
@@ -20,7 +20,7 @@ window.angular && (function (angular) {
password: "testpass",
},
API_CREDENTIALS: {
- host: 'https://9.3.164.147'
+ host: 'https://9.41.165.233/'
},
API_RESPONSE: {
ERROR_STATUS: 'error',
@@ -43,8 +43,24 @@ window.angular && (function (angular) {
off: -1,
booting: 0,
unreachable: -2
+ },
+ LED_STATE: {
+ on: true,
+ off: false
+ },
+ LED_STATE_TEXT: {
+ on: 'on',
+ off: 'off'
+ },
+ SEVERITY_TO_PRIORITY_MAP:{
+ Informational: 'Low',
+ Error: 'High',
+ Warning: 'Medium'
+ },
+ PAGINATION: {
+ LOG_ITEMS_PER_PAGE: 4
}
};
});
-})(window.angular); \ No newline at end of file
+})(window.angular);
OpenPOWER on IntegriCloud