diff options
author | Gehad elrobey <gehadelrobey@gmail.com> | 2015-08-13 23:23:33 +0200 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2015-08-15 15:04:58 +0300 |
commit | c862636cf049321d73508ea10fe823aed64affa9 (patch) | |
tree | 57f917c3692f4e44ec47161d82fe8710f9b1b6d7 /printing_templates/Table.html | |
parent | 6a9c4cb9d794056ccb75e6a0d35cde060473b71e (diff) | |
download | subsurface-c862636cf049321d73508ea10fe823aed64affa9.tar.gz |
Printing: add 'dontbreak' css class to dives
Prevent breaking the dives in flowlayout, and the rows
in the table template. They should have the 'dontbreak'
css selector.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Diffstat (limited to 'printing_templates/Table.html')
-rw-r--r-- | printing_templates/Table.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/printing_templates/Table.html b/printing_templates/Table.html index 173904faf..e4d921fae 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="background-color: {{ template_options.color3 }}; color: {{ template_options.color5 }};"> + <tr class="dontbreak" style="background-color: {{ template_options.color3 }}; color: {{ template_options.color5 }};"> <th>{{ dive.number }}</th> <th>{{ dive.date }}</th> <th>{{ dive.time }}</th> |