diff options
Diffstat (limited to 'theme')
-rw-r--r-- | theme/dive_export.html | 20 | ||||
-rw-r--r-- | theme/list_lib.js | 6 |
2 files changed, 13 insertions, 13 deletions
diff --git a/theme/dive_export.html b/theme/dive_export.html index 4073d0639..0b5b6dc7f 100644 --- a/theme/dive_export.html +++ b/theme/dive_export.html @@ -154,7 +154,7 @@ function changeAdvSearch(e){ <div id="diveListPanel"> <div id="controlbox"> <input id="search_input" oninput="SearchModules(this.value, null)" placeholder="search"/> - <a id="adv_srch_sp" onClick="showdiv()" >Advanced Search</a> + <a id="adv_srch_sp" onClick="showdiv()" >Advanced search</a> <div id="advanced_search"> <input type="checkbox" onchange="changeAdvSearch(this)" value="location" checked>Location<br> <input type="checkbox" onchange="changeAdvSearch(this)" value="divemaster" checked>Divemaster<br> @@ -169,9 +169,9 @@ function changeAdvSearch(e){ <option>50</option> <option>100</option> </select> - <button id="expnd_all_btn" onClick="expandAll()"> Expand All </button> - <button id="claps_all_btn" onClick="collapseAll()"> Collapse All </button> - <button id="trip_button" onclick="toggleTrips();">trips</button> + <button id="expnd_all_btn" onClick="expandAll()"> Expand all </button> + <button id="claps_all_btn" onClick="collapseAll()"> Collapse all </button> + <button id="trip_button" onclick="toggleTrips();">Trips</button> <button id="stats_button" onclick="toggleStats();">Stats</button> </div> </div> @@ -180,8 +180,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="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> <div id="diveslist"> </div> @@ -212,8 +212,8 @@ function changeAdvSearch(e){ <div id="diveinfo"> <h2 class="det_hed">Dive Information</h2> </div> - <div id="dive_equipments"> - <h2 class="det_hed">Dive equipments</h2> + <div id="dive_equipment"> + <h2 class="det_hed">Dive equipment</h2> </div> <div id="bookmarks"> <h2 class="det_hed">Events</h2> @@ -222,7 +222,7 @@ function changeAdvSearch(e){ <h2 class="det_hed">Dive stats</h2> </div> <div id="divephotos"> - <h2 class="det_hed">Dive Photos</h2> + <h2 class="det_hed">Dive photos</h2> <div id="slider_container"> <button onclick="prev_photo()" style="width:7%;margin:1%;float:left;"><-</button> <div id="slider"> @@ -233,7 +233,7 @@ function changeAdvSearch(e){ </div> <div id="diveStat"> <center> - <button id="bk_to_ls_lbl2" onClick="toggleStats()">Back to List</button> + <button id="bk_to_ls_lbl2" onClick="toggleStats()">Back to list</button> </center> <div id="diveStatsData"> </div> diff --git a/theme/list_lib.js b/theme/list_lib.js index 775d83e4b..6f32ed493 100644 --- a/theme/list_lib.js +++ b/theme/list_lib.js @@ -863,7 +863,7 @@ function get_cylinders_HTML(dive) return ""; var result = ""; - result += '<h2 class="det_hed">' + translate.Dive_equipments + '</h2><table><tr><td class="words">' + translate.Type + '</td><td class="words">' + translate.Size + '</td><td class="words">' + translate.Work_Pressure + '</td><td class="words">' + translate.Start_Pressure + '</td><td class="words">' + translate.End_Pressure + '</td><td class="words">'+translate.Gas+'</td></tr>'; + result += '<h2 class="det_hed">' + translate.Dive_equipment + '</h2><table><tr><td class="words">' + translate.Type + '</td><td class="words">' + translate.Size + '</td><td class="words">' + translate.Work_Pressure + '</td><td class="words">' + translate.Start_Pressure + '</td><td class="words">' + translate.End_Pressure + '</td><td class="words">'+translate.Gas+'</td></tr>'; for (var i in dive.Cylinders) { result += get_cylinder_HTML(dive.Cylinders[i]); } @@ -1216,8 +1216,8 @@ function showDiveDetails(dive) //draw the canvas and initialize the view document.getElementById("diveinfo").innerHTML = get_dive_HTML(items[dive_id]); - document.getElementById("dive_equipments").innerHTML = get_cylinders_HTML(items[dive_id]); - document.getElementById("dive_equipments").innerHTML += get_weights_HTML(items[dive_id]); + document.getElementById("dive_equipment").innerHTML = get_cylinders_HTML(items[dive_id]); + document.getElementById("dive_equipment").innerHTML += get_weights_HTML(items[dive_id]); document.getElementById("bookmarks").innerHTML = get_bookmarks_HTML(items[dive_id]); document.getElementById("divestats").innerHTML = get_status_HTML(items[dive_id]); document.getElementById("slider").innerHTML = get_dive_photos(items[dive_id]); |