dualis-poc
This commit is contained in:
@ -8,15 +8,23 @@
|
||||
<body>
|
||||
<h1>Verfügbare Raplas </h1>
|
||||
{% block content %}
|
||||
{% for i in range (raplas[0]|length) %}
|
||||
<h2> <a href={{ url_for("getRapla", file=raplas[1][i]) }}> {{ raplas [0] [i] }}</a> </h2>
|
||||
{% endfor %}
|
||||
<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>
|
||||
<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!" formaction={{ url_for("getRapla", new="True", url=url) }}>
|
||||
<input type="submit" value="Importieren!">
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user