2015-07-26 15:43:20 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<style>
|
|
|
|
body {
|
|
|
|
{{ print_options.grayscale }};
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
font-size: {{ template_options.font_size }}vw;
|
|
|
|
line-height: {{ template_options.line_spacing }};
|
|
|
|
font-family: {{ template_options.font }};
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
float: left;
|
|
|
|
font-size: {{ template_options.font_size }}vw;
|
|
|
|
}
|
|
|
|
|
2015-08-07 13:16:32 +00:00
|
|
|
p {
|
|
|
|
float: left;
|
|
|
|
font-size: {{ template_options.font_size }}vw;
|
|
|
|
}
|
|
|
|
|
2015-07-26 15:43:20 +00:00
|
|
|
table {
|
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
2015-08-11 21:02:00 +00:00
|
|
|
border-width: {{ template_options.borderwidth }}px;
|
2015-07-26 15:43:20 +00:00
|
|
|
border-style:solid;
|
2015-08-07 07:53:34 +00:00
|
|
|
border-color: {{ template_options.color6 }};
|
2015-07-26 15:43:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
padding-left: 0.5vw;
|
|
|
|
padding-right: 0.5vw;
|
|
|
|
}
|
|
|
|
|
|
|
|
#body_div {
|
|
|
|
background-color: {{ template_options.color1 }};
|
|
|
|
}
|
|
|
|
|
|
|
|
.mainContainer {
|
2015-08-07 23:39:46 +00:00
|
|
|
width: 100%;
|
|
|
|
margin-left: 0%;
|
|
|
|
margin-right: 0%;
|
2015-07-26 15:43:20 +00:00
|
|
|
margin-top: 0%;
|
2015-08-04 06:01:53 +00:00
|
|
|
margin-bottom: 2%;
|
2015-07-26 15:43:20 +00:00
|
|
|
overflow: hidden;
|
|
|
|
border-width: 0;
|
|
|
|
page-break-inside: avoid;
|
|
|
|
}
|
|
|
|
|
|
|
|
.innerContainer {
|
2015-08-07 23:39:46 +00:00
|
|
|
width: 100%;
|
|
|
|
padding: 0%;
|
2015-07-26 15:43:20 +00:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.diveDetails {
|
2015-08-07 23:39:46 +00:00
|
|
|
width: 100%;
|
2015-07-26 15:43:20 +00:00
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dataSection {
|
2015-08-04 06:01:53 +00:00
|
|
|
width: 100%;
|
2015-07-26 15:43:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.fieldTitle {
|
|
|
|
background-color: {{ template_options.color2 }};
|
|
|
|
overflow: hidden;
|
2015-08-07 07:53:34 +00:00
|
|
|
color: {{ template_options.color4 }};
|
2015-08-03 16:21:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.fieldData {
|
2015-08-07 07:53:34 +00:00
|
|
|
color: {{ template_options.color5 }};
|
2015-08-07 08:07:57 +00:00
|
|
|
background-color: {{ template_options.color3 }};
|
2015-07-26 15:43:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.table_class {
|
|
|
|
float: left;
|
2015-08-07 23:39:46 +00:00
|
|
|
width: 49.25%;
|
2015-08-04 06:01:53 +00:00
|
|
|
margin: 0.5%;
|
2015-07-26 15:43:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.notes_table_class {
|
|
|
|
overflow: hidden;
|
2015-08-04 06:01:53 +00:00
|
|
|
width: 99%;
|
|
|
|
margin: 0.5%;
|
2015-07-26 15:43:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.textArea {
|
|
|
|
line-height: {{ template_options.line_spacing }};
|
|
|
|
max-height: 19vh;
|
|
|
|
overflow: hidden;
|
2015-08-03 16:21:16 +00:00
|
|
|
color: {{ template_options.color4 }};
|
2015-07-26 15:43:20 +00:00
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body data-numberofdives = 0>
|
|
|
|
<div id="body_div">
|
|
|
|
{% block main_rows %}
|
|
|
|
{% for dive in dives %}
|
2015-08-13 21:23:33 +00:00
|
|
|
<div class="mainContainer dontbreak">
|
2015-07-26 15:43:20 +00:00
|
|
|
<div class="innerContainer">
|
|
|
|
<div class="diveDetails">
|
|
|
|
<div class="dataSection">
|
|
|
|
<table class="table_class">
|
|
|
|
<tbody><tr>
|
|
|
|
<td class="fieldTitle">
|
|
|
|
<h1> Dive No. </h1>
|
|
|
|
</td>
|
2015-08-03 16:21:16 +00:00
|
|
|
<td class="fieldData">
|
2015-08-07 13:16:32 +00:00
|
|
|
<p> {{ dive.number }} </p>
|
2015-07-26 15:43:20 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="fieldTitle">
|
|
|
|
<h1> Date </h1>
|
|
|
|
</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-07-26 15:43:20 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="fieldTitle">
|
|
|
|
<h1> Location </h1>
|
|
|
|
</td>
|
2015-08-03 16:21:16 +00:00
|
|
|
<td class="fieldData">
|
2015-08-07 13:16:32 +00:00
|
|
|
<p> {{ dive.location }} </p>
|
2015-07-26 15:43:20 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="fieldTitle">
|
2017-03-06 12:27:39 +00:00
|
|
|
<h1> Max. depth </h1>
|
2015-07-26 15:43:20 +00:00
|
|
|
</td>
|
2015-08-03 16:21:16 +00:00
|
|
|
<td class="fieldData">
|
2015-08-07 13:16:32 +00:00
|
|
|
<p> {{ dive.depth }} </p>
|
2015-07-26 15:43:20 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="fieldTitle">
|
|
|
|
<h1> Duration </h1>
|
|
|
|
</td>
|
2015-08-03 16:21:16 +00:00
|
|
|
<td class="fieldData">
|
2015-08-07 13:16:32 +00:00
|
|
|
<p> {{ dive.duration }} </p>
|
2015-07-26 15:43:20 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody></table>
|
|
|
|
<table class="table_class">
|
|
|
|
<tbody><tr>
|
|
|
|
<td class="fieldTitle">
|
2017-03-06 12:28:33 +00:00
|
|
|
<h1> Time </h1>
|
2015-07-26 15:43:20 +00:00
|
|
|
</td>
|
2015-08-03 16:21:16 +00:00
|
|
|
<td class="fieldData">
|
2015-08-07 13:16:32 +00:00
|
|
|
<p> {{ dive.time }} </p>
|
2015-07-26 15:43:20 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="fieldTitle">
|
|
|
|
<h1> Air Temp. </h1>
|
|
|
|
</td>
|
2015-08-03 16:21:16 +00:00
|
|
|
<td class="fieldData">
|
2015-08-07 13:16:32 +00:00
|
|
|
<p> {{ dive.airTemp }} </p>
|
2015-07-26 15:43:20 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="fieldTitle">
|
|
|
|
<h1> Water Temp. </h1>
|
|
|
|
</td>
|
2015-08-03 16:21:16 +00:00
|
|
|
<td class="fieldData">
|
2015-08-07 13:16:32 +00:00
|
|
|
<p> {{ dive.waterTemp }} </p>
|
2015-07-26 15:43:20 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="fieldTitle">
|
|
|
|
<h1> Buddy </h1>
|
|
|
|
</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-07-26 15:43:20 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="fieldTitle">
|
2017-02-27 11:14:22 +00:00
|
|
|
<h1> Divemaster </h1>
|
2015-07-26 15:43:20 +00:00
|
|
|
</td>
|
2015-08-03 16:21:16 +00:00
|
|
|
<td class="fieldData">
|
2015-08-07 13:16:32 +00:00
|
|
|
<p> {{ dive.divemaster }} </p>
|
2015-07-26 15:43:20 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<table class="notes_table_class">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td class="fieldTitle">
|
|
|
|
<h1> Notes </h1>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2015-08-13 21:38:20 +00:00
|
|
|
<td class="fieldData">
|
2015-07-26 15:43:20 +00:00
|
|
|
<div class="textArea">
|
2015-11-15 21:01:49 +00:00
|
|
|
<p> {{ dive.notes|safe }} </p>
|
2015-07-26 15:43:20 +00:00
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
{% endblock %}
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|