aboutsummaryrefslogtreecommitdiffstats
path: root/web/templates/index.html
blob: 338f04b183417d6ce7c57766cd41c5d74b563144 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{% extends "layout.html" %}

{% block main %}
<div id="image_container">
  <img id="page" src="{{page_number}}.jpg" usemap="#wordmap" />
</div>
<map name="wordmap">
  {% for i, coord in enumerate(orig_coords) %}
  <area href="#" shape="rect" coords="{{coord}}" data-orig="{{i}}" />
        {# data-corr="{{",".join(map(str,corr_coords_index[i]))}}" #}
  {% end %}
</map>

<div id="texte-non-corrige">
  <h3>Texte original</h3>
  {% for i, word in enumerate(orig_words) %}
  <span id="orig-{{i}}">{{word}}</span>
  {% end %}
</div>
<div id="texte-corrige">
  <h3>Texte corrigé</h3>
  {% raw corr_words %}
</div>
{% end %}