abgame/templates/index.html

43 lines
2.2 KiB
HTML
Raw Normal View History

2023-06-02 14:31:53 +02:00
<!DOCTYPE html>
<html lang="{{ lang }}">
2023-06-02 10:11:06 +02:00
<head>
<title>{{ title }}</title>
<link rel="stylesheet" type="text/css" href="/css/ab.css?t={{ epoch }}">
2023-06-02 16:46:45 +02:00
<link rel="apple-touch-icon" sizes="180x180" href="{{ url_for('static', filename='apple-touch-icon.png') }}">
<link rel="icon" type="image/png" sizes="32x32" href="{{ url_for('static', filename='favicon-32x32.png') }}">
<link rel="icon" type="image/png" sizes="16x16" href="{{ url_for('static', filename='favicon-16x16.png') }}">
<link rel="manifest" href="{{ url_for('static', filename='site.webmanifest') }}">
<link rel="mask-icon" href="{{ url_for('static', filename='safari-pinned-tab.svg') }}" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
2023-06-02 14:31:53 +02:00
<meta name="viewport" content="width=device-width,initial-scale=1">
2023-06-02 15:05:24 +02:00
<meta name="robots" content="noindex, nofollow">
2023-06-02 10:11:06 +02:00
</head>
<body>
<div id="content">
<div id="header">{{ title }}</div>
2023-06-03 03:15:26 +02:00
<hr>
2023-06-02 18:48:35 +02:00
{%- set id = namespace(value=0) %}
{%- for question in content %}
{%- set id.value = id.value + 1 %}
2023-06-02 10:11:06 +02:00
<div class="ab">
<input type="radio" id="a{{ id.value }}" class="a" name="group-{{ id.value }}">
<label for="a{{ id.value }}" class="a"> A)&nbsp;{{ question['A'] }}</label>
2023-06-02 10:11:06 +02:00
<div class="separator">{{ separator }}</div>
<input type="radio" id="b{{ id.value }}" class="b" name="group-{{ id.value }}">
<label for="b{{ id.value }}" class="b">B)&nbsp;{{ question['B'] }}</label>
2023-06-02 10:11:06 +02:00
</div>
2023-06-03 02:28:52 +02:00
<hr>
2023-06-02 18:48:35 +02:00
{%- endfor %}
2023-06-02 15:25:02 +02:00
<div id="footer">
<div id="questions">{{ questions_prefix }} {{ num_lines }} {{ questions_suffix }}<br><a href="mailto:{{ mailto }}">Einreichen!</a></div>
<div class="separator">&nbsp;</div>
<form action="/" method="get">
<input type="hidden" name="t" value="{{ epoch }}">
<button id="next" type="submit">{{ more }}</button>
</form>
2023-06-02 15:25:02 +02:00
</div>
2023-06-02 10:11:06 +02:00
</div>
</body>
</html>