summaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html18
1 files changed, 13 insertions, 5 deletions
diff --git a/templates/index.html b/templates/index.html
index 852fdd7..af8ac6c 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -16,14 +16,22 @@
16<div id="contenu"> 16<div id="contenu">
17 17
18<p>Cochez la case dès que vous entendez une réplique idiote !</p> 18<p>Cochez la case dès que vous entendez une réplique idiote !</p>
19{% if conf.reponses_presentes %}
20<p>Un deuxième clic permet d'afficher (ou de masquer) une réponse épique !</p>{%endif %}
19<table id="grille"> 21<table id="grille">
20{% for ligne in bingo %} 22{% for ligne in bingo %}
21<tr>{% for elt in ligne %} 23<tr>{% for elt in ligne %}
22 {% if elt == "0" %} 24 {% if elt | length == 0 %} <td class="vide"></td>
23 <td class="vide"></td> 25 {% else %}<td onmousedown='validecase(this)'>
24 {% else %} 26 {% for p in elt %}
25 <td onclick='validecase(this)'>{{ elt }}</td> 27 {% if loop.index == 1 %}
26 {% endif %} 28 <span class="phrase" >{{ p }}</span>
29 {% else %}
30 <span class="reponse">{{ p }}</span>
31 {% endif %}
32 {% endfor %}
33 </td>
34 {% endif %}
27 {% endfor %} 35 {% endfor %}
28</tr> 36</tr>
29{% endfor %} 37{% endfor %}