--- misc/xenconsole/index.php 2013/07/23 21:03:32 2030 +++ misc/xenconsole/index.php 2013/07/23 21:14:49 2031 @@ -83,8 +83,7 @@ openConsole(conurl,session,name); }); - $('#server_memory_usage').progressbar( ); - $('#server_cpu_usage').progressbar( ); + $('.bar').progressbar( ); $('#logo').click( function() { refreshData(); @@ -283,13 +282,15 @@ } vm.find('.os').text(' - ' + os); - + cpuavg = cpuavg * 1; vm.find('.cpu_graph').show(); - vm.find('.cpu_graph').attr('src', 'usagebar.php?usage=' + cpuavg); + //vm.find('.cpu_graph').attr('src', 'usagebar.php?usage=' + cpuavg); + vm.find('.cpu_graph').progressbar( "value", cpuavg ); vm.find('.cpu_graph').attr('title', cpuavg + '%'); vm.find('.mem_graph').show(); - vm.find('.mem_graph').attr('src', 'usagebar.php?usage=' + mempercent); + //vm.find('.mem_graph').attr('src', 'usagebar.php?usage=' + mempercent); + vm.find('.mem_graph').progressbar( "value", mempercent ); vm.find('.mem_graph').attr('title', curmem + ' / ' + maxmem + ' MB' ); } else { if (state == "Halted") { @@ -531,12 +532,12 @@ -
+
VCPU -
+