diff options
author | Gehad elrobey <gehadelrobey@gmail.com> | 2015-07-13 11:19:35 +0200 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2015-07-20 15:28:37 +0300 |
commit | c18e5ec795c309f4ca0993db86a6bf17f000270d (patch) | |
tree | 3072ba49afb4390ba6eee5966023091919e758f0 /printing_templates/two_dives.html | |
parent | b67e06ee7b059ccf401a8f6a441ed455260adda1 (diff) | |
download | subsurface-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/two_dives.html')
-rw-r--r-- | printing_templates/two_dives.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/printing_templates/two_dives.html b/printing_templates/two_dives.html index 62502272b..8a9df0094 100644 --- a/printing_templates/two_dives.html +++ b/printing_templates/two_dives.html @@ -2,7 +2,7 @@ <head> <style> body { - background-color: white; + background-color: {{ template_options.color1 }}; padding: 0px; margin: 0px; font-size: {{ template_options.font_size }}vw; @@ -63,7 +63,7 @@ } .fieldTitle { - background-color: #CfC7C5; + background-color: {{ template_options.color2 }}; overflow: hidden; padding:0; } |