aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorGuillaume Horel <guillaume.horel@gmail.com>2014-09-07 19:11:31 -0400
committerGuillaume Horel <guillaume.horel@gmail.com>2014-09-07 19:11:31 -0400
commit6a54a1e23057f9173e765d32ea8575505bb55b23 (patch)
treef20cad68d8fe103aee8689f8fc94a1d3a180e76a /web
parent43806716c725f94324d792d68431b9417618b426 (diff)
downloadocr-layer-curation-6a54a1e23057f9173e765d32ea8575505bb55b23.tar.gz
fix up the template and css
still need to hook the 2-way hovering back
Diffstat (limited to 'web')
-rw-r--r--web/static/css/style.css12
-rw-r--r--web/templates/index.html4
2 files changed, 5 insertions, 11 deletions
diff --git a/web/static/css/style.css b/web/static/css/style.css
index b293da8..55bef65 100644
--- a/web/static/css/style.css
+++ b/web/static/css/style.css
@@ -11,13 +11,8 @@ span:hover {
margin-right: 1em;
}
-#text {
- width: 460px;
- float: left;
-}
-
.pagetext p {
- text-align: justify;
+ text-align: justify;
-moz-hyphens: auto;
margin: 0;
text-indent: 1.5em;
@@ -25,8 +20,9 @@ span:hover {
.pagetext {
padding: 3.5em 2em;
- font-size: 18px;
- line-height: 180%;
+ font-size: 12px;
+ line-height: 150%;
+}
#texte-non-corrige {
margin-top:0cm;
diff --git a/web/templates/index.html b/web/templates/index.html
index 0a07be1..338f04b 100644
--- a/web/templates/index.html
+++ b/web/templates/index.html
@@ -19,8 +19,6 @@
</div>
<div id="texte-corrige">
<h3>Texte corrigé</h3>
- {% for i, word in enumerate(corr_words) %}
- <span id="corr-{{",".join(map(str,align[i]))}}">{{word}}</span>
- {% end %}
+ {% raw corr_words %}
</div>
{% end %}