visualize security

This commit is contained in:
Maxim Kochurov 2022-02-22 17:47:28 +00:00
parent 943b2c1090
commit e2b4997e87

View file

@ -67,6 +67,8 @@ function renderClientList(data) {
+ allocatedIpsHtml
+ `<span class="info-box-text"><strong>Allowed IPs</strong></span>`
+ 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>`