diff options
author | Gehad elrobey <gehadelrobey@gmail.com> | 2015-08-07 10:07:57 +0200 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2015-08-15 15:02:35 +0300 |
commit | 04fc07405a9931ee78292e1fef10c3a0b779734a (patch) | |
tree | ff0531ebd1cf7eca95067e4702c7f47c7ba5cca3 | |
parent | e0ecccfa7bebaebb532d532f9a40b8d85facdecc (diff) | |
download | subsurface-04fc07405a9931ee78292e1fef10c3a0b779734a.tar.gz |
Printing: add color3 to templates and make it effective
Use the added color for 'Table cells 2'
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
-rw-r--r-- | printing_templates/Flowlayout.html | 1 | ||||
-rw-r--r-- | printing_templates/One Dive.html | 1 | ||||
-rw-r--r-- | printing_templates/Table.html | 2 | ||||
-rw-r--r-- | printing_templates/Two Dives.html | 1 |
4 files changed, 4 insertions, 1 deletions
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 @@ </tr> {% block main_rows %} {% for dive in dives %} - <tr style="color: {{ template_options.color5 }}"> + <tr style="background-color: {{ template_options.color3 }}; color: {{ template_options.color5 }};"> <th>{{ dive.number }}</th> <th>{{ dive.date }}</th> <th>{{ dive.time }}</th> 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 { |