mirror of
https://github.com/tobychui/zoraxy.git
synced 2025-06-01 13:17:21 +02:00
Removed zerotier related info
- Removed zt info from utils.html
This commit is contained in:
parent
fd41a1cb91
commit
b7e3888513
@ -151,11 +151,6 @@
|
|||||||
<td>Running Since</td>
|
<td>Running Since</td>
|
||||||
<td class="boottime"></td>
|
<td class="boottime"></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td>ZeroTier Linked</td>
|
|
||||||
<td class="zt"></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
<tr>
|
||||||
<td>Enable SSH Loopback</td>
|
<td>Enable SSH Loopback</td>
|
||||||
<td class="sshlb"></td>
|
<td class="sshlb"></td>
|
||||||
@ -224,7 +219,6 @@
|
|||||||
$("#zoraxyinfo .version").text(data.Version);
|
$("#zoraxyinfo .version").text(data.Version);
|
||||||
$(".zrversion").text("v." + data.Version); //index footer
|
$(".zrversion").text("v." + data.Version); //index footer
|
||||||
$("#zoraxyinfo .boottime").text(timeConverter(data.BootTime) + ` ( ${secondsToDhms(parseInt(Date.now()/1000) - data.BootTime)} ago)`);
|
$("#zoraxyinfo .boottime").text(timeConverter(data.BootTime) + ` ( ${secondsToDhms(parseInt(Date.now()/1000) - data.BootTime)} ago)`);
|
||||||
$("#zoraxyinfo .zt").html(data.ZerotierConnected?`<i class="ui green check icon"></i> Connected`:`<i class="ui red times icon"></i> Link Error`);
|
|
||||||
$("#zoraxyinfo .sshlb").html(data.EnableSshLoopback?`<i class="ui yellow exclamation triangle icon"></i> Enabled`:`Disabled`);
|
$("#zoraxyinfo .sshlb").html(data.EnableSshLoopback?`<i class="ui yellow exclamation triangle icon"></i> Enabled`:`Disabled`);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -348,7 +348,6 @@ func HandleZoraxyInfo(w http.ResponseWriter, r *http.Request) {
|
|||||||
Development: DEVELOPMENT_BUILD,
|
Development: DEVELOPMENT_BUILD,
|
||||||
BootTime: displayBootTime,
|
BootTime: displayBootTime,
|
||||||
EnableSshLoopback: displayAllowSSHLB,
|
EnableSshLoopback: displayAllowSSHLB,
|
||||||
ZerotierConnected: ganManager.ControllerID != "",
|
|
||||||
}
|
}
|
||||||
|
|
||||||
js, _ := json.MarshalIndent(info, "", " ")
|
js, _ := json.MarshalIndent(info, "", " ")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user