diff options
Diffstat (limited to 'web/templates')
| -rw-r--r-- | web/templates/index.html | 5 | ||||
| -rw-r--r-- | web/templates/layout.html | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/web/templates/index.html b/web/templates/index.html index b3b5fe0..dc286aa 100644 --- a/web/templates/index.html +++ b/web/templates/index.html @@ -5,10 +5,9 @@ <img id="page" src="{{page_number}}.jpg" usemap="#wordmap" /> </div> <map name="wordmap">{% for id, coords in areas %} - <area href="#" shape="rect" coords="{{coords}}" data-id="{{id}}" />{% end %} + <area href="#" shape="rect" coords="{{coords}}" data-id="word-{{id}}" />{% end %} </map> <div id="text"> - {% for id, word in words %} - <span id="{{id}}">{{word}}</span> {% end %} + {% raw words %} </div> {% end %} diff --git a/web/templates/layout.html b/web/templates/layout.html index ff4077d..2fef4d3 100644 --- a/web/templates/layout.html +++ b/web/templates/layout.html @@ -1,5 +1,5 @@ <!doctype html> -<html lang="en"> +<html lang="fr"> <head> <meta charset="utf-8"> <script src="static/js/jquery.js"></script> |
