mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-06-07 00:46:58 +03:00
visualize security
This commit is contained in:
parent
943b2c1090
commit
e2b4997e87
1 changed files with 2 additions and 0 deletions
|
@ -67,6 +67,8 @@ function renderClientList(data) {
|
||||||
+ allocatedIpsHtml
|
+ allocatedIpsHtml
|
||||||
+ `<span class="info-box-text"><strong>Allowed IPs</strong></span>`
|
+ `<span class="info-box-text"><strong>Allowed IPs</strong></span>`
|
||||||
+ allowedIpsHtml
|
+ allowedIpsHtml
|
||||||
|
+ `<span class="info-box-text"><i class="fas fa-lock" style="${obj.Client.private_key ? "opacity: 0.5" : "opacity: 1.0"}"></i>
|
||||||
|
${obj.Client.private_key ? 'Private Key stored (insecure)' : 'No Private key'}</span>`
|
||||||
+`</div>
|
+`</div>
|
||||||
</div>
|
</div>
|
||||||
</div>`
|
</div>`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue