{label_last_online}: {last_online_nice}
{label_last_check}: {last_checked_nice}
diff --git a/static/css/style.css b/static/css/style.css old mode 100644 new mode 100755 index 564a9935..f12060b9 --- a/static/css/style.css +++ b/static/css/style.css @@ -20,6 +20,9 @@ body.install{ .label-status-off{ background-color: #B94A48; } +.label-status-warning{ + background-color: #FAA732; +} .label a{ color:#FFF; text-decoration:none; diff --git a/static/js/scripts.js b/static/js/scripts.js old mode 100644 new mode 100755 index 2470584c..493e5f0b --- a/static/js/scripts.js +++ b/static/js/scripts.js @@ -1,11 +1,19 @@ function sm_delete(id, mod) { var del = confirm("Are you sure you want to delete this record?"); - if (del == true) { + if (del === true) { var loc = 'index.php?action=delete&id=' + id + '&mod=' + mod; window.location = loc; } } +function psm_tooltips() { + $('input[data-toggle="tooltip"]').tooltip({ + 'trigger':'focus', + 'placement': 'right', + 'container': 'body' + }); +} + function trim(str) { return str.replace(/^\s+|\s+$/g,""); }