Improve search forms

This commit is contained in:
2022-08-03 07:20:30 +01:00
parent 716bd6afb6
commit 9442e92b31
8 changed files with 85 additions and 84 deletions

View File

@@ -28,19 +28,20 @@
</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 %}
<tr>
{% 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">