From 04fc07405a9931ee78292e1fef10c3a0b779734a Mon Sep 17 00:00:00 2001 From: Gehad elrobey Date: Fri, 7 Aug 2015 10:07:57 +0200 Subject: [PATCH] Printing: add color3 to templates and make it effective Use the added color for 'Table cells 2' Signed-off-by: Lubomir I. Ivanov Signed-off-by: Gehad elrobey --- printing_templates/Flowlayout.html | 1 + printing_templates/One Dive.html | 1 + printing_templates/Table.html | 2 +- printing_templates/Two Dives.html | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/printing_templates/Flowlayout.html b/printing_templates/Flowlayout.html index cab684e7e..c5b1d4ba9 100644 --- a/printing_templates/Flowlayout.html +++ b/printing_templates/Flowlayout.html @@ -71,6 +71,7 @@ .fieldData { color: {{ template_options.color5 }}; + background-color: {{ template_options.color3 }}; } .table_class { diff --git a/printing_templates/One Dive.html b/printing_templates/One Dive.html index bdf7ab3a7..4bf15decd 100644 --- a/printing_templates/One Dive.html +++ b/printing_templates/One Dive.html @@ -81,6 +81,7 @@ } .fieldData { + background-color: {{ template_options.color3 }}; color: {{ template_options.color5 }}; } diff --git a/printing_templates/Table.html b/printing_templates/Table.html index 3cf65be96..c21fc3f33 100644 --- a/printing_templates/Table.html +++ b/printing_templates/Table.html @@ -66,7 +66,7 @@ {% block main_rows %} {% for dive in dives %} - + {{ dive.number }} {{ dive.date }} {{ dive.time }} diff --git a/printing_templates/Two Dives.html b/printing_templates/Two Dives.html index 288a20262..f3ecccebd 100644 --- a/printing_templates/Two Dives.html +++ b/printing_templates/Two Dives.html @@ -78,6 +78,7 @@ .fieldData { color: {{ template_options.color5 }}; + background-color: {{ template_options.color3 }}; } .diveProfile {