Remove legacy tunnel options from supernodes (#1551)

This commit is contained in:
Tim Wilkinson 2024-09-20 12:18:17 -07:00 committed by GitHub
parent 6d259c7b4e
commit 0ca8d803c8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View File

@ -287,8 +287,10 @@ function t2t(type)
<select style="direction:ltr">
<option value="wc">Wireguard Client</option>
<option value="ws">Wireguard Server</option>
{% if (uciMesh.get("aredn", "@supernode[0]", "enable") !== "1") { %}
<option value="lc">Legacy Client</option>
<option value="ls">Legacy Server</option>
{% } %}
</select>
</div>
<button>+</button>

View File

@ -110,6 +110,7 @@
<div class="s">allocated servers</div>
</div>
</div>
{% if (uci.get("aredn", "@supernode[0]", "enable") !== "1") { %}
<div class="section-subtitle">Legacy</div>
<div class="cols">
<div>
@ -129,5 +130,6 @@
<div class="s">allocated servers</div>
</div>
</div>
{% } %}
</div>
</div>