Commit d8871691 authored by Martin Lehoux's avatar Martin Lehoux

update doc buttons design as well

parent dc9a2834
......@@ -10,6 +10,9 @@
<span id="stars">{{ document.like_list|length }}</span>
</div>
</div>
<button id="like" class="ui green right floated icon button"> <i class="thumbs up icon"></i></a>
<button id="dislike" class="ui red right floated icon button"> <i class="thumbs down icon"></i></a>
<button id="load" class="ui loading right floated button">.</button>
</div>
{% if document.course.pk != Null %}<div class="meta"><a href="{% url 'core:get_course' document.course.pk %}">{{document.course}}</a></div>{% endif %}
</div>
......@@ -23,9 +26,7 @@
<div class="ui {% if document.type == "Annale" %}three{% else %}two{% endif %} bottom attached buttons">
<a href="{% url 'core:download_document' document.id %}" class="ui blue basic labeled icon fluid button" target="_new"> <i class="cloud download icon"></i> Sujet</a>
{% if document.type == "Annale" %}<a href="{% url 'core:download_correction' document.id %}" class="ui blue basic labeled icon fluid button" target="_new"> <i class="edit icon"></i> Correction </a>{% endif %}
<button id="like" class="ui green basic icon button"> <i class="thumbs up icon"></i></a>
<button id="dislike" class="ui red basic icon button"> <i class="thumbs down icon"></i></a>
<button id="load" class="ui loading fluid button">Loading...</button>
</div>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment