hostname in header
This commit is contained in:
parent
918d6b561b
commit
6b3c8cc71b
|
@ -27,4 +27,4 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script src="nlvmi.js"></script>
|
<script src="nlvmi.js"></script>
|
||||||
<div class=container-fluid><div class="row" style="background-color:lightgreen;"><div class="col"><h1><a href="?" style=color:white;>nlvmi</a></h1></div></div>
|
<div class=container-fluid><div class="row" style="background-color:lightgreen;"><div class="col"><h1><a href="?" style=color:white;>nlvmi</a><a href="?" style="color:black;font-size:10px;">@<?php echo gethostname();?></a></h1></div></div>
|
||||||
|
|
|
@ -221,7 +221,9 @@ while ($row = $res->fetchArray(SQLITE3_ASSOC)){
|
||||||
} else {
|
} else {
|
||||||
$button = "stop";
|
$button = "stop";
|
||||||
}
|
}
|
||||||
echo "<div class=col style=\"border:solid 1px;\">$row[vmname]</br><a class=\"btn btn-primary\" href=?edit=$row[id]>edit</a> <a href=?$button=$row[vmname] class=\"btn btn-primary\">$button</a> <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></div>";
|
echo "<div class=col style=\"border:solid 1px;\">$row[vmname]</br><a class=\"btn btn-primary\" href=?edit=$row[id]>edit</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></div>";
|
||||||
}
|
}
|
||||||
echo "</div></div></body></html>";
|
echo "</div></div></body></html>";
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue