mapid/fifo-webui/index.php

42 lines
1 KiB
PHP

<?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">
<title></title>
</head>
<body>
<header>
<h1><?=$Title?></h1>
</header>
<main>
<form action="command.php" method="POST">
<input type="hidden" name="cmd" value="getty">
<button type="submit">Getty</button>
</form>
<hr>
<form action="command.php" method="POST">
<input type="hidden" name="cmd" value="cls">
<button type="submit">Clear</button>
</form>
<hr>
<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>
<hr>
<form action="command.php" method="POST">
<input type="hidden" name="cmd" value="echo">
<input type="text" name="text">
<button type="submit">Output</button>
</form>
</main>
</body>
</html>