--- misc/xenconsole/index.php 2012/12/10 12:20:57 1896 +++ misc/xenconsole/index.php 2012/12/11 10:18:25 1903 @@ -97,6 +97,7 @@ var conurl = $(this).find('conurl').text(); var session = $(this).find('session').text(); var os = $(this).find('os').text(); + var guestversion = $(this).find('guestversion').text(); var cpuavg = $(this).find('cpuavg').text(); var curmem = $(this).find('curmem').text(); var maxmem = $(this).find('maxmem').text(); @@ -110,6 +111,10 @@ var vm = $(id); + if (guestversion != '') { + os += ' Guest Tools: ' + guestversion; + } + if (state == "Running") { vm.find('.state').css("background-image", "url('gfx/vps_topgreen.png')"); vm.find('.network').show(); @@ -135,6 +140,8 @@ } else { vm.find('.state').css("background-image", "url('gfx/vps_topyellow.png')"); } + vm.find('.os').text(''); + vm.find('.network').hide(); vm.find('.console').hide(); vm.find('.actionstop').hide(); @@ -228,18 +235,20 @@
+ +
12%
0/4 MB
- + @@ -252,6 +261,7 @@ } $name = $vm["name_label"]; + $description = $vm["name_description"]; $uuid = $vm["uuid"]; $state = $vm["power_state"] ; $memory = $vm['memory_target']; @@ -277,8 +287,8 @@ - - + --> -
  + +