Files
DualHub/templates/rapla.html
2024-05-21 13:29:43 +02:00

22 lines
932 B
HTML

{% extends "index.html" %}
{% block content %}
<h1>Verfügbare Raplas </h1>
<form id="dbForm" 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>
<h1>Eigenen Rapla hinzufügen</h1>
<form id="manualForm" 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>
{% endblock %}