summaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html12
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 */
5var scoreCase = {{ conf.score.case }};
6var scoreLigne = {{ conf.score.ligne }} ;
7var scoreColonne = {{ conf.score.colonne }} ;
8var scoreDiagonale = {{ conf.score.diagonale }} ;
9
10/*URL */
11met_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