Don't wrap buttons in network management

This commit is contained in:
Mark Veidemanis 2022-08-11 23:36:29 +01:00
parent 540120faf1
commit 3c199abc17
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 39 additions and 33 deletions

View File

@ -55,6 +55,8 @@
</td>
<td>
<div class="buttons">
<div class="nowrap-parent">
<div class="nowrap-child">
{% if relay.enabled %}
<button
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
@ -78,6 +80,8 @@
</span>
</button>
{% endif %}
</div>
<div class="nowrap-child">
<button
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
hx-delete="{% url 'threshold_irc_network_relay_del' relay|index:'net' relay|index:'id' %}"
@ -89,6 +93,8 @@
</span>
</button>
</div>
</div>
</div>
</td>
</tr>
{% endfor %}