mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
7b44cf2a61
commit
c97128102d
2 changed files with 29 additions and 30 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue