mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Printing: add color3 to templates and make it effective
Use the added color for 'Table cells 2' Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
This commit is contained in:
parent
e0ecccfa7b
commit
04fc07405a
4 changed files with 4 additions and 1 deletions
|
@ -71,6 +71,7 @@
|
||||||
|
|
||||||
.fieldData {
|
.fieldData {
|
||||||
color: {{ template_options.color5 }};
|
color: {{ template_options.color5 }};
|
||||||
|
background-color: {{ template_options.color3 }};
|
||||||
}
|
}
|
||||||
|
|
||||||
.table_class {
|
.table_class {
|
||||||
|
|
|
@ -81,6 +81,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.fieldData {
|
.fieldData {
|
||||||
|
background-color: {{ template_options.color3 }};
|
||||||
color: {{ template_options.color5 }};
|
color: {{ template_options.color5 }};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
{% block main_rows %}
|
{% block main_rows %}
|
||||||
{% for dive in dives %}
|
{% for dive in dives %}
|
||||||
<tr style="color: {{ template_options.color5 }}">
|
<tr 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>
|
||||||
|
|
|
@ -78,6 +78,7 @@
|
||||||
|
|
||||||
.fieldData {
|
.fieldData {
|
||||||
color: {{ template_options.color5 }};
|
color: {{ template_options.color5 }};
|
||||||
|
background-color: {{ template_options.color3 }};
|
||||||
}
|
}
|
||||||
|
|
||||||
.diveProfile {
|
.diveProfile {
|
||||||
|
|
Loading…
Reference in a new issue