diff --git a/fifo-webui/command.php b/fifo-webui/command.php index 8767574..6c3e644 100644 --- a/fifo-webui/command.php +++ b/fifo-webui/command.php @@ -16,6 +16,18 @@ switch ($_POST["cmd"]) { case "cls": fwrite($f, "CLS"); break; + case "on": + fwrite($f, "ON"); + break; + case "off": + fwrite($f, "OFF"); + break; + case "lcdon": + fwrite($f, "LCDON"); + break; + case "lcdoff": + fwrite($f, "LCDOFF"); + break; case "line": fwrite($f, "LINE "); fwrite($f, $_POST["line"]); diff --git a/fifo-webui/index.php b/fifo-webui/index.php index b7193f0..bc50c7b 100644 --- a/fifo-webui/index.php +++ b/fifo-webui/index.php @@ -26,6 +26,26 @@ $Title = "MAPID-FIFO Web-UI"; +
+
+ + +
+
+ + +
+
+
+
+ + +
+
+ + +
+
diff --git a/fifo-webui/style.css b/fifo-webui/style.css index f7baa8e..d387d00 100644 --- a/fifo-webui/style.css +++ b/fifo-webui/style.css @@ -20,6 +20,11 @@ section { margin: 0 0 2em; } +form { + display: inline-block; + margin-right: .5em; +} + input, select { border-radius: 6px; padding: 6px 14px;