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-07-16 20:04:58 +00:00
|
|
|
#body_div {
|
|
|
|
background-color: {{ template_options.color1 }};
|
|
|
|
}
|
|
|
|
|
2015-04-15 19:00:19 +00:00
|
|
|
.mainContainer {
|
|
|
|
width: 96%;
|
|
|
|
height: 50%;
|
|
|
|
margin-left: 2%;
|
|
|
|
margin-right: 2%;
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
page-break-inside: avoid;
|
|
|
|
}
|
|
|
|
|
|
|
|
.innerContainer {
|
|
|
|
height: 85%;
|
|
|
|
padding: 0.5%;
|
|
|
|
margin-top: 1%;
|
|
|
|
margin-bottom: 1%;
|
|
|
|
overflow: hidden;
|
2015-06-24 01:55:09 +00:00
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
|
|
|
border:max(0.1vw, 1px);
|
|
|
|
border-style:solid;
|
2015-08-03 16:21:16 +00:00
|
|
|
border-color: {{ template_options.color5 }};
|
2015-04-15 19:00:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.table_class {
|
|
|
|
overflow: hidden;
|
|
|
|
max-width: 25%;
|
|
|
|
min-width: 25%;
|
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;
|
|
|
|
border:max(0.1vw, 1px);
|
|
|
|
border-style:solid;
|
2015-08-03 16:21:16 +00:00
|
|
|
border-color: {{ template_options.color5 }};
|
2015-04-15 19:00:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.notes_table_class {
|
|
|
|
overflow: hidden;
|
|
|
|
max-width: 100%;
|
|
|
|
min-width: 100%;
|
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;
|
|
|
|
border:max(0.1vw, 1px);
|
|
|
|
border-style:solid;
|
2015-08-03 16:21:16 +00:00
|
|
|
border-color: {{ template_options.color5 }};
|
2015-04-15 19:00:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.fieldTitle {
|
2015-07-13 09:19:35 +00:00
|
|
|
background-color: {{ template_options.color2 }};
|
2015-08-03 16:21:16 +00:00
|
|
|
color: {{ template_options.color3 }};
|
2015-04-15 19:00:19 +00:00
|
|
|
overflow: hidden;
|
2015-06-24 01:55:09 +00:00
|
|
|
padding:0;
|
2015-04-15 19:00:19 +00:00
|
|
|
}
|
|
|
|
|
2015-08-03 16:21:16 +00:00
|
|
|
.fieldData {
|
|
|
|
color: {{ template_options.color4 }};
|
|
|
|
}
|
|
|
|
|
2015-04-15 19:00:19 +00:00
|
|
|
.diveProfile {
|
2015-07-29 19:35:17 +00:00
|
|
|
width: 48%;
|
2015-06-24 01:55:09 +00:00
|
|
|
height: 95%;
|
2015-07-29 19:35:17 +00:00
|
|
|
margin-left: 0%;
|
|
|
|
margin-right: 0%;
|
|
|
|
margin-bottom: 0%;
|
|
|
|
margin-top: 0.5%;
|
2015-04-15 19:00:19 +00:00
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.diveDetails {
|
2015-07-29 19:35:17 +00:00
|
|
|
width: 98.5%;
|
2015-04-15 19:00:19 +00:00
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dataPart {
|
|
|
|
height: 45%;
|
|
|
|
max-height: 60%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notesPart {
|
|
|
|
height: 35%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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-04-15 19:00:19 +00:00
|
|
|
<h1> {{ dive.number }} </h1>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="fieldTitle">
|
|
|
|
<h1> Date </h1>
|
|
|
|
</td>
|
2015-08-03 16:21:16 +00:00
|
|
|
<td class="fieldData">
|
|
|
|
<h1> {{ dive.date }} </h1>
|
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-04-15 19:00:19 +00:00
|
|
|
<h1> {{ dive.location }} </h1>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="fieldTitle">
|
|
|
|
<h1> Max depth </h1>
|
|
|
|
</td>
|
2015-08-03 16:21:16 +00:00
|
|
|
<td class="fieldData">
|
2015-04-15 19:00:19 +00:00
|
|
|
<h1> {{ dive.depth }} </h1>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="fieldTitle">
|
|
|
|
<h1> Duration </h1>
|
|
|
|
</td>
|
2015-08-03 16:21:16 +00:00
|
|
|
<td class="fieldData">
|
2015-04-15 19:00:19 +00:00
|
|
|
<h1> {{ dive.duration }} </h1>
|
|
|
|
</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-04-15 19:00:19 +00:00
|
|
|
<h1> {{ dive.time }} </h1>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="fieldTitle">
|
|
|
|
<h1> Air Temp. </h1>
|
|
|
|
</td>
|
2015-08-03 16:21:16 +00:00
|
|
|
<td class="fieldData">
|
|
|
|
<h1> {{ dive.airTemp }} </h1>
|
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-04-15 19:00:19 +00:00
|
|
|
<h1> {{ dive.waterTemp }} </h1>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="fieldTitle">
|
|
|
|
<h1> Buddy </h1>
|
|
|
|
</td>
|
2015-08-03 16:21:16 +00:00
|
|
|
<td class="fieldData">
|
2015-04-15 19:00:19 +00:00
|
|
|
<h1> {{ dive.buddy }} </h1>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="fieldTitle">
|
|
|
|
<h1> Dive Master </h1>
|
|
|
|
</td>
|
2015-08-03 16:21:16 +00:00
|
|
|
<td class="fieldData">
|
2015-04-15 19:00:19 +00:00
|
|
|
<h1> {{ dive.divemaster }} </h1>
|
|
|
|
</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>
|
|
|
|
<td class="fieldTitle">
|
|
|
|
<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">
|
|
|
|
<h1> {{ dive.notes }} </h1>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody></table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
{% endblock %}
|
2015-06-10 11:39:15 +00:00
|
|
|
<div id="footer">
|
|
|
|
<div>
|
2015-07-16 20:04:58 +00:00
|
|
|
</div>
|
2015-04-15 19:00:19 +00:00
|
|
|
</body>
|
|
|
|
</html>
|