RpiTX2/Dev_PocSag/templates/index.html

23 lines
771 B
HTML
Raw Permalink Normal View History

2024-06-09 20:12:09 +02:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Envoyer un message POCSAG</title>
</head>
<body>
<h1>Envoyer un message POCSAG</h1>
<form action="/" method="post">
<label for="capcode">CapCode:</label>
<select id="capcode" name="capcode" required>
{% for item in data %}
<option value="{{ item.CapCode }}">{{ item.CapCode }}</option>
{% endfor %}
</select><br><br>
<label for="message">Message:</label><br>
<textarea id="message" name="message" rows="4" cols="50" required></textarea><br><br>
<input type="submit" value="Envoyer le message">
</form>
</body>
</html>