Improve the log style

This commit is contained in:
Rodolphe Breard 2018-01-28 14:27:02 +01:00
parent 3d169a8e41
commit df2032ef05
2 changed files with 14 additions and 1 deletions

View file

@ -27,3 +27,16 @@ html,body {
opacity: 0.8;
border-radius: 1.4em;
}
.log-nick {
font-weight: bold;
color: #6300A6;
}
.log-content {
}
.log-action {
font-style: italic;
color: #9073FF;
}

View file

@ -11,7 +11,7 @@
</div>
<div>
{% for entry in entries%}
{{ entry.created|date:"H:i:s" }} {% if entry.nick %}&lt;{{ entry.nick }}&gt;{% else %}*{% endif %} {{ entry.content }}<br />
{{ entry.created|date:"H:i:s" }} {% if entry.nick %}<span class="log-nick">&lt;{{ entry.nick }}&gt;</span> <span class="log-content">{{ entry.content }}</span>{% else %}<span class="log-action">* {{ entry.content }}</span>{% endif %}<br />
{% endfor %}
</div>
<div>