32 lines
1.3 KiB
HTML
32 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<link rel="stylesheet" href={{ url_for ("static", filename="style.css") }}>
|
|
<link rel="icon" type="image/x-icon" href={{ url_for ("static", filename="stern.ico") }}>
|
|
<script async src="https://analytics.paulmartin.cloud/script.js" data-website-id="e47bae7d-366c-41b8-8ac6-296e4fe30c10"></script>
|
|
<title>DHmTM {{year}}</title>
|
|
</head>
|
|
<body>
|
|
<a class="title" href={{url_for("index")}}>Fragen bearbeiten</a>
|
|
<div class="questionListContainer">
|
|
<ul class="questionList">
|
|
{% for i in range(questions|length-1, -1, -1) %}
|
|
<li class="wholeQuestion">
|
|
{{questions[i] }}
|
|
<a href={{url_for("delete", index=i)}}>(löschen)</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
<form method="post" action={{ url_for ("questionPost") }}>
|
|
<input class="input" type="text" name="question" placeholder="Neue Frage eingeben" autofocus="">
|
|
<button class="button">Bestätigen</button>
|
|
</form>
|
|
<form method="get" action={{ url_for("exportQuestions") }}>
|
|
<button class="button corner">Fragen exportieren</button>
|
|
</form>
|
|
</body>
|
|
</html>
|