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>
This commit is contained in:
Gehad elrobey 2015-08-13 23:23:33 +02:00 committed by Lubomir I. Ivanov
parent 6a9c4cb9d7
commit c862636cf0
2 changed files with 2 additions and 2 deletions

View file

@ -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">

View file

@ -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>