diff options
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")); } |