diff options
Diffstat (limited to 'html/maintenance.php')
-rw-r--r-- | html/maintenance.php | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/html/maintenance.php b/html/maintenance.php index 677d750..ca22155 100644 --- a/html/maintenance.php +++ b/html/maintenance.php @@ -126,5 +126,18 @@ if (array_key_exists('ddns', $_GET)) { die(); } +?><html><body> +<h1>Query machines</h1> +<?php + +$result = $db -> query('SELECT machines.name AS machine FROM machines'); +while ($row = $result -> fetchArray()) { + echo '<a href="?machine=' . $row['machine'] . '">' . $row['machine'] . '</a><br>' . "\n"; +} -echo "ok\n"; +?> +<h1>Global Tasks</h1> +<a href="?ddns">ddns</a><br> +<h1>Danger zone</h1> +<a href="?drop=DROP">drop</a><br> +</body></html> |