mirror of
https://github.com/ae-utbm/sith.git
synced 2024-12-22 15:51:19 +00:00
small change comment
This commit is contained in:
parent
bfb7380715
commit
601193ff3c
@ -1683,16 +1683,15 @@ label {
|
||||
#pedagogy {
|
||||
font-family: "Fira Sans";
|
||||
color: #062f38;
|
||||
background-color: #caf0ff;
|
||||
.comment{
|
||||
background-color: #caf0ff;
|
||||
.comment {
|
||||
max-width: 100%;
|
||||
max-height: 200px;
|
||||
overflow: hidden;
|
||||
margin-bottom: 40px;
|
||||
margin-bottom: 30px;
|
||||
margin-top: 10px;
|
||||
|
||||
.grade{
|
||||
height: 200px;
|
||||
.grade {
|
||||
height: 156px;
|
||||
float: left;
|
||||
text-align: left;
|
||||
padding: 15px;
|
||||
@ -1702,28 +1701,30 @@ label {
|
||||
background-color: #1bb9ea;
|
||||
}
|
||||
|
||||
.dif_grade{
|
||||
.dif_grade {
|
||||
background-color: #1bb9ea;
|
||||
color: #f0f0f0;
|
||||
height: 200px;
|
||||
height: 156px;
|
||||
float: left;
|
||||
font-weight: bold;
|
||||
text-align: right;
|
||||
padding: 15px;
|
||||
padding-top: 0px;
|
||||
}
|
||||
|
||||
.author_info{
|
||||
.author_info {
|
||||
background-color: #1bb9ea;
|
||||
color: #f0f0f0;
|
||||
text-align: center;
|
||||
width: 50px;
|
||||
padding: 5px;
|
||||
font-weight: bold;
|
||||
margin: 0px;
|
||||
float: left;
|
||||
padding-right: 50px;
|
||||
clip-path: polygon(0 0, 0 100%, 100% 100%, 75% 0);
|
||||
}
|
||||
.date_info{
|
||||
.date_info {
|
||||
background-color: #1bb9ea;
|
||||
color: #f0f0f0;
|
||||
float: left;
|
||||
@ -1733,16 +1734,21 @@ label {
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.text{
|
||||
.action {
|
||||
float: left;
|
||||
text-align: center;
|
||||
padding: 5px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.text {
|
||||
height: 125px;
|
||||
margin-top: 0px;
|
||||
margin-right: 0px;
|
||||
padding: 10px;
|
||||
padding-left: 40px;
|
||||
margin-bottom: 29px;
|
||||
overflow: auto;
|
||||
text-align: justify;
|
||||
background-color: #caf0ff;
|
||||
}
|
||||
}
|
||||
}
|
@ -9,9 +9,7 @@
|
||||
<div id="pedagogy">
|
||||
<p><a href="{{ url('pedagogy:guide') }}">{% trans %}Back{% endtrans %}</a></p>
|
||||
<h1>{{ object.code }} - {{ object.title }}</h1>
|
||||
<p>{{ object.department }}</p>
|
||||
<p>{{ object.credit_type }}</p>
|
||||
<p>{{ object.semester }}</p>
|
||||
<p style = "word-spacing: 20px;">{{ object.department }} {{ object.credit_type }} {{ object.semester }}</p>
|
||||
<p>{{ object.objectives|markdown }}</p>
|
||||
<p>{{ object.program|markdown }}</p>
|
||||
<p>{{ object.skills|markdown }}</p>
|
||||
@ -47,15 +45,17 @@
|
||||
<p class="author_info">{{ comment.author }}</p>
|
||||
|
||||
{# Warning, it's not displayed yet #}
|
||||
<p><a href="{{ url('pedagogy:comment_report', comment_id=comment.id) }}">{% trans %}Report{% endtrans %}</a></p>
|
||||
<p class="action">
|
||||
<a href="{{ url('pedagogy:comment_report', comment_id=comment.id) }}">{% trans %}Report{% endtrans %}</a>
|
||||
{% if user.is_owner(comment) %}
|
||||
<a href="{{ url('pedagogy:comment_update', comment_id=comment.id) }}">{% trans %}Edit{% endtrans %}</a>
|
||||
<a href="{{ url('pedagogy:comment_delete', comment_id=comment.id) }}">{% trans %}Delete{% endtrans %}</a>
|
||||
{% endif %}
|
||||
</p>
|
||||
{% if comment.is_reported %}
|
||||
<p>{% trans %}This comment has been reported{% endtrans %}</p>
|
||||
{% endif %}
|
||||
|
||||
{% if user.is_owner(comment) %}
|
||||
<p><a href="{{ url('pedagogy:comment_update', comment_id=comment.id) }}">{% trans %}Edit{% endtrans %}</a></p>
|
||||
<p><a href="{{ url('pedagogy:comment_delete', comment_id=comment.id) }}">{% trans %}Delete{% endtrans %}</a></p>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user