mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
HTML: some css enhancment
Detailed dive view needs more padding just to view normally. 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>
This commit is contained in:
parent
f139eff590
commit
ac46158d65
4 changed files with 15 additions and 47 deletions
|
@ -817,7 +817,7 @@ function get_cylinder_HTML(cylinder)
|
|||
function get_cylinders_HTML(dive)
|
||||
{
|
||||
var result = "";
|
||||
result += '<h2>Dive equipments</h2><table><tr><td class="Cyl">Type</td><td class="Cyl">Size</td><td class="Cyl">Work Pressure</td><td class="Cyl">Start Pressure</td><td class="Cyl">End Pressure</td><td class="Cyl">O2</td></tr>';
|
||||
result += '<h2 class="det_hed">Dive equipments</h2><table><tr><td class="words">Type</td><td class="words">Size</td><td class="words">Work Pressure</td><td class="words">Start Pressure</td><td class="words">End Pressure</td><td class="words">O2</td></tr>';
|
||||
for (var i in dive.Cylinders) {
|
||||
result += get_cylinder_HTML(dive.Cylinders[i]);
|
||||
}
|
||||
|
@ -853,7 +853,7 @@ function get_bookmarks_HTML(dive)
|
|||
*/
|
||||
function get_dive_HTML(dive)
|
||||
{
|
||||
return '<h2>Dive Information</h2><table><tr><td class="words">Date: </td><td>' + dive.date +
|
||||
return '<h2 class="det_hed">Dive Information</h2><table><tr><td class="words">Date: </td><td>' + dive.date +
|
||||
'</td><td class="words">     Time: </td><td>' + dive.time +
|
||||
'</td><td class="words">     Location: </td><td>' + '<a onclick=\"Search_list_Modules(\'' + dive.location + '\')\">' +
|
||||
dive.location + '</a>' +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue