diff options
author | Gehad elrobey <gehadelrobey@gmail.com> | 2015-02-06 10:32:45 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-02-06 07:04:06 -0800 |
commit | c97128102d22f67e35d0057168900ffb88ec4248 (patch) | |
tree | 0e89f039ce86c24c9f488c91c7bf91f2203985cb /theme/dive_export.html | |
parent | 7b44cf2a61f967da807d616aea76479020fb4392 (diff) | |
download | subsurface-c97128102d22f67e35d0057168900ffb88ec4248.tar.gz |
HTML: add Depth and Duration data to the dive list view.
Add the Depth and Duration information to the list view and make dives
sortable by them instead of the water and air temperatures.
Fixes #725
Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'theme/dive_export.html')
-rw-r--r-- | theme/dive_export.html | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/theme/dive_export.html b/theme/dive_export.html index e171b070f..e7c643e0f 100644 --- a/theme/dive_export.html +++ b/theme/dive_export.html @@ -121,6 +121,7 @@ window.onload=function(){ searchingModules["tags"].Enter_search_tag(items[i].tags,i); } + set_units(); sizeofpage=10; showAllDives(); document.getElementById("divePanel").style.display='none'; @@ -132,8 +133,6 @@ window.onload=function(){ document.onkeydown = switchDives; - set_units(); - //translate Page translate_page(); getDefaultColor(); @@ -214,8 +213,8 @@ function changeAdvSearch(e){ <div id="date_header" onClick="change_sort_col('2')" class="item">Date</div> <div id="time_header" onClick="change_sort_col('3')" class="item">Time</div> <div id="location_header" onClick="change_sort_col('6')" class="item_large">Location</div> - <div id="air_temp_header" onClick="change_sort_col('4')" class="item">Air temp</div> - <div id="water_temp_header" onClick="change_sort_col('5')" class="item">Water temp</div> + <div id="duration_header" onClick="change_sort_col('4')" class="item">Duration</div> + <div id="maxdepth_header" onClick="change_sort_col('5')" class="item">Max Depth</div> </div> <div id="diveslist"> </div> |