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;
|
|
|
|
margin: 0;
|
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 {
|
|
|
|
float: left;
|
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 {
|
|
|
|
float: left;
|
|
|
|
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;
|
|
|
|
border:max(1px, 0.1vw);
|
|
|
|
border-style:solid;
|
2015-08-07 07:53:34 +00:00
|
|
|
border-color: {{ template_options.color6 }};
|
2015-06-14 04:13:37 +00:00
|
|
|
}
|
|
|
|
|
2015-07-10 12:02:13 +00:00
|
|
|
td {
|
|
|
|
padding-left: 0.5vw;
|
|
|
|
padding-right: 0.5vw;
|
|
|
|
}
|
|
|
|
|
2015-07-16 20:04:58 +00:00
|
|
|
#body_div {
|
|
|
|
background-color: {{ template_options.color1 }};
|
|
|
|
}
|
|
|
|
|
2015-06-14 04:13:37 +00:00
|
|
|
.mainContainer {
|
2015-08-07 23:39:46 +00:00
|
|
|
width: 98%;
|
2015-06-14 04:13:37 +00:00
|
|
|
height: 100%;
|
2015-08-07 23:39:46 +00:00
|
|
|
margin-left: 1%;
|
|
|
|
margin-right: 1%;
|
2015-06-14 04:13:37 +00:00
|
|
|
margin-top: 0%;
|
|
|
|
margin-bottom: 0%;
|
|
|
|
overflow: hidden;
|
|
|
|
border-width: 0;
|
|
|
|
page-break-inside: avoid;
|
|
|
|
}
|
|
|
|
|
|
|
|
.innerContainer {
|
2015-08-07 23:39:46 +00:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
padding: 0%;
|
2015-06-14 04:13:37 +00:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.diveDetails {
|
2015-08-07 23:39:46 +00:00
|
|
|
width: 100%;
|
2015-06-14 04:13:37 +00:00
|
|
|
height: 98%;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.diveProfile {
|
2015-08-07 23:39:46 +00:00
|
|
|
width: 99%;
|
2015-06-14 04:13:37 +00:00
|
|
|
height: 40%;
|
2015-08-07 23:39:46 +00:00
|
|
|
margin: 0.5%;
|
2015-06-14 04:13:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.dataSection {
|
2015-08-07 23:39:46 +00:00
|
|
|
width: 100%;
|
2015-06-14 04:13:37 +00:00
|
|
|
height: 40%;
|
2015-08-07 23:39:46 +00:00
|
|
|
margin: 0%;
|
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 }};
|
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 }};
|
2015-06-14 04:13:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.table_class {
|
|
|
|
float: left;
|
2015-08-04 06:01:53 +00:00
|
|
|
margin: 0.5%;
|
|
|
|
width: 49%;
|
2015-06-14 04:13:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.notes_table_class {
|
|
|
|
overflow: hidden;
|
2015-08-04 06:01:53 +00:00
|
|
|
width: 99%;
|
|
|
|
margin: 0.5%;
|
2015-06-14 04:13:37 +00:00
|
|
|
}
|
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 }};
|
2015-07-10 12:02:13 +00:00
|
|
|
max-height: 19vh;
|
|
|
|
overflow: hidden;
|
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">
|
|
|
|
<div class="diveDetails">
|
2015-07-28 20:35:04 +00:00
|
|
|
<div class="diveProfile" id="dive_{{ dive.id }}">
|
2015-06-14 04:13:37 +00:00
|
|
|
</div>
|
|
|
|
<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-06-14 04:13:37 +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-06-14 04:13:37 +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-06-14 04:13:37 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="fieldTitle">
|
|
|
|
<h1> Max depth </h1>
|
|
|
|
</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-06-14 04:13:37 +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-06-14 04:13:37 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody></table>
|
|
|
|
<table class="table_class">
|
|
|
|
<tbody><tr>
|
|
|
|
<td class="fieldTitle">
|
|
|
|
<h1> Time. </h1>
|
|
|
|
</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-06-14 04:13:37 +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-06-14 04:13:37 +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-06-14 04:13:37 +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-06-14 04:13:37 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="fieldTitle">
|
|
|
|
<h1> Dive Master </h1>
|
|
|
|
</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-06-14 04:13:37 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<table class="notes_table_class">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td class="fieldTitle">
|
|
|
|
<h1> Notes </h1>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<div class="textArea">
|
2015-08-07 13:16:32 +00:00
|
|
|
<p> {{ dive.notes }} </p>
|
2015-06-14 04:13:37 +00:00
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
{% endblock %}
|
2015-07-16 20:04:58 +00:00
|
|
|
</div>
|
2015-06-14 04:13:37 +00:00
|
|
|
</body>
|
|
|
|
</html>
|