added a return button
parent
95b4d09324
commit
732f391fec
|
@ -28,10 +28,13 @@ echo "Done.";
|
|||
<body class="status_page">
|
||||
<h1> Strassenkind Server Status </h1>
|
||||
<hr />
|
||||
<form action="" method="post">
|
||||
<input type="submit" value="Run ondemand commands" name="ondemand" />
|
||||
</form>
|
||||
<hr />
|
||||
<?php
|
||||
if (!isset($_POST['ondemand'])) {
|
||||
echo "<form action=\"\" method=\"post\"><input type=\"submit\" value=\"Run ondemand commands\" name=\"ondemand\" /></form><hr />";
|
||||
} else {
|
||||
echo "<a href=\"\"><button> Return to regular status commands </button></a>";
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
// run ondemand command list if demanded
|
||||
if (isset($_POST['ondemand'])) {
|
||||
|
|
Loading…
Reference in New Issue