update sciezki
[edumed.git] / edumed / templates / contact / sciezki-kopernika-test / results.html
1 {% extends base_template|default:"base.html" %}
2 {% load i18n %}
3
4 {% block title %}Wyniki{% endblock %}
5
6 {% block body %}
7     {% include 'sciezki_logos.html' %}
8     <h1>Wyniki</h1>
9
10     <p>Suma uzyskanych punktów: {{ results.points|floatformat }} na {{ results.total }} możliwych.</p>
11
12     <p class="box-button" style="max-width: 20em;"><a href="{% url 'contact_form' 'sciezki-kopernika' %}" class="nice-button">Zgłoś się na warsztaty</a></p>
13
14     {% for question in results.questions %}
15         <strong>{{ question.label }}</strong>
16         <ol class="alpha">
17             {% for answer, chosen, correct in question.answers %}
18                 <li style="{% if chosen %}font-weight: bold;{% endif %}{% if correct %}color: #00cc44;{% endif %}">{{ answer }}</li>
19             {% endfor %}
20         </ol>
21         {% if question.chosen == question.correct %}
22             <p>Wybrana poprawna odpowiedź {{ question.chosen }}.</p>
23         {% else %}
24             <p>Wybrana odpowiedź {{ question.chosen }}, poprawna odpowiedź {{ question.correct }}.</p>
25         {% endif %}
26         <p><strong>Komentarz do odpowiedzi:</strong></p>
27         {{ question.comment }}
28     {% endfor %}
29     <p class="box-button" style="max-width: 20em;"><a href="{% url 'contact_form' 'sciezki-kopernika' %}" class="nice-button">Zgłoś się na warsztaty</a></p>
30     <p>Pytania stworzyli: Grzegorz Stunża, Marcin Wilkowski.</p>
31     <p>Komentarzami opatrzyli: Paulina Piasecka, Paweł Maranowski.</p>
32
33 {% endblock %}