|
|
@ -1,8 +1,10 @@ |
|
|
|
{% load staticfiles %} |
|
|
|
|
|
|
|
<html> |
|
|
|
<head> |
|
|
|
<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" /> |
|
|
|
<script src="/static/korektury/opraf.js"></script> |
|
|
|
<link rel="stylesheet" type="text/css" media="screen, projection" href="{% static "korektury/opraf.css"%}" /> |
|
|
|
<script src="{% static "/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 %}> |
|
|
@ -12,9 +14,9 @@ |
|
|
|
<i>{{pdf.komentar}}</i> |
|
|
|
<br> |
|
|
|
<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="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> | |
|
|
|
<hr/> |
|
|
|
|
|
|
@ -105,24 +107,24 @@ |
|
|
|
{% if o.komentare %} |
|
|
|
<button name='action' value='del' type='button' |
|
|
|
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> |
|
|
|
{% else %} |
|
|
|
<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> |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
{% if o.status = 'opraveno' or o.status = 'neni_chyba' %} |
|
|
|
<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> |
|
|
|
{% else %} |
|
|
|
<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 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> |
|
|
|
{% endif %} |
|
|
|
</form> |
|
|
@ -130,15 +132,15 @@ |
|
|
|
|
|
|
|
{% if o.komentare %} |
|
|
|
<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> |
|
|
|
{% else %} |
|
|
|
<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> |
|
|
|
{% endif %} |
|
|
|
<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> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -158,12 +160,12 @@ |
|
|
|
<input type='hidden' name='scroll'> |
|
|
|
<button type='submit' name='action' value='del-comment' title='Smaž komentář' |
|
|
|
onclick='return confirm("Opravdu smazat komentář?")'> |
|
|
|
<img src="/static/korektury/imgs/delete.png"/> |
|
|
|
<img src="{% static "korektury/imgs/delete.png" %}"/> |
|
|
|
</button> |
|
|
|
</form> |
|
|
|
<!-- /Komentar !--> |
|
|
|
<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> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|