|
|
@ -7,7 +7,7 @@ |
|
|
|
<script src="{% static "korektury/opraf.js"%}"></script> |
|
|
|
<title>Korektury {{pdf.nazev}}</title> |
|
|
|
</head> |
|
|
|
<body {% if pdf.status = 'zanaseni'%} class="comitting" {% elif pdf.status = 'zastarale' %} class="deprecated" {% endif %}> |
|
|
|
<body {% if pdf.status = 'zanaseni'%} class="comitting" {% elif pdf.status = 'zastarale' %} class="deprecated" {% endif %} onload='place_comments()'> |
|
|
|
<h1>Korektury {{pdf.nazev}}</h1> |
|
|
|
{% if pdf.status = 'zanaseni' %} <h2> Probíhá zanášení korektur, zvažte, zda chcete přidávat nové </h2> {% endif %} |
|
|
|
{% if pdf.status = 'zastarale' %} <h2> Toto PDF je již zastaralé, nepřidávejte nové korektury </h2> {% endif %} |
|
|
@ -192,9 +192,11 @@ |
|
|
|
["img-{{s.strana}}", [{% for o in s.op_id %}["op{{o.id}}",{{o.x}},{{o.y}}],{% endfor %}[]]], |
|
|
|
{% endfor %} |
|
|
|
[]] |
|
|
|
for (var i=0;i<comments.length-1;i++){ |
|
|
|
function place_comments() { |
|
|
|
for (var i=0; i < comments.length-1; i++) { |
|
|
|
place_comments_one_div(comments[i][0], comments[i][1]) |
|
|
|
} |
|
|
|
} |
|
|
|
{% if scroll %} |
|
|
|
window.scrollTo(0,{{scroll}}); |
|
|
|
{% endif %} |
|
|
|