aboutsummaryrefslogtreecommitdiffstats
path: root/printing_templates/Two Dives.html
AgeCommit message (Collapse)Author
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: enhance 2 dives templateGravatar Gehad elrobey
- Add more text padding on the left - Reduce the width of the profile so that the padding on the right of it is equal to the padding bottom from it. 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: 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: 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-29Printing: make better use of the space in Two Dives templateGravatar Dirk Hohndel
There was way too much wasted space and the profile ended up being unnecessarily tiny. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
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>