Implement deleting relays
This commit is contained in:
@@ -65,6 +65,16 @@
|
||||
</span>
|
||||
</button>
|
||||
{% endif %}
|
||||
<button
|
||||
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
||||
hx-delete="{% url 'threshold_irc_network_relay_del' relay|index:'net' relay|index:'id' %}"
|
||||
hx-target="#relays"
|
||||
hx-swap="outerHTML"
|
||||
class="button is-danger is-small">
|
||||
<span class="icon" data-tooltip="Delete">
|
||||
<i class="fa-solid fa-xmark" aria-hidden="true"></i>
|
||||
</span>
|
||||
</button>
|
||||
</td>
|
||||
<td>
|
||||
{{ relay.chans }}
|
||||
|
||||
Reference in New Issue
Block a user