You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
81 lines
2.4 KiB
HTML
81 lines
2.4 KiB
HTML
<div id="actions">
|
|
{% include 'manage/threshold/partials/notify.html' %}
|
|
<div class="buttons">
|
|
<button
|
|
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
|
hx-put="{% url 'threshold_irc_network_actions_add_relay' net %}"
|
|
hx-trigger="click"
|
|
hx-target="#actions"
|
|
hx-swap="outerHTML"
|
|
class="button is-info">
|
|
<span class="icon-text">
|
|
<span class="icon">
|
|
<i class="fa-solid fa-plus"></i>
|
|
</span>
|
|
<span>Relay</span>
|
|
</span>
|
|
</button>
|
|
<button
|
|
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
|
hx-post="{% url 'threshold_irc_network_actions_auto' net %}"
|
|
hx-trigger="click"
|
|
hx-target="#actions"
|
|
hx-swap="outerHTML"
|
|
class="button is-info">
|
|
<span class="icon-text">
|
|
<span class="icon">
|
|
<i class="fa-solid fa-wrench"></i>
|
|
</span>
|
|
<span>Auto</span>
|
|
</span>
|
|
</button>
|
|
<button
|
|
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
|
hx-get="{% url 'threshold_irc_actions_registration_net' net %}"
|
|
hx-trigger="click"
|
|
hx-target="#modals-here"
|
|
class="button is-info">
|
|
<span class="icon-text">
|
|
<span class="icon">
|
|
<i class="fa-solid fa-list"></i>
|
|
</span>
|
|
<span>Registration</span>
|
|
</span>
|
|
</button>
|
|
<button
|
|
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
|
hx-post="{% url 'threshold_irc_network_list' net %}"
|
|
hx-trigger="click"
|
|
hx-target="#actions"
|
|
hx-swap="outerHTML"
|
|
class="button is-info">
|
|
<span class="icon-text">
|
|
<span class="icon">
|
|
<i class="fa-solid fa-list"></i>
|
|
</span>
|
|
<span>List</span>
|
|
</span>
|
|
</button>
|
|
</div>
|
|
<form method="POST">
|
|
<div class="field has-addons">
|
|
<div class="control is-expanded has-icons-left">
|
|
<input class="input" name="num" type="text" placeholder="Relay number">
|
|
<span class="icon is-small is-left">
|
|
<i class="fa-brands fa-unity"></i>
|
|
</span>
|
|
</div>
|
|
<div class="control">
|
|
<button
|
|
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
|
class="button is-info is-fullwidth"
|
|
hx-put="{% url 'threshold_irc_network_actions_add_relay' net %}"
|
|
hx-trigger="click"
|
|
hx-target="#actions"
|
|
hx-swap="outerHTML">
|
|
Add
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div> |