abgame/templates/index.html

47 lines
1.9 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>
2023-06-05 10:32:01 +02:00
<a href="mailto:{{ mailto }}">{{ mailtext }}</a> -
<a href="">Hilfe?
<div id="help">
<strong>{{ help }}</strong>
<p>{{ help_1 }}</p>
{%- if help_2 %}
<p>{{ help_2 }}</p>
{%- endif %}
{%- if help_3 %}
<p>{{ help_3 }}</p>
{%- endif %}
{%- if help_4 %}
<p>{{ help_4 }}</p>
{%- endif %}
{%- if help_5 %}
<p>{{ help_5 }}</p>
{%- endif %}
</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 %}