move buttons

parent 8a1cfb03
......@@ -20,6 +20,12 @@
<p class="ui {% if document.type == 'Annale' %}red{% else %}blue{% endif %} label">{{ document.type }}</p>
<p class="ui green label">{{document.documentDate.year}}</p>
</div>
<div class="ui two bottom attached buttons">
<a href="{% url 'core:download_document' document.id %}" class="ui blue labeled icon fluid button" target="_new"> <i class="cloud download icon"></i> Télécharger</a>
<button id="like" class="ui green labeled icon fluid button"> <i class="thumbs up icon"></i> J'aime ce document</a>
<button id="dislike" class="ui red labeled icon fluid button"> <i class="thumbs down icon"></i> Je n'aime plus ce document</a>
<button id="load" class="ui loading fluid button">Loading...</button>
</div>
</div>
</div>
......@@ -29,9 +35,9 @@
<a href="{% url 'core:download_document' document.id %}" class="ui blue labeled icon fluid button" target="_new"> <i class="cloud download icon"></i> Télécharger</a>
</div>
<div class="column">
<button id="like" class="ui green labeled icon fluid button"> <i class="thumbs up icon"></i> J'aime ce document</a>
{% comment %} <button id="like" class="ui green labeled icon fluid button"> <i class="thumbs up icon"></i> J'aime ce document</a>
<button id="dislike" class="ui red labeled icon fluid button"> <i class="thumbs down icon"></i> Je n'aime plus ce document</a>
<button id="load" class="ui loading fluid button">Loading...</button>
<button id="load" class="ui loading fluid button">Loading...</button> {% endcomment %}
</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