diff options
author | Denise sur Lya <sekhmet@lya> | 2021-07-28 17:30:33 +0200 |
---|---|---|
committer | Denise sur Lya <sekhmet@lya> | 2021-07-28 17:30:33 +0200 |
commit | c95f4f8f7545bd508a9d68686f7dc5fc33a4cf0d (patch) | |
tree | 3c413cd2243e53a264e54c788e4cc24ec29dd87d /templates/index.html | |
parent | 451bdc74fe50a124a3fe0733b675c8f01b50ee53 (diff) | |
download | bingo-c95f4f8f7545bd508a9d68686f7dc5fc33a4cf0d.tar.gz bingo-c95f4f8f7545bd508a9d68686f7dc5fc33a4cf0d.tar.zst bingo-c95f4f8f7545bd508a9d68686f7dc5fc33a4cf0d.zip |
ajouts divers, dont la page apropos
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html index af8ac6c..82b556e 100644 --- a/templates/index.html +++ b/templates/index.html | |||
@@ -1,5 +1,16 @@ | |||
1 | {% extends "base.html" %} | 1 | {% extends "base.html" %} |
2 | {% block contenu %} | 2 | {% block contenu %} |
3 | <script> | ||
4 | /* Calcul des scores */ | ||
5 | var scoreCase = {{ conf.score.case }}; | ||
6 | var scoreLigne = {{ conf.score.ligne }} ; | ||
7 | var scoreColonne = {{ conf.score.colonne }} ; | ||
8 | var scoreDiagonale = {{ conf.score.diagonale }} ; | ||
9 | |||
10 | /*URL */ | ||
11 | met_url('?grille={{ chainecode }}') | ||
12 | </script> | ||
13 | |||
3 | <h1>{{ conf.titre }}</h1> | 14 | <h1>{{ conf.titre }}</h1> |
4 | 15 | ||
5 | {% if e | length >0 %} | 16 | {% if e | length >0 %} |
@@ -44,6 +55,7 @@ | |||
44 | <hr> | 55 | <hr> |
45 | <a href="/?grille={{ chainecode }}">Lien permanent vers cette grille</a> | 56 | <a href="/?grille={{ chainecode }}">Lien permanent vers cette grille</a> |
46 | 57 | ||
58 | |||
47 | </div> | 59 | </div> |
48 | 60 | ||
49 | 61 | ||