|
|
@ -7,23 +7,39 @@
|
|
|
|
<table class="table is-fullwidth is-hoverable">
|
|
|
|
<table class="table is-fullwidth is-hoverable">
|
|
|
|
<thead>
|
|
|
|
<thead>
|
|
|
|
<th>id</th>
|
|
|
|
<th>id</th>
|
|
|
|
<th>reg</th>
|
|
|
|
|
|
|
|
<th>au</th>
|
|
|
|
|
|
|
|
<th>co</th>
|
|
|
|
|
|
|
|
<th>on</th>
|
|
|
|
|
|
|
|
<th>
|
|
|
|
<th>
|
|
|
|
<span class="icon">
|
|
|
|
<span class="icon has-tooltip-bottom" data-tooltip="Registered">
|
|
|
|
|
|
|
|
<i class="fa-solid fa-seal"></i>
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
</th>
|
|
|
|
|
|
|
|
<th>
|
|
|
|
|
|
|
|
<span class="icon has-tooltip-bottom" data-tooltip="Authenticated">
|
|
|
|
|
|
|
|
<i class="fa-solid fa-passport"></i>
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
</th>
|
|
|
|
|
|
|
|
<th>
|
|
|
|
|
|
|
|
<span class="icon has-tooltip-bottom" data-tooltip="Connected">
|
|
|
|
|
|
|
|
<i class="fa-solid fa-cloud-question"></i>
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
</th>
|
|
|
|
|
|
|
|
<th>
|
|
|
|
|
|
|
|
<span class="icon has-tooltip-bottom" data-tooltip="Enabled">
|
|
|
|
|
|
|
|
<i class="fa-solid fa-toggle-on"></i>
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
</th>
|
|
|
|
|
|
|
|
<th>
|
|
|
|
|
|
|
|
<span class="icon has-tooltip-bottom" data-tooltip="Channels">
|
|
|
|
<i class="fa-solid fa-hashtag"></i>
|
|
|
|
<i class="fa-solid fa-hashtag"></i>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</th>
|
|
|
|
</th>
|
|
|
|
<th>
|
|
|
|
<th>
|
|
|
|
<span class="icon">
|
|
|
|
<span class="icon has-tooltip-bottom" data-tooltip="Chanlimit">
|
|
|
|
<i class="fa-solid fa-list-ol"></i>
|
|
|
|
<i class="fa-solid fa-list-ol"></i>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</th>
|
|
|
|
</th>
|
|
|
|
<th>nick</th>
|
|
|
|
<th>nick</th>
|
|
|
|
<th>
|
|
|
|
<th>
|
|
|
|
<span class="icon">
|
|
|
|
<span class="icon has-tooltip-bottom" data-tooltip="Actions">
|
|
|
|
<i class="fa-solid fa-wrench" aria-hidden="true"></i>
|
|
|
|
<i class="fa-solid fa-wrench" aria-hidden="true"></i>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</th>
|
|
|
|
</th>
|
|
|
@ -84,71 +100,68 @@
|
|
|
|
{{ relay.nick }}
|
|
|
|
{{ relay.nick }}
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
<div class="buttons">
|
|
|
|
|
|
|
|
<div class="nowrap-parent">
|
|
|
|
<div class="nowrap-parent">
|
|
|
|
<div class="nowrap-child">
|
|
|
|
<div class="nowrap-child">
|
|
|
|
{% if relay.enabled %}
|
|
|
|
{% if relay.enabled %}
|
|
|
|
<button
|
|
|
|
<a
|
|
|
|
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
|
|
|
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
|
|
|
hx-get="{% url 'threshold_irc_network_relay_status' relay|index:'net' relay|index:'id' 0 %}"
|
|
|
|
hx-get="{% url 'threshold_irc_network_relay_status' relay|index:'net' relay|index:'id' 0 %}"
|
|
|
|
hx-target="#relays"
|
|
|
|
hx-target="#relays"
|
|
|
|
hx-swap="outerHTML"
|
|
|
|
hx-swap="outerHTML"
|
|
|
|
class="button is-danger">
|
|
|
|
class="button has-background-warning">
|
|
|
|
<span class="icon" data-tooltip="Disable">
|
|
|
|
<span class="icon" data-tooltip="Disable">
|
|
|
|
<i class="fa-solid fa-wifi-slash" aria-hidden="true"></i>
|
|
|
|
<i class="fa-solid fa-wifi-slash" aria-hidden="true"></i>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</a>
|
|
|
|
{% else %}
|
|
|
|
{% else %}
|
|
|
|
<button
|
|
|
|
<a
|
|
|
|
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
|
|
|
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
|
|
|
hx-get="{% url 'threshold_irc_network_relay_status' relay|index:'net' relay|index:'id' 1 %}"
|
|
|
|
hx-get="{% url 'threshold_irc_network_relay_status' relay|index:'net' relay|index:'id' 1 %}"
|
|
|
|
hx-target="#relays"
|
|
|
|
hx-target="#relays"
|
|
|
|
hx-swap="outerHTML"
|
|
|
|
hx-swap="outerHTML"
|
|
|
|
class="button is-success">
|
|
|
|
class="button has-background-success has-text-white">
|
|
|
|
<span class="icon" data-tooltip="Enable">
|
|
|
|
<span class="icon" data-tooltip="Enable">
|
|
|
|
<i class="fa-solid fa-wifi" aria-hidden="true"></i>
|
|
|
|
<i class="fa-solid fa-wifi" aria-hidden="true"></i>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
<a
|
|
|
|
<div class="nowrap-child">
|
|
|
|
|
|
|
|
<button
|
|
|
|
|
|
|
|
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
|
|
|
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
|
|
|
hx-delete="{% url 'threshold_irc_network_relay_del' relay|index:'net' relay|index:'id' %}"
|
|
|
|
hx-delete="{% url 'threshold_irc_network_relay_del' relay|index:'net' relay|index:'id' %}"
|
|
|
|
hx-target="#relays"
|
|
|
|
hx-target="#relays"
|
|
|
|
hx-swap="outerHTML"
|
|
|
|
hx-swap="outerHTML"
|
|
|
|
class="button is-danger">
|
|
|
|
class="button has-background-danger has-text-white">
|
|
|
|
<span class="icon" data-tooltip="Delete">
|
|
|
|
<span class="icon" data-tooltip="Delete">
|
|
|
|
<i class="fa-solid fa-xmark" aria-hidden="true"></i>
|
|
|
|
<i class="fa-solid fa-xmark" aria-hidden="true"></i>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="nowrap-parent">
|
|
|
|
<div class="nowrap-child">
|
|
|
|
<div class="nowrap-child">
|
|
|
|
<button
|
|
|
|
<a
|
|
|
|
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
|
|
|
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
|
|
|
hx-post="{% url 'threshold_irc_network_relay_provision' relay|index:'net' relay|index:'id' %}"
|
|
|
|
hx-post="{% url 'threshold_irc_network_relay_provision' relay|index:'net' relay|index:'id' %}"
|
|
|
|
hx-target="#relays"
|
|
|
|
hx-target="#relays"
|
|
|
|
hx-swap="outerHTML"
|
|
|
|
hx-swap="outerHTML"
|
|
|
|
class="button is-info">
|
|
|
|
class="button has-background-info has-text-white">
|
|
|
|
<span class="icon" data-tooltip="Provision">
|
|
|
|
<span class="icon" data-tooltip="Provision">
|
|
|
|
<i class="fa-solid fa-wrench" aria-hidden="true"></i>
|
|
|
|
<i class="fa-solid fa-wrench" aria-hidden="true"></i>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<a
|
|
|
|
<div class="nowrap-child">
|
|
|
|
|
|
|
|
<button
|
|
|
|
|
|
|
|
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
|
|
|
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
|
|
|
hx-post="{% url 'threshold_irc_network_relay_auth' relay|index:'net' relay|index:'id' %}"
|
|
|
|
hx-post="{% url 'threshold_irc_network_relay_auth' relay|index:'net' relay|index:'id' %}"
|
|
|
|
hx-target="#relays"
|
|
|
|
hx-target="#relays"
|
|
|
|
hx-swap="outerHTML"
|
|
|
|
hx-swap="outerHTML"
|
|
|
|
class="button is-info">
|
|
|
|
class="button has-background-info has-text-white">
|
|
|
|
<span class="icon" data-tooltip="Enable authentication">
|
|
|
|
<span class="icon" data-tooltip="Enable authentication">
|
|
|
|
<i class="fa-solid fa-passport" aria-hidden="true"></i>
|
|
|
|
<i class="fa-solid fa-passport" aria-hidden="true"></i>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
|
|
|