summaryrefslogtreecommitdiffstats
path: root/printing_templates/Two Dives.html
diff options
context:
space:
mode:
authorGravatar Gehad elrobey <gehadelrobey@gmail.com>2015-08-14 21:15:07 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-08-15 15:05:16 +0300
commitf7fcc96bff2ca9965a4edfd61524a13cb5e2c183 (patch)
treeb9fc974db738b649e2fcb8820abe82adea6b64ab /printing_templates/Two Dives.html
parent2d360e8a6d99b510f06d42a1590ecafe7c3c7896 (diff)
downloadsubsurface-f7fcc96bff2ca9965a4edfd61524a13cb5e2c183.tar.gz
Printing: enhance 2 dives template
- Add more text padding on the left - Reduce the width of the profile so that the padding on the right of it is equal to the padding bottom from it. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Diffstat (limited to 'printing_templates/Two Dives.html')
-rw-r--r--printing_templates/Two Dives.html29
1 files changed, 15 insertions, 14 deletions
diff --git a/printing_templates/Two Dives.html b/printing_templates/Two Dives.html
index 13cb5cff6..95cc9a088 100644
--- a/printing_templates/Two Dives.html
+++ b/printing_templates/Two Dives.html
@@ -45,6 +45,7 @@
.table_class {
overflow: hidden;
width: 25%;
+ height: 99%;
margin: 0.5%;
float: left;
-webkit-box-sizing: border-box;
@@ -58,7 +59,6 @@
overflow: hidden;
width: 99%;
margin: 0.5%;
- float: left;
-webkit-box-sizing: border-box;
box-sizing: border-box;
border-width: {{ template_options.borderwidth }}px;
@@ -69,23 +69,20 @@
.fieldTitle {
background-color: {{ template_options.color2 }};
color: {{ template_options.color4 }};
- overflow: hidden;
- padding:0;
+ padding-left: 2%;
}
.fieldData {
color: {{ template_options.color5 }};
background-color: {{ template_options.color3 }};
+ padding-left: 2%;
}
.diveProfile {
- width: 48%;
- height: 95%;
- margin-left: 0%;
- margin-right: 0%;
- margin-bottom: 0%;
- margin-top: 0.5%;
- float: right;
+ float: left;
+ height: 99%;
+ width: 47%;
+ margin: 0.5%;
}
.diveDetails {
@@ -94,12 +91,16 @@
}
.dataPart {
- height: 45%;
- max-height: 60%;
+ height: 64%;
+ padding-bottom: 1%;
+ width: 100%;
+ float: left;
}
.notesPart {
height: 35%;
+ width: 100%;
+ float: left;
}
.textArea {
@@ -213,7 +214,7 @@
<div class="notesPart">
<table class="notes_table_class">
<tbody><tr>
- <td class="fieldTitle">
+ <td style="padding-left:1%" class="fieldTitle">
<h1> Notes </h1>
</td>
</tr>
@@ -232,7 +233,7 @@
{% endfor %}
{% endblock %}
<div id="footer">
-<div>
+</div>
</div>
</body>
</html>