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:
Dirk Hohndel 2015-06-17 17:04:16 -07:00
parent b052d63789
commit 9f5207fc0d
2 changed files with 2 additions and 2 deletions

View file

@ -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//

View file

@ -961,7 +961,7 @@ function getDiveCoor(dive)
{ {
if (!dive.coordinates) if (!dive.coordinates)
return ""; return "";
return '<td class="words">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' + 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">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' + 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>';
} }
/** /**