2015-04-15 19:00:19 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<style>
|
|
|
|
body {
|
2015-07-16 20:04:58 +00:00
|
|
|
{{ print_options.grayscale }};
|
2015-04-15 19:00:19 +00:00
|
|
|
padding: 0px;
|
|
|
|
margin: 0px;
|
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-04-15 19:00:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
2015-07-04 14:55:43 +00:00
|
|
|
font-size: {{ template_options.font_size }}vw;
|
2015-04-15 19:00:19 +00:00
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
2015-08-07 13:16:32 +00:00
|
|
|
p {
|
|
|
|
font-size: {{ template_options.font_size }}vw;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
2015-07-16 20:04:58 +00:00
|
|
|
#body_div {
|
|
|
|
background-color: {{ template_options.color1 }};
|
|
|
|
}
|
|
|
|
|
2015-04-15 19:00:19 +00:00
|
|
|
.mainContainer {
|
2015-08-07 23:39:46 +00:00
|
|
|
width: 99%;
|
2015-04-15 19:00:19 +00:00
|
|
|
height: 50%;
|
2015-08-07 23:39:46 +00:00
|
|
|
margin-left: 0.5%;
|
|
|
|
margin-right: 0.5%;
|
2015-04-15 19:00:19 +00:00
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
page-break-inside: avoid;
|
|
|
|
}
|
|
|
|
|
|
|
|
.innerContainer {
|
|
|
|
height: 85%;
|
|
|
|
margin-top: 1%;
|
|
|
|
margin-bottom: 1%;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.table_class {
|
|
|
|
overflow: hidden;
|
2015-08-07 23:39:46 +00:00
|
|
|
width: 25%;
|
2015-08-14 19:15:07 +00:00
|
|
|
height: 99%;
|
2015-07-29 19:35:17 +00:00
|
|
|
margin: 0.5%;
|
2015-04-15 19:00:19 +00:00
|
|
|
float: left;
|
2015-06-24 01:55:09 +00:00
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
2015-08-11 21:02:00 +00:00
|
|
|
border-width: {{ template_options.borderwidth }}px;
|
2015-06-24 01:55:09 +00:00
|
|
|
border-style:solid;
|
2015-08-07 07:53:34 +00:00
|
|
|
border-color: {{ template_options.color6 }};
|
2015-04-15 19:00:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.notes_table_class {
|
|
|
|
overflow: hidden;
|
2015-08-07 23:39:46 +00:00
|
|
|
width: 99%;
|
2015-07-29 19:35:17 +00:00
|
|
|
margin: 0.5%;
|
2015-06-24 01:55:09 +00:00
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
2015-08-11 21:02:00 +00:00
|
|
|
border-width: {{ template_options.borderwidth }}px;
|
2015-06-24 01:55:09 +00:00
|
|
|
border-style:solid;
|
2015-08-07 07:53:34 +00:00
|
|
|
border-color: {{ template_options.color6 }};
|
2015-04-15 19:00:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.fieldTitle {
|
2015-07-13 09:19:35 +00:00
|
|
|
background-color: {{ template_options.color2 }};
|
2015-08-07 07:53:34 +00:00
|
|
|
color: {{ template_options.color4 }};
|
2015-08-14 19:15:07 +00:00
|
|
|
padding-left: 2%;
|
2015-04-15 19:00:19 +00:00
|
|
|
}
|
|
|
|
|
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-08-14 19:15:07 +00:00
|
|
|
padding-left: 2%;
|
2015-08-03 16:21:16 +00:00
|
|
|
}
|
|
|
|
|
2015-04-15 19:00:19 +00:00
|
|
|
.diveProfile {
|
2015-08-14 19:15:07 +00:00
|
|
|
float: left;
|
|
|
|
height: 99%;
|
|
|
|
width: 47%;
|
|
|
|
margin: 0.5%;
|
2015-04-15 19:00:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.diveDetails {
|
2015-08-07 23:39:46 +00:00
|
|
|
width: 100%;
|
2015-04-15 19:00:19 +00:00
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dataPart {
|
2015-08-14 19:15:07 +00:00
|
|
|
height: 64%;
|
|
|
|
padding-bottom: 1%;
|
|
|
|
width: 100%;
|
|
|
|
float: left;
|
2015-04-15 19:00:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.notesPart {
|
|
|
|
height: 35%;
|
2015-08-14 19:15:07 +00:00
|
|
|
width: 100%;
|
|
|
|
float: left;
|
2015-04-15 19:00:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.textArea {
|
|
|
|
overflow: hidden !important;
|
|
|
|
text-overflow: ellipsis;
|
2015-06-24 01:55:09 +00:00
|
|
|
max-height: 10.3vw;
|
2015-07-04 14:55:43 +00:00
|
|
|
line-height: {{ template_options.line_spacing }};
|
2015-04-15 19:00:19 +00:00
|
|
|
}
|
2015-06-10 11:39:15 +00:00
|
|
|
|
|
|
|
#footer {
|
|
|
|
width: 96%;
|
|
|
|
height: 50%;
|
|
|
|
}
|
2015-04-15 19:00:19 +00:00
|
|
|
</style>
|
|
|
|
</head>
|
2015-07-04 21:54:15 +00:00
|
|
|
<body data-numberofdives = 2>
|
2015-07-16 20:04:58 +00:00
|
|
|
<div id="body_div">
|
2015-04-15 19:00:19 +00:00
|
|
|
{% block main_rows %}
|
|
|
|
{% for dive in dives %}
|
|
|
|
<div class="mainContainer">
|
|
|
|
<div class="innerContainer">
|
|
|
|
<div class="diveDetails">
|
|
|
|
<div class="dataPart">
|
2015-06-24 01:55:09 +00:00
|
|
|
<table class="table_class">
|
2015-04-15 19:00:19 +00:00
|
|
|
<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-04-15 19:00:19 +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-04-15 19:00:19 +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-04-15 19:00:19 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="fieldTitle">
|
2017-03-06 12:27:39 +00:00
|
|
|
<h1> Max. depth </h1>
|
2015-04-15 19:00:19 +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-04-15 19:00:19 +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-04-15 19:00:19 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody></table>
|
2015-06-24 01:55:09 +00:00
|
|
|
<table class="table_class">
|
2015-04-15 19:00:19 +00:00
|
|
|
<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-04-15 19:00:19 +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-04-15 19:00:19 +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-04-15 19:00:19 +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-04-15 19:00:19 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="fieldTitle">
|
2017-02-27 11:14:22 +00:00
|
|
|
<h1> Divemaster </h1>
|
2015-04-15 19:00:19 +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-04-15 19:00:19 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody></table>
|
2015-07-28 20:35:04 +00:00
|
|
|
<div class="diveProfile" id="dive_{{ dive.id }}">
|
2015-04-15 19:00:19 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="notesPart">
|
2015-06-24 01:55:09 +00:00
|
|
|
<table class="notes_table_class">
|
2015-04-15 19:00:19 +00:00
|
|
|
<tbody><tr>
|
2015-08-14 19:15:07 +00:00
|
|
|
<td style="padding-left:1%" class="fieldTitle">
|
2015-04-15 19:00:19 +00:00
|
|
|
<h1> Notes </h1>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2015-08-03 16:21:16 +00:00
|
|
|
<td class="fieldData">
|
2015-04-15 19:00:19 +00:00
|
|
|
<div class="textArea">
|
2015-11-15 21:01:49 +00:00
|
|
|
<p> {{ dive.notes|safe }} </p>
|
2015-04-15 19:00:19 +00:00
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody></table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
{% endblock %}
|
2015-06-10 11:39:15 +00:00
|
|
|
<div id="footer">
|
2015-08-14 19:15:07 +00:00
|
|
|
</div>
|
2015-07-16 20:04:58 +00:00
|
|
|
</div>
|
2015-04-15 19:00:19 +00:00
|
|
|
</body>
|
|
|
|
</html>
|