mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-03 15:43:09 +00:00
HTML exports: minor cosmetic improvements
This brings up the satellite view when clicking on GPS coordinates and sets a slightly better page title. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
b052d63789
commit
9f5207fc0d
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
<title>dive log export</title>
|
<title>Subsurface Webview</title>
|
||||||
<script>
|
<script>
|
||||||
//////////////////////////////////
|
//////////////////////////////////
|
||||||
//advance settings window//
|
//advance settings window//
|
||||||
|
|
|
@ -961,7 +961,7 @@ function getDiveCoor(dive)
|
||||||
{
|
{
|
||||||
if (!dive.coordinates)
|
if (!dive.coordinates)
|
||||||
return "";
|
return "";
|
||||||
return '<td class="words"> ' + translate.Coordinates + ': </td><td>' + '<a href="http://maps.google.com/maps?q=loc:' + dive.coordinates.lat + ',' + dive.coordinates.lon + '" target="_blank">' + getDiveCoorString(dive.coordinates) + '</a></td>';
|
return '<td class="words"> ' + translate.Coordinates + ': </td><td>' + '<a href="http://maps.google.com/maps?t=k&q=loc:' + dive.coordinates.lat + ',' + dive.coordinates.lon + '" target="_blank">' + getDiveCoorString(dive.coordinates) + '</a></td>';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue