This commit is contained in:
mad 2018-08-13 18:34:10 +02:00
parent 7916d7f257
commit 471b1a2624
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ while ($row = $res->fetchArray(SQLITE3_ASSOC)){
echo "<a href=?$button=$row[vmname] class=\"btn btn-primary\">$button</a> "; echo "<a href=?$button=$row[vmname] class=\"btn btn-primary\">$button</a> ";
echo "<button class=\"btn btn-default\" data-delete-text=\"Delete VM $row[vmname]!\" data-delete-vm=\"$row[id]\" data-delete-name=\"$row[vmname]\" data-toggle=\"modal\" data-target=\"#confirm-delete\">Delete VM</button> "; echo "<button class=\"btn btn-default\" data-delete-text=\"Delete VM $row[vmname]!\" data-delete-vm=\"$row[id]\" data-delete-name=\"$row[vmname]\" data-toggle=\"modal\" data-target=\"#confirm-delete\">Delete VM</button> ";
$server = gethostname(); $server = gethostname();
if ($button = "stop") { if ($button == "stop") {
echo "<a target=_blank href=novnc/vnc.html?path&host=$server class=\"btn btn-primary\">VNC</a></div>"; echo "<a target=_blank href=novnc/vnc.html?path&host=$server class=\"btn btn-primary\">VNC</a></div>";
} }
} }