rapla-poc
This commit is contained in:
22
templates/rapla.html
Normal file
22
templates/rapla.html
Normal file
@ -0,0 +1,22 @@
|
||||
<!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 %}
|
||||
{% for i in range (raplas[0]|length) %}
|
||||
<h2> <a href={{ url_for("getRapla", file=raplas[1][i]) }}> {{ raplas [0] [i] }}</a> </h2>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
<h1>Eigenen Rapla hinzufügen</h1>
|
||||
<form>
|
||||
<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) }}>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user