2015-06-14 04:13:37 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<style>
|
|
|
|
body {
|
2015-07-16 20:04:58 +00:00
|
|
|
{{ print_options.grayscale }};
|
2015-06-14 04:13:37 +00:00
|
|
|
padding: 0;
|
2017-11-22 18:58:42 +00:00
|
|
|
margin: 0 0 0 6%; <!-- Provide LH margin for binding the page -->
|
2015-07-04 14:55:43 +00:00
|
|
|
font-size: {{ template_options.font_size }}vw;
|
|
|
|
line-height: {{ template_options.line_spacing }};
|
|
|
|
font-family: {{ template_options.font }};
|
2015-06-14 04:13:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
2015-07-04 14:55:43 +00:00
|
|
|
font-size: {{ template_options.font_size }}vw;
|
2015-06-14 04:13:37 +00:00
|
|
|
}
|
|
|
|
|
2015-08-07 13:16:32 +00:00
|
|
|
p {
|
|
|
|
font-size: {{ template_options.font_size }}vw;
|
|
|
|
}
|
|
|
|
|
2015-06-14 04:13:37 +00:00
|
|
|
table {
|
2015-07-10 12:02:13 +00:00
|
|
|
-webkit-box-sizing: border-box;
|
2015-06-14 04:13:37 +00:00
|
|
|
box-sizing: border-box;
|
2015-08-11 21:02:00 +00:00
|
|
|
border-width: {{ template_options.borderwidth }}px;
|
2015-06-14 04:13:37 +00:00
|
|
|
border-style:solid;
|
2015-08-07 07:53:34 +00:00
|
|
|
border-color: {{ template_options.color6 }};
|
2017-11-19 14:17:36 +00:00
|
|
|
border-collapse: separate;
|
|
|
|
}
|
|
|
|
|
|
|
|
tr {
|
|
|
|
height: 4vh;
|
2015-06-14 04:13:37 +00:00
|
|
|
}
|
|
|
|
|
2015-07-10 12:02:13 +00:00
|
|
|
td {
|
2017-11-19 14:17:36 +00:00
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
padding-left: 1%;
|
2015-07-10 12:02:13 +00:00
|
|
|
}
|
|
|
|
|
2015-07-16 20:04:58 +00:00
|
|
|
#body_div {
|
|
|
|
background-color: {{ template_options.color1 }};
|
|
|
|
}
|
|
|
|
|
2015-06-14 04:13:37 +00:00
|
|
|
.mainContainer {
|
2017-11-19 14:17:36 +00:00
|
|
|
width: 97%;
|
2015-06-14 04:13:37 +00:00
|
|
|
height: 100%;
|
2017-11-19 14:17:36 +00:00
|
|
|
margin-left: 0%;
|
2015-08-07 23:39:46 +00:00
|
|
|
margin-right: 1%;
|
2015-06-14 04:13:37 +00:00
|
|
|
margin-top: 0%;
|
|
|
|
margin-bottom: 0%;
|
2017-11-19 14:17:36 +00:00
|
|
|
border-width: 1px;
|
2015-06-14 04:13:37 +00:00
|
|
|
page-break-inside: avoid;
|
|
|
|
}
|
|
|
|
|
|
|
|
.innerContainer {
|
2017-11-19 14:17:36 +00:00
|
|
|
width: 99%;
|
2015-08-10 15:59:18 +00:00
|
|
|
height: 99%;
|
2017-11-19 14:17:36 +00:00
|
|
|
padding-top: 0%;
|
2015-06-14 04:13:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.diveDetails {
|
2015-08-07 23:39:46 +00:00
|
|
|
width: 100%;
|
2017-11-19 14:17:36 +00:00
|
|
|
margin: 0.0%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dataSection {
|
|
|
|
width: 100%;
|
|
|
|
margin: 0.0% 0% 0% 0%;
|
2015-06-14 04:13:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.diveProfile {
|
2017-11-19 14:17:36 +00:00
|
|
|
width: 99.5%;
|
|
|
|
height: 45%;
|
|
|
|
margin: 0.2% 0% 0.5% 0.5%;
|
2015-06-14 04:13:37 +00:00
|
|
|
}
|
|
|
|
|
2017-11-19 14:17:36 +00:00
|
|
|
.notesSection {
|
2015-08-07 23:39:46 +00:00
|
|
|
width: 100%;
|
2017-11-19 14:17:36 +00:00
|
|
|
margin: 0.0%;
|
|
|
|
min-height: 35%;
|
2015-06-14 04:13:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.fieldTitle {
|
2015-07-13 09:19:35 +00:00
|
|
|
background-color: {{ template_options.color2 }};
|
2015-06-14 04:13:37 +00:00
|
|
|
overflow: hidden;
|
2015-08-07 07:53:34 +00:00
|
|
|
color: {{ template_options.color4 }};
|
2017-11-19 14:17:36 +00:00
|
|
|
width: 7%;
|
|
|
|
padding-left:5px;
|
2015-08-03 16:21:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.fieldData {
|
2015-08-07 08:07:57 +00:00
|
|
|
background-color: {{ template_options.color3 }};
|
2015-08-07 07:53:34 +00:00
|
|
|
color: {{ template_options.color5 }};
|
2017-11-19 14:17:36 +00:00
|
|
|
width: 13%;
|
|
|
|
padding: o$ 1% 0% 1%;
|
2015-06-14 04:13:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.table_class {
|
2017-11-19 14:17:36 +00:00
|
|
|
margin: 0%;
|
|
|
|
width: 100%;
|
2015-06-14 04:13:37 +00:00
|
|
|
}
|
|
|
|
|
2017-11-19 14:17:36 +00:00
|
|
|
td.insert_column_inner {
|
|
|
|
border-left-style:solid;
|
|
|
|
border-left-color: {{ template_options.color6 }};
|
|
|
|
background-color: {{ template_options.color2 }};
|
|
|
|
color: {{ template_options.color4 }};
|
|
|
|
border: 5px solid black;
|
|
|
|
}
|
|
|
|
|
|
|
|
td.insert_column_outer {
|
|
|
|
background-color: {{ template_options.color2 }};
|
|
|
|
color: {{ template_options.color4 }};
|
|
|
|
}
|
|
|
|
|
2015-06-14 04:13:37 +00:00
|
|
|
.notes_table_class {
|
|
|
|
overflow: hidden;
|
2017-11-19 14:17:36 +00:00
|
|
|
width: 100%;
|
|
|
|
margin: 0.0% 0% 0% 0%;
|
|
|
|
max-height: 35%;
|
2015-06-14 04:13:37 +00:00
|
|
|
}
|
2015-07-04 14:55:43 +00:00
|
|
|
|
2017-11-19 14:17:36 +00:00
|
|
|
.notes_table_class td.fieldTitle {
|
|
|
|
max-height: 0.15vh;
|
|
|
|
}
|
|
|
|
|
2015-07-04 14:55:43 +00:00
|
|
|
.textArea {
|
|
|
|
line-height: {{ template_options.line_spacing }};
|
2015-08-07 07:53:34 +00:00
|
|
|
color: {{ template_options.color5 }};
|
2017-11-19 14:17:36 +00:00
|
|
|
font-size: {{ template_options.font_size }}vw;
|
|
|
|
padding: 1%;
|
|
|
|
}
|
|
|
|
|
|
|
|
td.fieldTitle b {
|
|
|
|
font-size: {{ template_options.font_size }}vw;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hidden_div {
|
|
|
|
display: none;
|
2015-07-04 14:55:43 +00:00
|
|
|
}
|
2015-06-14 04:13:37 +00:00
|
|
|
</style>
|
|
|
|
</head>
|
2015-07-04 21:54:15 +00:00
|
|
|
<body data-numberofdives = 1>
|
2015-07-16 20:04:58 +00:00
|
|
|
<div id="body_div">
|
2015-06-14 04:13:37 +00:00
|
|
|
{% block main_rows %}
|
|
|
|
{% for dive in dives %}
|
|
|
|
<div class="mainContainer">
|
|
|
|
<div class="innerContainer">
|
2017-11-19 14:17:36 +00:00
|
|
|
<div class="dataSection">
|
2015-06-14 04:13:37 +00:00
|
|
|
<table class="table_class">
|
|
|
|
<tr>
|
|
|
|
<td class="fieldTitle">
|
2017-11-19 14:17:36 +00:00
|
|
|
<b> Date </b>
|
2015-06-14 04:13:37 +00:00
|
|
|
</td>
|
2015-08-03 16:21:16 +00:00
|
|
|
<td class="fieldData">
|
2015-08-07 13:16:32 +00:00
|
|
|
<p> {{ dive.date }} </p>
|
2015-06-14 04:13:37 +00:00
|
|
|
</td>
|
|
|
|
<td class="fieldTitle">
|
2017-11-19 14:17:36 +00:00
|
|
|
<b> Dive No. </b>
|
2015-06-14 04:13:37 +00:00
|
|
|
</td>
|
2015-08-03 16:21:16 +00:00
|
|
|
<td class="fieldData">
|
2017-11-19 14:17:36 +00:00
|
|
|
<p> {{ dive.number }} </p>
|
2015-06-14 04:13:37 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="fieldTitle">
|
2017-11-19 14:17:36 +00:00
|
|
|
<b> Time </b>
|
2015-06-14 04:13:37 +00:00
|
|
|
</td>
|
2015-08-03 16:21:16 +00:00
|
|
|
<td class="fieldData">
|
2017-11-19 14:17:36 +00:00
|
|
|
<p> {{ dive.time }} </p>
|
2015-06-14 04:13:37 +00:00
|
|
|
</td>
|
|
|
|
<td class="fieldTitle">
|
2017-11-19 14:17:36 +00:00
|
|
|
<b> Gases </b>
|
2015-06-14 04:13:37 +00:00
|
|
|
</td>
|
2015-08-03 16:21:16 +00:00
|
|
|
<td class="fieldData">
|
2017-11-19 14:17:36 +00:00
|
|
|
<p> {{ dive.gas }} </p>
|
2015-06-14 04:13:37 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
2017-11-19 14:17:36 +00:00
|
|
|
<tr>
|
2015-06-14 04:13:37 +00:00
|
|
|
<td class="fieldTitle">
|
2017-11-19 14:17:36 +00:00
|
|
|
<b> Location </b>
|
2015-06-14 04:13:37 +00:00
|
|
|
</td>
|
2015-08-03 16:21:16 +00:00
|
|
|
<td class="fieldData">
|
2017-11-19 14:17:36 +00:00
|
|
|
<p> {{ dive.location }} </p>
|
2015-06-14 04:13:37 +00:00
|
|
|
</td>
|
|
|
|
<td class="fieldTitle">
|
2017-11-19 14:17:36 +00:00
|
|
|
<b> Water Temp. </b>
|
2015-06-14 04:13:37 +00:00
|
|
|
</td>
|
2015-08-03 16:21:16 +00:00
|
|
|
<td class="fieldData">
|
2017-11-19 14:17:36 +00:00
|
|
|
<p> {{ dive.waterTemp }} </p>
|
2015-06-14 04:13:37 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="fieldTitle">
|
2017-11-19 14:17:36 +00:00
|
|
|
<b> Max Depth </b>
|
2015-06-14 04:13:37 +00:00
|
|
|
</td>
|
2015-08-03 16:21:16 +00:00
|
|
|
<td class="fieldData">
|
2017-11-19 14:17:36 +00:00
|
|
|
<p> {{ dive.depth }} </p>
|
2015-06-14 04:13:37 +00:00
|
|
|
</td>
|
|
|
|
<td class="fieldTitle">
|
2017-11-19 14:17:36 +00:00
|
|
|
<b> Buddy </b>
|
2015-06-14 04:13:37 +00:00
|
|
|
</td>
|
2015-08-03 16:21:16 +00:00
|
|
|
<td class="fieldData">
|
2015-08-07 13:16:32 +00:00
|
|
|
<p> {{ dive.buddy }} </p>
|
2015-06-14 04:13:37 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="fieldTitle">
|
2017-11-19 14:17:36 +00:00
|
|
|
<b> Duration </b>
|
2015-06-14 04:13:37 +00:00
|
|
|
</td>
|
2015-08-03 16:21:16 +00:00
|
|
|
<td class="fieldData">
|
2017-11-19 14:17:36 +00:00
|
|
|
<p> {{ dive.duration }} </p>
|
2015-06-14 04:13:37 +00:00
|
|
|
</td>
|
|
|
|
<td class="fieldTitle">
|
2020-12-12 16:36:32 +00:00
|
|
|
<b> Dive Guide </b>
|
2015-06-14 04:13:37 +00:00
|
|
|
</td>
|
2015-08-13 21:38:20 +00:00
|
|
|
<td class="fieldData">
|
2017-11-19 14:17:36 +00:00
|
|
|
<p> {{ dive.divemaster }} </p>
|
2015-06-14 04:13:37 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
2017-11-19 14:17:36 +00:00
|
|
|
|
|
|
|
<div class="diveProfile" id="dive_{{ dive.id }}">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="notesSection">
|
|
|
|
<table class="notes_table_class">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td class="fieldTitle">
|
|
|
|
<b> Notes </b>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="fieldData">
|
|
|
|
<p> {{ dive.notes|safe }} </p>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2017-11-22 18:58:42 +00:00
|
|
|
</div> <!-- notesSection -->
|
2017-11-19 14:17:36 +00:00
|
|
|
|
2017-11-22 18:58:42 +00:00
|
|
|
</div> <!-- innerContainer -->
|
|
|
|
</div> <!-- mainContainer -->
|
2017-11-19 14:17:36 +00:00
|
|
|
|
2015-06-14 04:13:37 +00:00
|
|
|
{% endfor %}
|
|
|
|
{% endblock %}
|
2017-11-22 18:58:42 +00:00
|
|
|
</div>
|
2015-06-14 04:13:37 +00:00
|
|
|
</body>
|
|
|
|
</html>
|