|
@ -7,7 +7,7 @@ |
|
|
<script src="{% static "korektury/opraf.js"%}"></script> |
|
|
<script src="{% static "korektury/opraf.js"%}"></script> |
|
|
<title>Korektury {{pdf.nazev}}</title> |
|
|
<title>Korektury {{pdf.nazev}}</title> |
|
|
</head> |
|
|
</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> |
|
|
<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 = '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 %} |
|
|
{% 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 %}[]]], |
|
|
["img-{{s.strana}}", [{% for o in s.op_id %}["op{{o.id}}",{{o.x}},{{o.y}}],{% endfor %}[]]], |
|
|
{% endfor %} |
|
|
{% endfor %} |
|
|
[]] |
|
|
[]] |
|
|
|
|
|
function place_comments() { |
|
|
for (var i=0; i < comments.length-1; i++) { |
|
|
for (var i=0; i < comments.length-1; i++) { |
|
|
place_comments_one_div(comments[i][0], comments[i][1]) |
|
|
place_comments_one_div(comments[i][0], comments[i][1]) |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
{% if scroll %} |
|
|
{% if scroll %} |
|
|
window.scrollTo(0,{{scroll}}); |
|
|
window.scrollTo(0,{{scroll}}); |
|
|
{% endif %} |
|
|
{% endif %} |
|
|