summaryrefslogtreecommitdiffstats
path: root/printing_templates
diff options
context:
space:
mode:
authorGravatar Gehad elrobey <gehadelrobey@gmail.com>2015-08-07 09:53:34 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-08-15 15:02:33 +0300
commite0ecccfa7bebaebb532d532f9a40b8d85facdecc (patch)
tree7466994522048df16a0834e5859c35f6cdb0fc1e /printing_templates
parent1dbe10fe278650430beca638976ea7df3b5c76fd (diff)
downloadsubsurface-e0ecccfa7bebaebb532d532f9a40b8d85facdecc.tar.gz
Printing: fix color numbers in printing templates
After adding the additional 'Table Cells 2' color to the color palette fix the colors assigned to each field. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Diffstat (limited to 'printing_templates')
-rw-r--r--printing_templates/Flowlayout.html8
-rw-r--r--printing_templates/One Dive.html10
-rw-r--r--printing_templates/Six Dives.html2
-rw-r--r--printing_templates/Table.html6
-rw-r--r--printing_templates/Two Dives.html10
5 files changed, 18 insertions, 18 deletions
diff --git a/printing_templates/Flowlayout.html b/printing_templates/Flowlayout.html
index f035e2172..cab684e7e 100644
--- a/printing_templates/Flowlayout.html
+++ b/printing_templates/Flowlayout.html
@@ -20,7 +20,7 @@
box-sizing: border-box;
border:max(1px, 0.1vw);
border-style:solid;
- border-color: {{ template_options.color5 }};
+ border-color: {{ template_options.color6 }};
}
td {
@@ -55,7 +55,7 @@
box-sizing: border-box;
border:max(1px, 0.1vw);
border-style:solid;
- border-color: {{ template_options.color5 }};
+ border-color: {{ template_options.color6 }};
float: left;
}
@@ -66,11 +66,11 @@
.fieldTitle {
background-color: {{ template_options.color2 }};
overflow: hidden;
- color: {{ template_options.color3 }};
+ color: {{ template_options.color4 }};
}
.fieldData {
- color: {{ template_options.color4 }};
+ color: {{ template_options.color5 }};
}
.table_class {
diff --git a/printing_templates/One Dive.html b/printing_templates/One Dive.html
index 24108c69f..bdf7ab3a7 100644
--- a/printing_templates/One Dive.html
+++ b/printing_templates/One Dive.html
@@ -20,7 +20,7 @@
box-sizing: border-box;
border:max(1px, 0.1vw);
border-style:solid;
- border-color: {{ template_options.color5 }};
+ border-color: {{ template_options.color6 }};
}
td {
@@ -58,7 +58,7 @@
box-sizing: border-box;
border:max(1px, 0.1vw);
border-style:solid;
- border-color: {{ template_options.color5 }};
+ border-color: {{ template_options.color6 }};
float: left;
}
@@ -77,11 +77,11 @@
.fieldTitle {
background-color: {{ template_options.color2 }};
overflow: hidden;
- color: {{ template_options.color3 }};
+ color: {{ template_options.color4 }};
}
.fieldData {
- color: {{ template_options.color4 }};
+ color: {{ template_options.color5 }};
}
.table_class {
@@ -98,7 +98,7 @@
.textArea {
line-height: {{ template_options.line_spacing }};
- color: {{ template_options.color4 }};
+ color: {{ template_options.color5 }};
max-height: 19vh;
overflow: hidden;
}
diff --git a/printing_templates/Six Dives.html b/printing_templates/Six Dives.html
index 3c64d5ec3..65d81f1cb 100644
--- a/printing_templates/Six Dives.html
+++ b/printing_templates/Six Dives.html
@@ -63,7 +63,7 @@
box-sizing: border-box;
border:max(0.1vw, 1px);
border-style:solid;
- border-color: {{ template_options.color5 }};
+ border-color: {{ template_options.color6 }};
font-size: {{ template_options.font_size }}vw;
}
diff --git a/printing_templates/Table.html b/printing_templates/Table.html
index 2668ccb62..3cf65be96 100644
--- a/printing_templates/Table.html
+++ b/printing_templates/Table.html
@@ -47,7 +47,7 @@
box-sizing: border-box;
border:max(0.1vw, 1px);
border-style:solid;
- border-color: {{ template_options.color5 }};
+ border-color: {{ template_options.color6 }};
}
</style>
@@ -55,7 +55,7 @@
<body data-numberofdives = 0>
<div id="body_div">
<table class="table_class">
- <tr style="background-color: {{ template_options.color2 }}; color: {{ template_options.color3 }}">
+ <tr style="background-color: {{ template_options.color2 }}; color: {{ template_options.color4 }}">
<th>Dive #</th>
<th>Date</th>
<th>Time</th>
@@ -66,7 +66,7 @@
</tr>
{% block main_rows %}
{% for dive in dives %}
- <tr style="color: {{ template_options.color4 }}">
+ <tr style="color: {{ template_options.color5 }}">
<th>{{ dive.number }}</th>
<th>{{ dive.date }}</th>
<th>{{ dive.time }}</th>
diff --git a/printing_templates/Two Dives.html b/printing_templates/Two Dives.html
index 463942ab5..288a20262 100644
--- a/printing_templates/Two Dives.html
+++ b/printing_templates/Two Dives.html
@@ -40,7 +40,7 @@
box-sizing: border-box;
border:max(0.1vw, 1px);
border-style:solid;
- border-color: {{ template_options.color5 }};
+ border-color: {{ template_options.color6 }};
}
.table_class {
@@ -53,7 +53,7 @@
box-sizing: border-box;
border:max(0.1vw, 1px);
border-style:solid;
- border-color: {{ template_options.color5 }};
+ border-color: {{ template_options.color6 }};
}
.notes_table_class {
@@ -66,18 +66,18 @@
box-sizing: border-box;
border:max(0.1vw, 1px);
border-style:solid;
- border-color: {{ template_options.color5 }};
+ border-color: {{ template_options.color6 }};
}
.fieldTitle {
background-color: {{ template_options.color2 }};
- color: {{ template_options.color3 }};
+ color: {{ template_options.color4 }};
overflow: hidden;
padding:0;
}
.fieldData {
- color: {{ template_options.color4 }};
+ color: {{ template_options.color5 }};
}
.diveProfile {