|
|
@ -13,7 +13,7 @@
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
{% for column in table.columns %}
|
|
|
|
{% for column in table.columns %}
|
|
|
|
|
|
|
|
|
|
|
|
{% if column.name not in hide %}
|
|
|
|
{% if column.name in show and not column.name in hide %}
|
|
|
|
{% block table.thead.th %}
|
|
|
|
{% block table.thead.th %}
|
|
|
|
<th {% render_attrs column.attrs.th class="" %}>
|
|
|
|
<th {% render_attrs column.attrs.th class="" %}>
|
|
|
|
{% if column.orderable %}
|
|
|
|
{% if column.orderable %}
|
|
|
@ -68,12 +68,12 @@
|
|
|
|
has-background-info-light
|
|
|
|
has-background-info-light
|
|
|
|
{% endif %}">
|
|
|
|
{% endif %}">
|
|
|
|
{% for column, cell in row.items %}
|
|
|
|
{% for column, cell in row.items %}
|
|
|
|
{% if column.name not in hide %}
|
|
|
|
{% if column.name in show and not column.name in hide %}
|
|
|
|
{% block table.tbody.td %}
|
|
|
|
{% block table.tbody.td %}
|
|
|
|
{% if column.name == 'src' %}
|
|
|
|
{% if column.name == 'src' %}
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
<a class="has-text-link is-underlined"
|
|
|
|
<a class="has-text-link is-underlined"
|
|
|
|
onclick="populateSearch('src', '{{ cell|escapejs }}')">
|
|
|
|
onclick="populateSearch('src', '{{ cell|escapejs }}')">
|
|
|
|
{% if row.cells.src == 'irc' %}
|
|
|
|
{% if row.cells.src == 'irc' %}
|
|
|
|
<span class="icon" data-tooltip="IRC">
|
|
|
|
<span class="icon" data-tooltip="IRC">
|
|
|
|
<i class="fa-solid fa-hashtag" aria-hidden="true"></i>
|
|
|
|
<i class="fa-solid fa-hashtag" aria-hidden="true"></i>
|
|
|
@ -93,7 +93,7 @@
|
|
|
|
{% elif column.name == 'type' %}
|
|
|
|
{% elif column.name == 'type' %}
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
<a class="has-text-link is-underlined"
|
|
|
|
<a class="has-text-link is-underlined"
|
|
|
|
onclick="populateSearch('type', '{{ cell|escapejs }}')">
|
|
|
|
onclick="populateSearch('type', '{{ cell|escapejs }}')">
|
|
|
|
{% if row.cells.type == 'msg' %}
|
|
|
|
{% if row.cells.type == 'msg' %}
|
|
|
|
<span class="icon" data-tooltip="Message">
|
|
|
|
<span class="icon" data-tooltip="Message">
|
|
|
|
<i class="fa-solid fa-message"></i>
|
|
|
|
<i class="fa-solid fa-message"></i>
|
|
|
@ -136,7 +136,7 @@
|
|
|
|
{% elif column.name == 'host' %}
|
|
|
|
{% elif column.name == 'host' %}
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
<a class="has-text-link is-underlined"
|
|
|
|
<a class="has-text-link is-underlined"
|
|
|
|
onclick="populateSearch('host', '{{ cell|escapejs }}')">
|
|
|
|
onclick="populateSearch('host', '{{ cell|escapejs }}')">
|
|
|
|
{{ cell }}
|
|
|
|
{{ cell }}
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
@ -187,7 +187,7 @@
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
<div class="nowrap-parent">
|
|
|
|
<div class="nowrap-parent">
|
|
|
|
<a class="nowrap-child has-text-link is-underlined"
|
|
|
|
<a class="nowrap-child has-text-link is-underlined"
|
|
|
|
onclick="populateSearch('channel', '{{ cell|escapejs }}')">
|
|
|
|
onclick="populateSearch('channel', '{{ cell|escapejs }}')">
|
|
|
|
{{ cell }}
|
|
|
|
{{ cell }}
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
{% if row.cells.num_users is not None %}
|
|
|
|
{% if row.cells.num_users is not None %}
|
|
|
@ -202,10 +202,22 @@
|
|
|
|
{% elif column.name == 'net' %}
|
|
|
|
{% elif column.name == 'net' %}
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
<a class="has-text-link is-underlined"
|
|
|
|
<a class="has-text-link is-underlined"
|
|
|
|
onclick="populateSearch('net', '{{ cell|escapejs }}')">
|
|
|
|
onclick="populateSearch('net', '{{ cell|escapejs }}')">
|
|
|
|
{{ cell }}
|
|
|
|
{{ cell }}
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
|
|
|
|
{% elif cell == True or cell == False %}
|
|
|
|
|
|
|
|
<td>
|
|
|
|
|
|
|
|
{% if cell == True %}
|
|
|
|
|
|
|
|
<span class="icon has-text-success">
|
|
|
|
|
|
|
|
<i class="fa-solid fa-check"></i>
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
{% else %}
|
|
|
|
|
|
|
|
<span class="icon">
|
|
|
|
|
|
|
|
<i class="fa-solid fa-xmark"></i>
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
</td>
|
|
|
|
{% else %}
|
|
|
|
{% else %}
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
{{ cell }}
|
|
|
|
{{ cell }}
|
|
|
|