Color types in Drilldown output

This commit is contained in:
2022-08-02 17:10:41 +01:00
parent e4651c4ce1
commit 1ed7f6a24c
6 changed files with 27 additions and 13 deletions

View File

@@ -28,7 +28,19 @@
</thead>
<tbody>
{% for item in results %}
{% if item.type == 'join' %}
<tr class="has-background-success-light">
{% elif item.type == 'quit' %}
<tr class="has-background-danger-light">
{% elif item.type == 'kick' %}
<tr class="has-background-danger-light">
{% elif item.type == 'part' %}
<tr class="has-background-warning-light">
{% elif item.type == 'mode' %}
<tr class="has-background-info-light">
{% else %}
<tr>
{% endif %}
<td>
{% if item.src == 'irc' %}
<span class="icon" data-tooltip="IRC">