From 8d0101bf3d94d393615f19396bc2ff2d930f531c Mon Sep 17 00:00:00 2001 From: Gehad elrobey Date: Mon, 3 Aug 2015 18:21:16 +0200 Subject: Printing: templates should use colors defined in the color palette Use the colors defined in the color palettes for all font, borders, table sections and backgrounds of all templates. Signed-off-by: Lubomir I. Ivanov Signed-off-by: Gehad elrobey --- printing_templates/Flowlayout.html | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) (limited to 'printing_templates/Flowlayout.html') diff --git a/printing_templates/Flowlayout.html b/printing_templates/Flowlayout.html index a3f7951d9..98867d259 100644 --- a/printing_templates/Flowlayout.html +++ b/printing_templates/Flowlayout.html @@ -20,6 +20,7 @@ box-sizing: border-box; border:max(1px, 0.1vw); border-style:solid; + border-color: {{ template_options.color5 }}; } td { @@ -54,6 +55,7 @@ box-sizing: border-box; border:max(1px, 0.1vw); border-style:solid; + border-color: {{ template_options.color5 }}; float: left; } @@ -65,6 +67,11 @@ .fieldTitle { background-color: {{ template_options.color2 }}; overflow: hidden; + color: {{ template_options.color3 }}; + } + + .fieldData { + color: {{ template_options.color4 }}; } .table_class { @@ -83,6 +90,7 @@ line-height: {{ template_options.line_spacing }}; max-height: 19vh; overflow: hidden; + color: {{ template_options.color4 }}; } @@ -99,7 +107,7 @@

Dive No.

- +

{{ dive.number }}

@@ -107,14 +115,15 @@

Date

-

{{ dive.date }}

+ +

{{ dive.date }}

Location

- +

{{ dive.location }}

@@ -122,7 +131,7 @@

Max depth

- +

{{ dive.depth }}

@@ -130,7 +139,7 @@

Duration

- +

{{ dive.duration }}

@@ -140,7 +149,7 @@

Time.

- +

{{ dive.time }}

@@ -148,14 +157,15 @@

Air Temp.

-

{{ dive.airTemp }}

+ +

{{ dive.airTemp }}

Water Temp.

- +

{{ dive.waterTemp }}

@@ -163,7 +173,7 @@

Buddy

- +

{{ dive.buddy }}

@@ -171,7 +181,7 @@

Dive Master

- +

{{ dive.divemaster }}

-- cgit v1.2.3-70-g09d2