Info about deadline
[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
30 </style>
31
32 <h1>Wielki Turniej Edukacji Medialnej</h1>
33 <div class="wtem-fixed-info">Rozwiązania można wysyłać do godziny 17:30.</div>
34
35 <form method="post" enctype="multipart/form-data">
36 {% csrf_token %}
37
38 {% for exercise in exercises %}
39     {% with 'wtem/exercises/'|add:exercise.type|add:'.html' as template_name %}
40     {% include  template_name with exercise=exercise no=forloop.counter %}
41     {% endwith %}
42 {% endfor %}
43
44
45 <hr/>
46 <input type="hidden" name="answers" value=""/>
47 <button style="display: block; margin: auto;" id="submit_answers">Wyślij moje odpowiedzi</button>
48
49 </form>
50
51 {% endblock %}