Improve search forms
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user