diff options
| author | Thibaut Horel <thibaut.horel@gmail.com> | 2014-09-07 15:55:27 -0400 |
|---|---|---|
| committer | Thibaut Horel <thibaut.horel@gmail.com> | 2014-09-07 15:55:27 -0400 |
| commit | d28394833d54a68f5ca13d2edaa261128f6c5170 (patch) | |
| tree | ab00b100b99066b80979613b06fca2c9b7087701 /web/templates/index.html | |
| parent | dfcd65c8f10aa94f19fe40940565681ab9a73e44 (diff) | |
| download | ocr-layer-curation-d28394833d54a68f5ca13d2edaa261128f6c5170.tar.gz | |
Compute alignment on the final (html formatted) text
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 %} |
