2022-07-21 12:52:27 +00:00
|
|
|
{% load index %}
|
|
|
|
|
2022-07-21 12:52:10 +00:00
|
|
|
<div id="channels">
|
2022-09-05 06:20:30 +00:00
|
|
|
<div class="content" style="max-height: 30em; overflow: auto;">
|
|
|
|
<table class="table is-fullwidth is-hoverable">
|
|
|
|
<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>
|
|
|
|
{% if chan in num_users %}
|
|
|
|
<span class="tag">
|
|
|
|
{{ num_users|index:chan }}
|
|
|
|
</span>
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2022-07-21 12:52:10 +00:00
|
|
|
</div>
|