1 |
<?php |
<?php |
2 |
|
|
3 |
|
if (! file_exists("config.php") ) { |
4 |
|
die("Could not find config.php file"); |
5 |
|
} |
6 |
|
|
7 |
require("config.php"); |
require("config.php"); |
8 |
|
|
9 |
function format_memory($size) { |
function format_memory($size) { |
315 |
vm.find('.cpu_graph').hide(); |
vm.find('.cpu_graph').hide(); |
316 |
vm.find('.mem_graph').hide(); |
vm.find('.mem_graph').hide(); |
317 |
} |
} |
318 |
|
vm.find('.state').attr('title', state); |
319 |
|
|
320 |
}); |
}); |
321 |
$('#logo').show(); |
$('#logo').show(); |
532 |
<span class="actionstop" style='display:none'> |
<span class="actionstop" style='display:none'> |
533 |
start | |
start | |
534 |
<a href='#' onclick="doAction('shutdown','<?php echo $uuid;?>','<?php echo $clean_name;?>')" >stop</a> | |
<a href='#' onclick="doAction('shutdown','<?php echo $uuid;?>','<?php echo $clean_name;?>')" >stop</a> | |
535 |
<a href='#' onclick="doAction('hardshutdown','<?php echo $uuid;?>','<?php echo $clean_name;?>')" >force shutdown</a> |
<a href='#' onclick="doAction('hardshutdown','<?php echo $uuid;?>','<?php echo $clean_name;?>')" >force shutdown</a> | |
536 |
|
<a href='#' onclick="doAction('hardreboot','<?php echo $uuid;?>','<?php echo $clean_name;?>')" >force reboot</a> |
537 |
</span> |
</span> |
538 |
|
|
539 |
<span class="actionstart" style='display:none'> |
<span class="actionstart" style='display:none'> |