Browse Source

Odevzdávátko: ikony pro interakci

Vykradené z korekturovátka :-)
export_seznamu_prednasek
Pavel "LEdoian" Turinsky 4 years ago
parent
commit
dac2cc8b51
  1. BIN
      seminar/static/seminar/cross.png
  2. BIN
      seminar/static/seminar/plus.png
  3. 9
      seminar/templates/seminar/odevzdavatko/detail.html

BIN
seminar/static/seminar/cross.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 717 B

BIN
seminar/static/seminar/plus.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

9
seminar/templates/seminar/odevzdavatko/detail.html

@ -1,4 +1,5 @@
{% extends "base.html" %}
{% load static %}
{% block content %}
@ -91,21 +92,21 @@ $(document).ready(function(){
<td>{{ subform.problem }}</td>
<td>{{ subform.body }}</td>
<td>{{ subform.cislo_body }}</td>
<td><input type=button class="smazat_hodnoceni" value="Smazat" id="id_{{subform.prefix}}-jsremove"></td>
<td><a href="#" class="smazat_hodnoceni" id="id_{{subform.prefix}}-jsremove"><img src="{% static "seminar/cross.png" %}" alt="Smazat"></a></td>
</tr>
{% endfor %}
</table>
<input type=button id="pridat_hodnoceni" value="Přidat hodnocení">
<input type=submit></form>
<a href="#"> <img src="{% static "seminar/plus.png" %}" id="pridat_hodnoceni" alt="Přidat hodnocení"></a> </br>
<input type=submit value="Uložit"></form>
<table id="empty_form" style="display: none;">
<tr class="hodnoceni">
<td>{{ form.empty_form.problem }}</td>
<td>{{ form.empty_form.body }}</td>
<td>{{ form.empty_form.cislo_body }}</td>
<td><input type=button class="smazat_hodnoceni" value="Smazat" id="id_{{form.empty_form.prefix}}-jsremove"></td>
<td><a href="#" class="smazat_hodnoceni" id="id_{{subform.prefix}}-jsremove"><img src="{% static "seminar/cross.png" %}" alt="Smazat"></a></td>
</tr>
</table>

Loading…
Cancel
Save