summaryrefslogtreecommitdiffstats
path: root/theme/dive_export.html
diff options
context:
space:
mode:
authorGravatar Gehad elrobey <gehadelrobey@gmail.com>2014-06-14 19:20:37 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-15 09:25:47 -0700
commit818bd9903a0e5a5d849ac237481448b002d3bf94 (patch)
treea1fd162d0bdda4dafc8a0d4f86556e66bfd069f2 /theme/dive_export.html
parentd363722c1656733be0c75f73b7a65cd116c3d7da (diff)
downloadsubsurface-818bd9903a0e5a5d849ac237481448b002d3bf94.tar.gz
HTML: move between dives in detailed view.
Move between next/prev dives in detailed view, and be able to go back to the list. Also fix the initial state of the sorting by number. (its already exported in ascending order) Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'theme/dive_export.html')
-rw-r--r--theme/dive_export.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/theme/dive_export.html b/theme/dive_export.html
index 2374c0758..e1b3189b5 100644
--- a/theme/dive_export.html
+++ b/theme/dive_export.html
@@ -156,6 +156,13 @@ function changeAdvSearch(e){
</center>
</div>
<div id="divePanel">
+ <center>
+ <div id="but">
+ <button onClick="prevDetailedDive()">&lt;-</button>
+ <button onClick="unshowDiveDetails()">Back to List</button>
+ <button onClick="nextDetailedDive()">-&gt;</button>
+ </div>
+ </center>
<div id="diveprofile">
<h2>Dive profile</h2>
<canvas id="profileCanvas"></canvas>