Improve tunnel messaging (#1648)

This commit is contained in:
Tim Wilkinson 2024-10-25 20:46:08 -07:00 committed by GitHub
parent a37b3f81bc
commit 1d05336818
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -310,7 +310,7 @@ function t2t(type)
<div data-type="{{t.type}}">{{t2t(t.type)}}</div> <div data-type="{{t.type}}">{{t2t(t.type)}}</div>
<div class="cols"> <div class="cols">
<div class="cols"> <div class="cols">
<input type="text" name="name" required placeholder="{{client ? 'Server name' : 'Node name'}}" value="{{t.name}}"> <input type="text" name="name" required placeholder="{{client ? 'Remote server name' : 'Remote node name'}}" value="{{t.name}}">
<label class="switch {{t.up ? 'up' : ''}}"><input type="checkbox" name="enable" {{t.enabled ? "checked" : ""}}></label> <label class="switch {{t.up ? 'up' : ''}}"><input type="checkbox" name="enable" {{t.enabled ? "checked" : ""}}></label>
</div> </div>
<div class="cols pwnw"> <div class="cols pwnw">
@ -518,7 +518,7 @@ This value is used by default, but each tunnel may overide it.
<div data-type="${type}">${htype}</div> <div data-type="${type}">${htype}</div>
<div class="cols"> <div class="cols">
<div class="cols"> <div class="cols">
<input type="text" name="name" required placeholder="${client ? 'Server name' : 'Node name'}" value=""> <input type="text" name="name" required placeholder="${client ? 'Remote server name' : 'Remote node name'}" value="">
<label class="switch"><input type="checkbox" name="enable" checked></label> <label class="switch"><input type="checkbox" name="enable" checked></label>
</div> </div>
<div class="cols pwnw"> <div class="cols pwnw">