WebUI: Allows one to view a map of the SNMP location set for a device (#5495)

This commit is contained in:
Richard Mayhew
2017-01-24 11:53:25 +02:00
committed by Neil Lathwood
parent d970764674
commit 998750ddd9
2 changed files with 2 additions and 2 deletions

View File

@@ -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>';
}