diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-06-17 17:04:16 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-06-17 17:04:16 -0700 |
commit | 9f5207fc0dbef71839438e02426e481d06c2c03c (patch) | |
tree | 23eca5f1f0b99fccc4a8feca7e9840ade493f343 /theme | |
parent | b052d6378901afcadb69e7c0c05493a0e6a7c0a3 (diff) | |
download | subsurface-9f5207fc0dbef71839438e02426e481d06c2c03c.tar.gz |
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>
Diffstat (limited to 'theme')
-rw-r--r-- | theme/dive_export.html | 2 | ||||
-rw-r--r-- | theme/list_lib.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/theme/dive_export.html b/theme/dive_export.html index e7c643e0f..e27b56b62 100644 --- a/theme/dive_export.html +++ b/theme/dive_export.html @@ -1,7 +1,7 @@ <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>dive log export</title> +<title>Subsurface Webview</title> <script> ////////////////////////////////// //advance settings window// diff --git a/theme/list_lib.js b/theme/list_lib.js index b6982543d..481085049 100644 --- a/theme/list_lib.js +++ b/theme/list_lib.js @@ -961,7 +961,7 @@ function getDiveCoor(dive) { if (!dive.coordinates) 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>'; } /** |