abgame/templates/index.html

29 lines
1.2 KiB
HTML
Raw Normal View History

2023-06-04 11:53:32 +02:00
{% extends 'base.html' %}
2023-06-03 16:19:39 +02:00
2023-06-04 11:53:32 +02:00
{% block main %}
2023-06-03 16:19:39 +02:00
{%- set id = namespace(value=0) %}
{%- for question in content %}
{%- set id.value = id.value + 1 %}
<div class="ab">
<input type="radio" id="a{{ id.value }}" class="a" name="group-{{ id.value }}">
<label for="a{{ id.value }}" class="a" title="{{ question['A'] }}"> A)&nbsp;{{ question['A'] }}</label>
<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" title="{{ question['B'] }}">B)&nbsp;{{ question['B'] }}</label>
2023-06-02 10:11:06 +02:00
</div>
2023-06-03 16:19:39 +02:00
<hr>
{%- endfor %}
<div id="footer">
2023-06-04 11:53:32 +02:00
<div id="questions">
{{ questions_prefix }} {{ num_lines }} {{ questions_suffix }}
<br>
<a href="mailto:{{ mailto }}">Einreichen!</a>
2023-06-04 01:19:02 +02:00
</div>
2023-06-04 11:53:32 +02:00
{% include 'toggle.html' %}
2023-06-03 16:19:39 +02:00
<form action="/" method="get">
<input type="hidden" name="t" value="{{ epoch }}">
<button id="next" type="submit">{{ more }}</button>
</form>
</div>
2023-06-04 11:53:32 +02:00
{% endblock %}