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-06 17:23:23 +02:00
|
|
|
<script type="text/javascript" src="{{ url_for('static', filename='/js/autoReload.js') }}?t={{ epoch }}"></script>
|
|
|
|
<script type="text/javascript" src="{{ url_for('static', filename='/js/shortcut.js') }}?t={{ epoch }}"></script>
|
2023-06-06 14:36:24 +02:00
|
|
|
|
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) {{ question['A'] }}</label>
|
2023-06-06 21:22:45 +02:00
|
|
|
<div class="separator">{{ i18n.separator }}</div>
|
2023-06-03 16:19:39 +02:00
|
|
|
<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) {{ 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">
|
2023-06-06 10:42:00 +02:00
|
|
|
{{ i18n.questions_prefix }} {{ num_lines }} {{ i18n.questions_suffix }}
|
2023-06-04 11:53:32 +02:00
|
|
|
<br>
|
2023-06-06 14:36:24 +02:00
|
|
|
{%- if config.mailform == "true" %}
|
|
|
|
<a href="/form">{{ i18n.mailtext }}</a> -
|
|
|
|
{%- endif %}
|
2023-06-06 10:42:00 +02:00
|
|
|
<a href="#">{{ i18n.helptext }}
|
2023-06-05 10:32:01 +02:00
|
|
|
<div id="help">
|
2023-06-06 10:42:00 +02:00
|
|
|
{{ i18n.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 }}">
|
2023-06-06 10:42:00 +02:00
|
|
|
<button id="next" type="submit">{{ i18n.more }}</button>
|
2023-06-03 16:19:39 +02:00
|
|
|
</form>
|
|
|
|
</div>
|
2023-06-06 14:36:24 +02:00
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
autoReload();
|
|
|
|
monitorRadio();
|
|
|
|
</script>
|
|
|
|
{% endblock %}
|