--- misc/xenconsole/index.php 2012/12/10 14:54:31 1899 +++ misc/xenconsole/index.php 2013/01/29 13:39:39 1920 @@ -55,7 +55,8 @@ $('.console').click( function() { var session = $(this).data('session'); var conurl = $(this).data('conurl'); - console(conurl,session); + var name = $(this).data('name'); + console(conurl,session,name); }); $('#logo').click( function() { @@ -122,6 +123,7 @@ vm.find('.console').show(); vm.find('.console').data('conurl', conurl); vm.find('.console').data('session', session); + vm.find('.console').data('name', name); vm.find('.actionstop').show(); vm.find('.actionstart').hide(); vm.find('.os').text(' - ' + os); @@ -174,7 +176,7 @@ }); } -function console(url, session) { +function console(url, session, name) { if (url == '') return; @@ -182,7 +184,7 @@ if (key == "" || key == null) { return; } - var url = "console.php?url=" + url + "&session=" + session + "&key=" + key; + var url = "console.php?url=" + url + "&session=" + session + "&key=" + key + "&name=" + name; //window.location = url; //$('#mainwindow').load(url); @@ -235,18 +237,20 @@
+ +
12%
0/4 MB
- + @@ -259,6 +263,7 @@ } $name = $vm["name_label"]; + $description = $vm["name_description"]; $uuid = $vm["uuid"]; $state = $vm["power_state"] ; $memory = $vm['memory_target']; @@ -284,7 +289,7 @@ - +