mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Printing: fix color numbers in printing templates
After adding the additional 'Table Cells 2' color to the color palette fix the colors assigned to each field. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
This commit is contained in:
parent
1dbe10fe27
commit
e0ecccfa7b
5 changed files with 18 additions and 18 deletions
|
@ -47,7 +47,7 @@
|
|||
box-sizing: border-box;
|
||||
border:max(0.1vw, 1px);
|
||||
border-style:solid;
|
||||
border-color: {{ template_options.color5 }};
|
||||
border-color: {{ template_options.color6 }};
|
||||
}
|
||||
|
||||
</style>
|
||||
|
@ -55,7 +55,7 @@
|
|||
<body data-numberofdives = 0>
|
||||
<div id="body_div">
|
||||
<table class="table_class">
|
||||
<tr style="background-color: {{ template_options.color2 }}; color: {{ template_options.color3 }}">
|
||||
<tr style="background-color: {{ template_options.color2 }}; color: {{ template_options.color4 }}">
|
||||
<th>Dive #</th>
|
||||
<th>Date</th>
|
||||
<th>Time</th>
|
||||
|
@ -66,7 +66,7 @@
|
|||
</tr>
|
||||
{% block main_rows %}
|
||||
{% for dive in dives %}
|
||||
<tr style="color: {{ template_options.color4 }}">
|
||||
<tr style="color: {{ template_options.color5 }}">
|
||||
<th>{{ dive.number }}</th>
|
||||
<th>{{ dive.date }}</th>
|
||||
<th>{{ dive.time }}</th>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue