From 42b9d0d047abfa9b7816f59d00a0ed0f87368975 Mon Sep 17 00:00:00 2001 From: Gehad elrobey Date: Sun, 14 Jun 2015 06:13:37 +0200 Subject: [PATCH] Printing: add a "one dive per page" template This is a Grantlee template to show 1 dive per page. Signed-off-by: Gehad elrobey Signed-off-by: Lubomir I. Ivanov --- printing_templates/one_dive.html | 204 +++++++++++++++++++++++++++++++ 1 file changed, 204 insertions(+) create mode 100644 printing_templates/one_dive.html diff --git a/printing_templates/one_dive.html b/printing_templates/one_dive.html new file mode 100644 index 000000000..754dc85bc --- /dev/null +++ b/printing_templates/one_dive.html @@ -0,0 +1,204 @@ + + + + + +{% block main_rows %} + {% for dive in dives %} +
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + +
+

Dive No.

+
+

{{ dive.number }}

+
+

Date

+

{{ dive.date }}

+
+

Location

+
+

{{ dive.location }}

+
+

Max depth

+
+

{{ dive.depth }}

+
+

Duration

+
+

{{ dive.duration }}

+
+ + + + + + + + + + + + + + + + + + + + + + +
+

Time.

+
+

{{ dive.time }}

+
+

Air Temp.

+

{{ dive.airTemp }}

+
+

Water Temp.

+
+

{{ dive.waterTemp }}

+
+

Buddy

+
+

{{ dive.buddy }}

+
+

Dive Master

+
+

{{ dive.divemaster }}

+
+ + + + + + + + + +
+

Notes

+
+
+

{{ dive.notes }}

+
+
+
+
+
+
+ {% endfor %} +{% endblock %} + +