Skip to content

Commit

Permalink
display used VPN server (from "current_vpn_server") in Gatemon list
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver committed Jul 24, 2022
1 parent 05753a4 commit e9c1de8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ $(function() {
+ '<th>Gatemon Name</th>'
+ '<th>Provider</th>'
+ '<th>Node</th>'
+ '<th>VPN Server</th>'
+ '<th>Version</th>'
+ '<th>Last Update</time></th>'
+ '</tr>'
Expand All @@ -41,6 +42,7 @@ $(function() {
+ '<td>' + gatemon['name'] + '</td>'
+ '<td>' + gatemon['provider'] + '</td>'
+ '<td>' + ((gatemon['node-id'] != 'unknown' && gatemon['node-id'] != undefined) ? '<a href="https://map.bremen.freifunk.net/#!/map/' + gatemon['node-id'] + '">' + gatemon['node-hostname'] + '</a></td>' : '')
+ '<td>' + (gatemon['current_vpn_server'] ? gatemon['current_vpn_server'] : "(unknown)") + '</td>'
+ '<td>' + gatemon['version'] + '</td>'
+ '<td class="' + gatemon_class + '">'
+ '<time class="timeago" datetime="' + gatemon['lastupdated'] + '">' + gatemon['lastupdated'] + '</time>'
Expand Down

0 comments on commit e9c1de8

Please sign in to comment.