mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
WebUI: Allows one to view a map of the SNMP location set for a device (#5495)
This commit is contained in:
committed by
Neil Lathwood
parent
d970764674
commit
998750ddd9
@@ -99,7 +99,7 @@ if (!is_array($loc)) {
|
||||
if (is_array($loc)) {
|
||||
echo '<tr>
|
||||
<td>Lat / Lng</td>
|
||||
<td>['.$loc['lat'].','.$loc['lng'].']</td>
|
||||
<td>['.$loc['lat'].','.$loc['lng'].'] <div class="pull-right"><a href="https://maps.google.com/?q='.$loc['lat'].'+'.$loc['lng'].'" target="_blank" class="btn btn-success btn-xs" role="button"><i class="fa fa-map-marker" style="color:white" aria-hidden="true"></i> Map</button></div></a></td>
|
||||
</tr>';
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user