2023-10-15 18:41:15 +02:00
|
|
|
<?php
|
|
|
|
$Title = "MAPID-FIFO Web-UI";
|
|
|
|
|
|
|
|
?><!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2023-10-26 15:31:58 +02:00
|
|
|
<title><?=$Title?></title>
|
|
|
|
<link rel="stylesheet" type="text/css" href="style.css">
|
2023-10-15 18:41:15 +02:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<header>
|
|
|
|
<h1><?=$Title?></h1>
|
|
|
|
</header>
|
|
|
|
<main>
|
2023-10-26 15:31:58 +02:00
|
|
|
<section>
|
2023-11-08 19:58:13 +01:00
|
|
|
<h3>Welcome message</h3>
|
2023-10-26 15:31:58 +02:00
|
|
|
<form action="command.php" method="POST">
|
|
|
|
<input type="hidden" name="cmd" value="getty">
|
|
|
|
<button type="submit">Getty</button>
|
|
|
|
</form>
|
|
|
|
</section>
|
|
|
|
<section>
|
2023-11-08 19:58:13 +01:00
|
|
|
<h3>Clear screen</h3>
|
2023-10-26 15:31:58 +02:00
|
|
|
<form action="command.php" method="POST">
|
|
|
|
<input type="hidden" name="cmd" value="cls">
|
|
|
|
<button type="submit">Clear</button>
|
|
|
|
</form>
|
|
|
|
</section>
|
2023-10-26 20:44:34 +02:00
|
|
|
<section>
|
2023-11-08 19:58:13 +01:00
|
|
|
<h3>Control LED</h3>
|
2023-10-26 20:44:34 +02:00
|
|
|
<form action="command.php" method="POST">
|
|
|
|
<input type="hidden" name="cmd" value="on">
|
|
|
|
<button type="submit">LED On</button>
|
|
|
|
</form>
|
|
|
|
<form action="command.php" method="POST">
|
|
|
|
<input type="hidden" name="cmd" value="off">
|
|
|
|
<button type="submit">LED Off</button>
|
|
|
|
</form>
|
|
|
|
</section>
|
|
|
|
<section>
|
2023-11-08 19:58:13 +01:00
|
|
|
<h3>Control display</h3>
|
2023-10-26 20:44:34 +02:00
|
|
|
<form action="command.php" method="POST">
|
|
|
|
<input type="hidden" name="cmd" value="lcdon">
|
|
|
|
<button type="submit">Display On</button>
|
|
|
|
</form>
|
|
|
|
<form action="command.php" method="POST">
|
|
|
|
<input type="hidden" name="cmd" value="lcdoff">
|
|
|
|
<button type="submit">Display Off</button>
|
|
|
|
</form>
|
|
|
|
</section>
|
2023-10-26 15:31:58 +02:00
|
|
|
<section>
|
2023-11-08 19:58:13 +01:00
|
|
|
<h3>Line selection for output</h3>
|
2023-10-26 15:31:58 +02:00
|
|
|
<form action="command.php" method="POST">
|
|
|
|
<input type="hidden" name="cmd" value="line">
|
|
|
|
<select name="line" height="1">
|
|
|
|
<option value="1">1</option>
|
|
|
|
<option value="2">2</option>
|
|
|
|
</select>
|
|
|
|
<button type="submit">Select line</button>
|
|
|
|
</form>
|
|
|
|
</section>
|
|
|
|
<section>
|
2023-11-08 19:58:13 +01:00
|
|
|
<h3>Single line output</h3>
|
2023-10-26 15:31:58 +02:00
|
|
|
<form action="command.php" method="POST">
|
|
|
|
<input type="hidden" name="cmd" value="echo">
|
|
|
|
<input type="text" name="text" placeholder="Text">
|
|
|
|
<button type="submit">Output</button>
|
|
|
|
</form>
|
|
|
|
</section>
|
2023-11-08 19:58:13 +01:00
|
|
|
<section>
|
|
|
|
<h3>Multi line output</h3>
|
|
|
|
<form action="command.php" method="POST">
|
|
|
|
<input type="hidden" name="cmd" value="echo2">
|
|
|
|
<input type="text" name="line1" placeholder="Text line 1"><br>
|
|
|
|
<input type="text" name="line2" placeholder="Text line 2">
|
|
|
|
<button type="submit">Output</button>
|
|
|
|
</form>
|
|
|
|
</section>
|
2023-10-15 18:41:15 +02:00
|
|
|
</main>
|
2023-10-26 21:26:33 +02:00
|
|
|
<footer>
|
|
|
|
<p><a href="https://git.un-hack-bar.de/malte70/mapid">mapid Git-Repo</a></p>
|
|
|
|
</footer>
|
2023-10-15 18:41:15 +02:00
|
|
|
</body>
|
|
|
|
</html>
|