summaryrefslogtreecommitdiffstats
path: root/printing_templates/one_dive.html
diff options
context:
space:
mode:
authorGravatar Gehad elrobey <gehadelrobey@gmail.com>2015-07-13 11:19:35 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-07-20 15:28:37 +0300
commitc18e5ec795c309f4ca0993db86a6bf17f000270d (patch)
tree3072ba49afb4390ba6eee5966023091919e758f0 /printing_templates/one_dive.html
parentb67e06ee7b059ccf401a8f6a441ed455260adda1 (diff)
downloadsubsurface-c18e5ec795c309f4ca0993db86a6bf17f000270d.tar.gz
Printing: make templates support custom colors
Use template_options colors instead of static colors. Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'printing_templates/one_dive.html')
-rw-r--r--printing_templates/one_dive.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/printing_templates/one_dive.html b/printing_templates/one_dive.html
index 52b8097c9..ce58b3847 100644
--- a/printing_templates/one_dive.html
+++ b/printing_templates/one_dive.html
@@ -2,7 +2,7 @@
<head>
<style>
body {
- background-color: white;
+ background-color: {{ template_options.color1 }};
padding: 0;
margin: 0;
font-size: {{ template_options.font_size }}vw;
@@ -69,7 +69,7 @@
}
.fieldTitle {
- background-color: #CfC7C5;
+ background-color: {{ template_options.color2 }};
overflow: hidden;
}