Fix ZNC queries

This commit is contained in:
2022-08-15 17:59:09 +01:00
parent c9fe1f0b73
commit 4be21cb488
4 changed files with 41 additions and 23 deletions

View File

@@ -104,15 +104,15 @@
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
hx-post="{% url 'modal_context' %}"
hx-vals='{"net": "{{ net }}",
"num": "{{ relay.id }}",
"src": "irc",
"channel": "None",
"time": "None",
"date": "None",
"index": "int",
"type": "znc",
"mtype": "None",
"nick": "None"}'
"num": "{{ relay.id }}",
"src": "irc",
"channel": "*status",
"time": "None",
"date": "None",
"index": "int",
"type": "znc",
"mtype": "None",
"nick": "*status"}'
hx-target="#modals-here"
hx-trigger="click"
class="button is-small has-background-info has-text-white">
@@ -120,7 +120,7 @@
<i class="fa-brands fa-unity" aria-hidden="true"></i>
</span>
</a>
</td> {# actions-top #}
</td>
</tr>
<tr>
<td>
@@ -134,7 +134,7 @@
<i class="fa-solid fa-xmark" aria-hidden="true"></i>
</span>
</a>
</td> {# id #}
</td>
<td>
<a
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
@@ -146,7 +146,7 @@
<i class="fa-solid fa-wrench" aria-hidden="true"></i>
</span>
</a>
</td> {# reg #}
</td>
<td>
<a
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
@@ -158,8 +158,8 @@
<i class="fa-solid fa-passport" aria-hidden="true"></i>
</span>
</a>
</td> {# auth #}
<td></td> {# conn #}
</td>
<td></td>
<td>
{% if relay.enabled %}
<a
@@ -184,7 +184,7 @@
</span>
</a>
{% endif %}
</td> {# on #}
</td>
<td></td>
<td></td>
<td></td>
@@ -199,7 +199,7 @@
<i class="fa-solid fa-signature" aria-hidden="true"></i>
</span>
</a>
</td> {# actions-bottom #}
</td>
</tr>
{% endfor %}
</tbody>