Files
DualHub/templates/rapla.html
2023-11-24 11:45:11 +01:00

31 lines
1.3 KiB
HTML

<!DOCTYPE html>
<html lang="de">
<head>
<title> RAPLA importieren 👀</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="459fa66e-e255-4393-8e89-ead8b1572d0d"></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="url" name="url" id="url">
<input type="submit" value="Importieren!">
</form>
</body>
</html>