mapid/fifo-webui/index.php

49 lines
1.2 KiB
PHP
Raw Normal View History

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>
<form action="command.php" method="POST">
<input type="hidden" name="cmd" value="getty">
<button type="submit">Getty</button>
</form>
</section>
<section>
<form action="command.php" method="POST">
<input type="hidden" name="cmd" value="cls">
<button type="submit">Clear</button>
</form>
</section>
<section>
<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>
<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-10-15 18:41:15 +02:00
</main>
</body>
</html>