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>
This commit is contained in:
Gehad elrobey 2015-07-13 11:19:35 +02:00 committed by Lubomir I. Ivanov
parent b67e06ee7b
commit c18e5ec795
2 changed files with 4 additions and 4 deletions

View file

@ -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;
}

View file

@ -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;
}