|
@ -1,8 +1,10 @@ |
|
|
|
|
|
{% load staticfiles %} |
|
|
|
|
|
|
|
|
<html> |
|
|
<html> |
|
|
<head> |
|
|
<head> |
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
|
|
<link rel="stylesheet" type="text/css" media="screen, projection" href="/static/korektury/opraf.css" /> |
|
|
<link rel="stylesheet" type="text/css" media="screen, projection" href="{% static "korektury/opraf.css"%}" /> |
|
|
<script src="/static/korektury/opraf.js"></script> |
|
|
<script src="{% static "/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 %}> |
|
@ -12,9 +14,9 @@ |
|
|
<i>{{pdf.komentar}}</i> |
|
|
<i>{{pdf.komentar}}</i> |
|
|
<br> |
|
|
<br> |
|
|
<i>Klikni na chybu, napiš komentář</i> | |
|
|
<i>Klikni na chybu, napiš komentář</i> | |
|
|
<a href="/korektury">seznam souborů</a> | |
|
|
<a href="../">seznam souborů</a> | |
|
|
<a href="../help">nápověda</a> | | |
|
|
<a href="../help">nápověda</a> | | |
|
|
<a href="https://mam.mff.cuni.cz/">hlavní stránka</a> | |
|
|
<a href="/">hlavní stránka</a> | |
|
|
<a href="https://mam.mff.cuni.cz/wiki">wiki</a> | |
|
|
<a href="https://mam.mff.cuni.cz/wiki">wiki</a> | |
|
|
<hr/> |
|
|
<hr/> |
|
|
|
|
|
|
|
@ -105,24 +107,24 @@ |
|
|
{% if o.komentare %} |
|
|
{% if o.komentare %} |
|
|
<button name='action' value='del' type='button' |
|
|
<button name='action' value='del' type='button' |
|
|
title="Opravu nelze smazat – už ji někdo okomentoval"> |
|
|
title="Opravu nelze smazat – už ji někdo okomentoval"> |
|
|
<img src="/static/korektury/imgs/delete-gr.png"/> |
|
|
<img src="{% static "korektury/imgs/delete-gr.png"%}"/> |
|
|
</button> |
|
|
</button> |
|
|
{% else %} |
|
|
{% else %} |
|
|
<button type='submit' name='action' value='del' title='Smaž opravu'> |
|
|
<button type='submit' name='action' value='del' title='Smaž opravu'> |
|
|
<img src="/static/korektury/imgs/delete.png"/> |
|
|
<img src="{% static "korektury/imgs/delete.png"%}"/> |
|
|
</button> |
|
|
</button> |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
|
|
|
|
|
|
{% if o.status = 'opraveno' or o.status = 'neni_chyba' %} |
|
|
{% if o.status = 'opraveno' or o.status = 'neni_chyba' %} |
|
|
<button type='submit' name='action' value='undone' title='Označ jako neopravené'> |
|
|
<button type='submit' name='action' value='undone' title='Označ jako neopravené'> |
|
|
<img src="/static/korektury/imgs/undo.png"/> |
|
|
<img src="{% static "korektury/imgs/undo.png"%}"/> |
|
|
</button> |
|
|
</button> |
|
|
{% else %} |
|
|
{% else %} |
|
|
<button type='submit' name='action' value='done' title='Označ jako opravené'> |
|
|
<button type='submit' name='action' value='done' title='Označ jako opravené'> |
|
|
<img src="/static/korektury/imgs/check.png"/> |
|
|
<img src="{% static "korektury/imgs/check.png"%}"/> |
|
|
</button> |
|
|
</button> |
|
|
<button type='submit' name='action' value='wontfix' title='Označ jako irelevantní '> |
|
|
<button type='submit' name='action' value='wontfix' title='Označ jako irelevantní '> |
|
|
<img src="/static/korektury/imgs/cross.png"/> |
|
|
<img src="{% static "korektury/imgs/cross.png" %}"/> |
|
|
</button> |
|
|
</button> |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
</form> |
|
|
</form> |
|
@ -130,15 +132,15 @@ |
|
|
|
|
|
|
|
|
{% if o.komentare %} |
|
|
{% if o.komentare %} |
|
|
<button type='button' title="Korekturu nelze upravit – už ji někdo okomentoval"> |
|
|
<button type='button' title="Korekturu nelze upravit – už ji někdo okomentoval"> |
|
|
<img src="/static/korektury/imgs/edit-gr.png"/> |
|
|
<img src="{% static "korektury/imgs/edit-gr.png" %}"/> |
|
|
</button> |
|
|
</button> |
|
|
{% else %} |
|
|
{% else %} |
|
|
<button type='button' onclick='box_edit(this,"update");' title='Oprav opravu'> |
|
|
<button type='button' onclick='box_edit(this,"update");' title='Oprav opravu'> |
|
|
<img src="/static/korektury/imgs/edit.png"/> |
|
|
<img src="{% static "korektury/imgs/edit.png" %}"/> |
|
|
</button> |
|
|
</button> |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
<button type='button' onclick='box_edit(this, "comment");' title='Komentovat'> |
|
|
<button type='button' onclick='box_edit(this, "comment");' title='Komentovat'> |
|
|
<img src="/static/korektury/imgs/comment.png"/> |
|
|
<img src="{% static "korektury/imgs/comment.png" %}"/> |
|
|
</button> |
|
|
</button> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
@ -158,12 +160,12 @@ |
|
|
<input type='hidden' name='scroll'> |
|
|
<input type='hidden' name='scroll'> |
|
|
<button type='submit' name='action' value='del-comment' title='Smaž komentář' |
|
|
<button type='submit' name='action' value='del-comment' title='Smaž komentář' |
|
|
onclick='return confirm("Opravdu smazat komentář?")'> |
|
|
onclick='return confirm("Opravdu smazat komentář?")'> |
|
|
<img src="/static/korektury/imgs/delete.png"/> |
|
|
<img src="{% static "korektury/imgs/delete.png" %}"/> |
|
|
</button> |
|
|
</button> |
|
|
</form> |
|
|
</form> |
|
|
<!-- /Komentar !--> |
|
|
<!-- /Komentar !--> |
|
|
<button type='button' onclick='update_comment(this);' title='Uprav komentář'> |
|
|
<button type='button' onclick='update_comment(this);' title='Uprav komentář'> |
|
|
<img src="/static/korektury/imgs/edit.png"/> |
|
|
<img src="{% static "korektury/imgs/edit.png"%}"/> |
|
|
</button> |
|
|
</button> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|