diff --git a/emhttp/plugins/dynamix/DashStats.page b/emhttp/plugins/dynamix/DashStats.page index 126acb6ae..e7fb5fdba 100644 --- a/emhttp/plugins/dynamix/DashStats.page +++ b/emhttp/plugins/dynamix/DashStats.page @@ -410,8 +410,8 @@ echo "";
_(Docker Containers)_
- -
+ +
@@ -419,8 +419,8 @@ echo "";
_(Virtual Machines)_
- -
+ +
@@ -745,12 +745,12 @@ jQuery.prototype.mixedView = function(s) { if (s==0) { this.find('tr:gt(0)').hide(); this.find('span.switch').show(); - this.find('span[id^="tile_"]').hide(); + this.find('span.button').hide(); return; } this.find('tr:gt(0)').show(); this.find('span.switch').hide(); - this.find('span[id^="tile_"]').show(); + this.find('span.button').show(); if (this.attr('data')) { setTimeout(this.attr('data')); } @@ -939,8 +939,8 @@ function loadlist(init) { var started_vms = $('#vm_view').find('span.outer.vms.started').length; var stopped_vms = $('#vm_view').find('span.outer.vms.stopped').length; var paused_vms = $('#vm_view').find('span.outer.vms.paused').length; - $('#head_apps').html("_(Containers)_ -- _(Started)_: "+started_apps+", _(Stopped)_: "+stopped_apps+", _(Paused)_: "+paused_apps); - $('#head_vms').html("_(VMs)_ -- _(Started)_: "+started_vms+", _(Stopped)_: "+stopped_vms+", _(Paused)_: "+paused_vms); + $('.apps.switch').html("_(Containers)_ -- _(Started)_: "+started_apps+", _(Stopped)_: "+stopped_apps+", _(Paused)_: "+paused_apps); + $('.vms.switch').html("_(VMs)_ -- _(Started)_: "+started_vms+", _(Stopped)_: "+stopped_vms+", _(Paused)_: "+paused_vms); if ($.cookie('my_apps')!=null) $('span.apps.stopped').hide(0,noApps()); if ($.cookie('my_vms')!=null) $('span.vms.stopped').hide(0,noVMs()); }); @@ -1226,7 +1226,7 @@ function showContent() { tbody.find('.openclose').removeClass('fa-chevron-up fa-chevron-down').addClass('fa-chevron-down'); tbody.find('tr:gt(0)').hide(); tbody.find('span.switch').show(); - tbody.find('span[id^="tile_"]').hide(); + tbody.find('span.button').hide(); } } if (count['db-box1']>0) $('div#tile1').show(); diff --git a/emhttp/plugins/dynamix/sheets/DashStats.css b/emhttp/plugins/dynamix/sheets/DashStats.css index a5bdff953..7caae06c5 100644 --- a/emhttp/plugins/dynamix/sheets/DashStats.css +++ b/emhttp/plugins/dynamix/sheets/DashStats.css @@ -8,7 +8,6 @@ div[id$=chart]{margin:-12px 8px -24px -18px} div.template,div#dialogWindow,input#upload{display:none} span.head_info{width:250px;display:inline-block} span.switch{display:none} -span#head_apps,#head_vms{display:none;margin-left:0} span.head_bar{display:inline-block;width:180px} span.head_gap{padding-left:14px} span.head_time{padding-left:40px;font-size:inherit!important;font-weight:bold!important}