Skip to content

Commit

Permalink
visualize security
Browse files Browse the repository at this point in the history
  • Loading branch information
ferrine committed Feb 22, 2022
1 parent 943b2c1 commit e2b4997
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions custom/js/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -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>`
Expand Down

0 comments on commit e2b4997

Please sign in to comment.