mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-26 02:54:20 +00:00
pedagogy: better display for uv_details
This commit is contained in:
parent
a61322b83f
commit
79243aece3
@ -1936,9 +1936,16 @@ $pedagogy-white-text: #f0f0f0;
|
|||||||
}
|
}
|
||||||
|
|
||||||
.author-info {
|
.author-info {
|
||||||
|
|
||||||
|
a {
|
||||||
color: $pedagogy-white-text;
|
color: $pedagogy-white-text;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
color: $pedagogy-light-blue;
|
||||||
|
}
|
||||||
padding-right: 33%;
|
padding-right: 33%;
|
||||||
|
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
@ -1949,7 +1956,7 @@ $pedagogy-white-text: #f0f0f0;
|
|||||||
|
|
||||||
.report {
|
.report {
|
||||||
background-color: $pedagogy-orange;
|
background-color: $pedagogy-orange;
|
||||||
clip-path: polygon(0 0%, 0 100%, 40% 100%, 30% 0);
|
clip-path: polygon(0 0%, 0 100%, 300px 100%, 250px 0);
|
||||||
width : 33%;
|
width : 33%;
|
||||||
|
|
||||||
& a {
|
& a {
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
{% extends "core/base.jinja" %}
|
{% extends "core/base.jinja" %}
|
||||||
|
{% from "core/macros.jinja" import user_profile_link %}
|
||||||
{% from "pedagogy/macros.jinja" import display_star %}
|
{% from "pedagogy/macros.jinja" import display_star %}
|
||||||
|
|
||||||
{% block title %}
|
{% block title %}
|
||||||
@ -159,7 +160,7 @@
|
|||||||
<div class="info">
|
<div class="info">
|
||||||
<p class="report"><a href="{{ url('pedagogy:comment_report', comment_id=comment.id) }}">{% trans %}Report this comment{% endtrans %}</a></p>
|
<p class="report"><a href="{{ url('pedagogy:comment_report', comment_id=comment.id) }}">{% trans %}Report this comment{% endtrans %}</a></p>
|
||||||
<p class="date-info">{{ comment.publish_date.strftime('%d/%m/%Y') }}</p>
|
<p class="date-info">{{ comment.publish_date.strftime('%d/%m/%Y') }}</p>
|
||||||
<p class="author-info">{{ comment.author }}</p>
|
<p class="author-info">{{ user_profile_link(comment.author) }}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user