Tweaking instructions
[edumed.git] / wtem / templates / wtem / main.html
1 {% extends 'base_super.html' %}
2 {% load compressed %}
3
4 {% block extra_script %}
5     {% compressed_js 'wtem' %}
6 {% endblock %}
7
8
9
10 {% block body %}
11 <style>
12     .wtem-open-field {
13         margin: 10px 0;
14     }
15     .wtem-open-field textarea {
16         margin-top:0;
17     }
18     .wtem-fixed-info {
19         top: 20px;
20         left: 20px;
21         border: 1px solid black;
22         background: #16a487;
23         border-radius: 0.938em;
24         padding: 5px 2px;
25         color: white;
26         text-align: center;
27         font-weight: bold;
28     }
29     .wtem-items-inline li {
30         display: inline-block;
31     }
32     .instruction {
33         font-weight: bold;
34     }
35
36 </style>
37
38 <h1>Wielki Turniej Edukacji Medialnej</h1>
39 <div class="wtem-fixed-info">Rozwiązania można wysyłać do godziny 17:30.</div>
40
41 <form method="post" enctype="multipart/form-data">
42 {% csrf_token %}
43
44 {% for exercise in exercises %}
45     {% with 'wtem/exercises/'|add:exercise.type|add:'.html' as template_name %}
46     {% include  template_name with exercise=exercise no=forloop.counter %}
47     {% endwith %}
48 {% endfor %}
49
50
51 <hr/>
52 <input type="hidden" name="answers" value=""/>
53 <button style="display: block; margin: auto;" id="submit_answers">Wyślij moje odpowiedzi</button>
54
55 </form>
56
57 {% endblock %}