neptune/core/templates/ui/insights/channels.html

30 lines
903 B
HTML
Raw Permalink Normal View History

{% load index %}
<div id="channels">
<div class="content" style="max-height: 30em; overflow: auto;">
<table class="table is-fullwidth is-hoverable">
2022-07-21 18:16:59 +00:00
<tbody>
{% for chan in chans %}
<tr>
<td>
<span
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
hx-post="{% url 'modal_drilldown' %}"
hx-vals='{"net": "{{ net }}", "nick": "{{ nick }}", "channel": "{{ chan }}"}'
hx-target="#modals-here"
hx-trigger="click"
class="button is-small">
{{ chan }}
</span>
2022-07-21 18:16:59 +00:00
{% if chan in num_users %}
<span class="tag">
{{ num_users|index:chan }}
</span>
{% endif %}
</td>
</tr>
{% endfor %}
</tbody>
</table>
2022-07-21 12:52:20 +00:00
</div>
</div>