fix container fluid

parent d3a24d0c
......@@ -22,24 +22,26 @@
</div>
</div>
<div class="ui container fluid card">
<div class="content">
<div class="header">
Dans <a href="{% if type == 'document' %}{% url 'core:get_document' comment.document.id %}{% else %}{% url 'core:get_course' comment.course.id %}{% endif %}">Dans {% if type == 'document' %}{{ comment.document.name }}{% elif type == 'course' %}{{ comment.course.name }}{% endif %}</a>
<div class="container">
<div class="ui fluid card">
<div class="content">
<div class="header">
Dans <a href="{% if type == 'document' %}{% url 'core:get_document' comment.document.id %}{% else %}{% url 'core:get_course' comment.course.id %}{% endif %}">{% if type == 'document' %}{{ comment.document.name }}{% elif type == 'course' %}{{ comment.course.name }}{% endif %}</a>
</div>
</div>
</div>
<div class="content">
<div class="ui comments">
{% include "core/components/comment.html" %}
<div class="content">
<div class="ui comments">
{% include "core/components/comment.html" %}
</div>
</div>
<div class="ui two bottom attached buttons">
{% if type == 'course' %}
<a href="{% url 'core:accept' 'course_comment' comment.pk %}" class="ui green labeled icon fluid button"><i class="checkmark icon"></i>Accepter</a>
<a href="{% url 'core:reject' 'course_comment' comment.pk %}" class="ui red labeled icon fluid button"><i class="remove icon"></i>Rejeter</a>
{% elif type == 'document' %}
<a href="{% url 'core:accept' 'document_comment' comment.pk %}" class="ui green labeled icon fluid button"><i class="checkmark icon"></i>Accepter</a>
<a href="{% url 'core:reject' 'document_comment' comment.pk %}" class="ui red labeled icon fluid button"><i class="remove icon"></i>Rejeter</a>
{% endif %}
</div>
</div>
<div class="ui two bottom attached buttons">
{% if type == 'course' %}
<a href="{% url 'core:accept' 'course_comment' comment.pk %}" class="ui green labeled icon fluid button"><i class="checkmark icon"></i>Accepter</a>
<a href="{% url 'core:reject' 'course_comment' comment.pk %}" class="ui red labeled icon fluid button"><i class="remove icon"></i>Rejeter</a>
{% elif type == 'document' %}
<a href="{% url 'core:accept' 'document_comment' comment.pk %}" class="ui green labeled icon fluid button"><i class="checkmark icon"></i>Accepter</a>
<a href="{% url 'core:reject' 'document_comment' comment.pk %}" class="ui red labeled icon fluid button"><i class="remove icon"></i>Rejeter</a>
{% endif %}
</div>
</div>
\ No newline at end of file
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