summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-09-29 14:20:54 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-09-29 14:22:52 (GMT)
commitdb696189e8b0b40878b5d734b0cdf2ff3ac240d5 (patch)
tree4f66273d7ca5b83f1766269df4c860300daf5705 /www/js
parentabff311cf69765ce7afebfb1523d37717af88e8e (diff)
make clock reusable, basic scaffolding for main app
Diffstat (limited to 'www/js')
-rw-r--r--www/js/rhctl.js (renamed from www/js/system.js)16
1 files changed, 2 insertions, 14 deletions
diff --git a/www/js/system.js b/www/js/rhctl.js
index 0c7bba6..c70f8ee 100644
--- a/www/js/system.js
+++ b/www/js/rhctl.js
@@ -21,18 +21,6 @@
'use strict';
-function system_init() {
- $.getJSON( "/rh-bin/activesystem.json", function(data) {
- if(data.status == "OK") {
- var systemspan = $('#system span.system-name').removeClass().addClass('system-name').addClass('label');
-
- if(data.system == "master") {
- systemspan.addClass('label-success').text(data.system);
- } else if(data.system == "standby") {
- systemspan.addClass('label-danger').text(data.system);
- } else {
- systemspan.addClass('label-default').text("unkown");
- }
- }
- });
+function rhctl_init() {
+ $('#rhctl').append($('<h2>').text("coming soon"));
}