Files
DualHub/templates/rapla.html
2023-11-21 23:24:31 +01:00

31 lines
1.3 KiB
HTML

<!DOCTYPE html>
<html lang="de">
<head>
<title> {{headermessage}} 👀</title>
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='style.css') }}">
<script async src="https://analytics.paulmartin.cloud/script.js" data-website-id="1c02dacf-6952-4560-a303-0c25f432c48d"></script>
</head>
<body>
<h1>Verfügbare Raplas </h1>
{% block content %}
<form method="post" action={{ url_for ("getRapla") }}>
<label for="file">Vefügbaren RAPLA wählen! </label>
<select name="file" id="file">
<option value = "none" selected disabled hidden></option>
{% for i in range (raplas[0]|length) %}
<option value= {{ raplas [1] [i] }}>{{ raplas [0] [i] }} </option>
{% endfor %}
</select>
<input type="submit" value="Importieren!">
</form>
{% endblock %}
<h1>Eigenen Rapla hinzufügen</h1>
<form method="post" action={{ url_for ("getRapla") }}>
<label for="url">Rapla-URL eingeben, falls Du deinen Kurs nicht siehst:</label>
<input type="text" name="url" id="url">
<input type="submit" value="Importieren!">
</form>
</body>
</html>