summaryrefslogtreecommitdiffstats
path: root/printing_templates/One Dive.html
AgeCommit message (Collapse)Author
2017-11-24printing: delete `One Dive Simple.html` and cleanupGravatar Lubomir I. Ivanov
The previous commit by Willem introduced a new HTML template file which is not needed, as it was decided to override the default `One Dive.html`. This patch also include small cleanup in the new version of `One Dive.html`. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
2017-11-24PATCH: Update the single-dive per page print templateGravatar Willem Ferguson
1) Place the dive profile below the synoptic info for the dive. 2) Re-arrange the synoptic info items. 3) In the synoptic info, replace air temperature info with gas and cylinder info. 4) If any items among the the synoptic data take more than one line, the the alignment of cells in the synoptic info table is maintained. In the previous version this caused a ragged bottom edge of the synoptic info table. Signed-off-by: Willem Ferguson <willemferguson@zoology.up.ac.za>
2017-03-11Use abbreviations with dots.Gravatar Martin Měřinský
2017-03-04dive master > divemasterGravatar Martin Měřinský
2015-11-15printing_templates: mark 'dive.notes' as 'safe'Gravatar Lubomir I. Ivanov
Grantlee has a way to display a variable as HTML by marking it as 'safe' e.g.: {{ dive.notes|safe }} This allows any HTML to be preserved when printing. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-08-15Printing: use the same background for all the data cells flow layoutGravatar Gehad elrobey
Dive notes should have the same background as the remaining data cells. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
2015-08-15Printing: use border width from Grantlee backendGravatar Gehad elrobey
Find the border-width dynamically from the Grantlee backend. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
2015-08-15Printing: add more padding on the top of the profileGravatar Gehad elrobey
add more padding on the top of the profile so that the left-right-top padding around the profile is the same. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
2015-08-15Printing: remove templates additional marginsGravatar Gehad elrobey
Remove extra margins and paddings in templates. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
2015-08-15Printing: remove the outer most border for all templatesGravatar Gehad elrobey
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
2015-08-15Printing: make the actual data font width regular (not bold)Gravatar Gehad elrobey
The actual data needs to be regular font not a bold font, so use <p> instead of <h1> tag for the actual data fields. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
2015-08-15Printing: add color3 to templates and make it effectiveGravatar Gehad elrobey
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>
2015-08-15Printing: fix color numbers in printing templatesGravatar Gehad elrobey
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>
2015-08-15Printing: enhance templates layoutGravatar Gehad elrobey
Make better use of extra spaces, and decrease the margin sizes. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
2015-08-15Printing: templates should use colors defined in the color paletteGravatar Gehad elrobey
Use the colors defined in the color palettes for all font, borders, table sections and backgrounds of all templates. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
2015-07-28Printing: fix dive lookup for profile generationGravatar Dirk Hohndel
The existing code (and templates) looked up dives by number and then used that as index into the dive table. This worked exactly in one case: if all dives were numbered consecutively starting with 1. While that is not an entirely unreasonable case, it's of course not an acceptable assumption to make. This commit adds the necessary changes to instead look up dives by their unique id. That's what it's there fore, after all. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-07-28Printing: rename templates to have spaces and capitalizationGravatar Gehad elrobey
This is easier to have user friendly names for the bundled templates. Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>