mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2026-11-27 07:06:03 +01:00
Add API v2 endpoints to manage cluster workers and the primary WireGuard
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
<th class="text-center"><i class="fas fa-power-off" title="{% trans 'Allow Restart' %}"></i></th>
|
||||
<th class="text-center"><i class="fas fa-sync" title="{% trans 'Allow Reload' %}"></i></th>
|
||||
<th class="text-center"><i class="fas fa-download" title="{% trans 'Allow Export' %}"></i></th>
|
||||
<th class="text-center"><i class="fas fa-server" title="{% trans 'Manage Cluster' %}"></i></th>
|
||||
<th class="text-center"><i class="far fa-edit"></i></th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -64,6 +65,13 @@
|
||||
<i class="fas fa-times text-danger"></i>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td class="text-center">
|
||||
{% if key.manage_cluster %}
|
||||
<i class="fas fa-check text-success"></i>
|
||||
{% else %}
|
||||
<i class="fas fa-times text-danger"></i>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td class="text-center" style="width: 1%; white-space: nowrap;">
|
||||
<a href="/manage_api/v2/manage/?uuid={{ key.uuid }}" title="{% trans 'Edit' %}">
|
||||
<i class="far fa-edit"></i>
|
||||
|
||||
Reference in New Issue
Block a user