abgame/templates/index.html

34 lines
1.4 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 }}">
2023-06-05 17:05:27 +02:00
<label for="a{{ id.value }}" class="a slide{{ id.value }}" title="{{ question['A'] }}"> A)&nbsp;{{ question['A'] }}</label>
2023-06-03 16:19:39 +02:00
<div class="separator">{{ separator }}</div>
<input type="radio" id="b{{ id.value }}" class="b" name="group-{{ id.value }}">
2023-06-05 17:05:27 +02:00
<label for="b{{ id.value }}" class="b slide{{ id.value }}" 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>
2023-06-05 10:32:01 +02:00
<a href="mailto:{{ mailto }}">{{ mailtext }}</a> -
2023-06-05 16:43:21 +02:00
<a href="#">{{ helptext }}
2023-06-05 10:32:01 +02:00
<div id="help">
2023-06-05 16:43:21 +02:00
{{ help|safe }}
2023-06-05 10:32:01 +02:00
</div>
</a>
2023-06-04 01:19:02 +02:00
</div>
2023-06-04 12:18:28 +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 %}