Add connection details to IP address modal

This commit is contained in:
JonnyWong16 2022-01-25 16:06:52 -08:00
commit e7a4cb9233
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
4 changed files with 38 additions and 8 deletions

View file

@ -315,7 +315,8 @@ DOCUMENTATION :: END
% if data['relayed']:
<span data-toggle="tooltip" title="Plex Relay"><i class="fa fa-exclamation-circle"></i></span>
% else:
<a href="#" class="external_ip-modal" data-toggle="modal" data-target="#ip-info-modal" data-ip="${data['ip_address']}">
<a href="#" class="external_ip-modal" data-toggle="modal" data-target="#ip-info-modal"
data-ip="${data['ip_address']}" data-location="${data['location']}" data-secure="${data['secure']}" data-relayed="${data['relayed']}">
<span id="external_ip-${sk}" class="external-ip-tooltip" data-toggle="tooltip" title="Lookup External IP" style="display: none;"><i class="fa fa-map-marker"></i></span>
</a>
<script>