From 672039c44f060043b4f96b56753d9173b060dfc5 Mon Sep 17 00:00:00 2001 From: Gehad elrobey Date: Wed, 15 Apr 2015 21:00:19 +0200 Subject: [PATCH] Printing: Create two dives per page grantlee template This is just a HTML/CSS template file which will be used as the basis for initial Grantlee development. Signed-off-by: Gehad elrobey Signed-off-by: Lubomir I. Ivanov --- printing_templates/base.html | 204 +++++++++++++++++++++++++++++++++++ 1 file changed, 204 insertions(+) create mode 100644 printing_templates/base.html diff --git a/printing_templates/base.html b/printing_templates/base.html new file mode 100644 index 000000000..c2c6aa59b --- /dev/null +++ b/printing_templates/base.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 }}

+
+
+

Dive profile area

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

Notes

+
+
+

{{ dive.notes }}

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