From d2bc70a570dbed5182f9ff110b8ff948d6b7bfd1 Mon Sep 17 00:00:00 2001 From: Gehad elrobey Date: Thu, 16 Jul 2015 22:04:58 +0200 Subject: Printing: add css filter to templates Filter HTML body with grayscale value, add background-color to div inside body so filter can be applied to it. Signed-off-by: Gehad elrobey Signed-off-by: Lubomir I. Ivanov --- printing_templates/one_dive.html | 8 +++++++- printing_templates/two_dives.html | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) (limited to 'printing_templates') diff --git a/printing_templates/one_dive.html b/printing_templates/one_dive.html index ce58b3847..9f4d30a61 100644 --- a/printing_templates/one_dive.html +++ b/printing_templates/one_dive.html @@ -2,7 +2,7 @@ +
{% block main_rows %} {% for dive in dives %}
@@ -206,5 +211,6 @@
{% endfor %} {% endblock %} +
diff --git a/printing_templates/two_dives.html b/printing_templates/two_dives.html index 8a9df0094..0c8eec14c 100644 --- a/printing_templates/two_dives.html +++ b/printing_templates/two_dives.html @@ -2,7 +2,7 @@ +
{% block main_rows %} {% for dive in dives %}
@@ -217,5 +222,6 @@ {% endblock %}