diff options
author | Denise sur Lya <sekhmet@lya> | 2021-07-28 10:31:46 +0200 |
---|---|---|
committer | Denise sur Lya <sekhmet@lya> | 2021-07-28 10:31:46 +0200 |
commit | 77986b320dfc33625ea2df7f4049cb6c7f8c222e (patch) | |
tree | 9ae157349f22c52d99b3657523283e241f84b3f0 /templates/index.html | |
parent | ea3e2d07911b2f4d3ff044c4a7bfd4e8c77be937 (diff) | |
download | bingo-77986b320dfc33625ea2df7f4049cb6c7f8c222e.tar.gz bingo-77986b320dfc33625ea2df7f4049cb6c7f8c222e.tar.zst bingo-77986b320dfc33625ea2df7f4049cb6c7f8c222e.zip |
Améliorations diverses. Lancement officiel de la bêta !
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 18 |
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 %} |