Docker: added cpu load and memory load display

This commit is contained in:
bergware
2018-06-03 09:12:22 +02:00
parent b98935813a
commit e90ba2d00f
2 changed files with 6 additions and 3 deletions
@@ -102,6 +102,9 @@ function loadlist(update) {
resize();
$(window).bind('resize',function(){resize(true);});
<?endif;?>
$('.iconstatus').each(function(){
if ($(this).hasClass('stopped')) $('div.'+$(this).prop('id')).hide();
});
$('.autostart').switchButton({labels_placement:"right"});
$('.autostart').change(function() {
$.post( "/plugins/dynamix.docker.manager/include/UpdateConfig.php",{action:'autostart',container:$(this).attr('container'),response:'json'},function(data){$(this).prop('checked',data.autostart);},'json');