mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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:
parent
6a9c4cb9d7
commit
c862636cf0
2 changed files with 2 additions and 2 deletions
|
@ -98,7 +98,7 @@
|
||||||
<div id="body_div">
|
<div id="body_div">
|
||||||
{% block main_rows %}
|
{% block main_rows %}
|
||||||
{% for dive in dives %}
|
{% for dive in dives %}
|
||||||
<div class="mainContainer">
|
<div class="mainContainer dontbreak">
|
||||||
<div class="innerContainer">
|
<div class="innerContainer">
|
||||||
<div class="diveDetails">
|
<div class="diveDetails">
|
||||||
<div class="dataSection">
|
<div class="dataSection">
|
||||||
|
|
|
@ -66,7 +66,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
{% block main_rows %}
|
{% block main_rows %}
|
||||||
{% for dive in dives %}
|
{% 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.number }}</th>
|
||||||
<th>{{ dive.date }}</th>
|
<th>{{ dive.date }}</th>
|
||||||
<th>{{ dive.time }}</th>
|
<th>{{ dive.time }}</th>
|
||||||
|
|
Loading…
Reference in a new issue