diff options
Diffstat (limited to 'web/templates/index.html')
| -rw-r--r-- | web/templates/index.html | 5 |
1 files changed, 2 insertions, 3 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 %} |
