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 | |
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')
-rw-r--r-- | printing_templates/Flowlayout.html | 2 | ||||
-rw-r--r-- | printing_templates/Table.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/printing_templates/Flowlayout.html b/printing_templates/Flowlayout.html index cb136c3f2..a69494ce3 100644 --- a/printing_templates/Flowlayout.html +++ b/printing_templates/Flowlayout.html @@ -98,7 +98,7 @@ <div id="body_div"> {% block main_rows %} {% for dive in dives %} - <div class="mainContainer"> + <div class="mainContainer dontbreak"> <div class="innerContainer"> <div class="diveDetails"> <div class="dataSection"> 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> |