diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-08-23 07:38:11 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-08-23 07:38:11 -0700 |
commit | 2f540b56a8e42c8a0722dec3676297024f31eb74 (patch) | |
tree | d5c34830520481fccef873a3cbc5b9f60aae8d07 /printing_templates/Six Dives.html | |
parent | fbce8a0378f5ebcd36dbc08b3b5771ccf5cad830 (diff) | |
parent | cc864794753eb586e89470d87196e13568cb9031 (diff) | |
download | subsurface-2f540b56a8e42c8a0722dec3676297024f31eb74.tar.gz |
Merge branch 'custom-print' of github.com:neolit123/subsurface
Diffstat (limited to 'printing_templates/Six Dives.html')
-rw-r--r-- | printing_templates/Six Dives.html | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/printing_templates/Six Dives.html b/printing_templates/Six Dives.html index 3f2c7b95e..9d4d1341e 100644 --- a/printing_templates/Six Dives.html +++ b/printing_templates/Six Dives.html @@ -40,11 +40,11 @@ .mainContainer { width: 50%; - height: 33.333333%; + height: 33.333%; margin-left: 0%; margin-right: 0%; - margin-top: 0; - margin-bottom: 0; + margin-top: 0%; + margin-bottom: 0%; overflow: hidden; page-break-inside: avoid; float: left; @@ -111,12 +111,20 @@ text-overflow: ellipsis; line-height: {{ template_options.line_spacing }}; } + + #sixdivespack { + width: 100%; + height: 100%; + } </style> </head> <body data-numberofdives = 6> <div id="body_div"> {% block main_rows %} {% for dive in dives %} + {% if forloop.counter|divisibleby:6 %} + <div id = "sixdivespack"> + {% endif %} <div class="mainContainer"> <div class="innerContainer"> <div class="diveDetails"> @@ -173,6 +181,9 @@ </div> </div> </div> + {% if forloop.counter|divisibleby:6 %} + </div> + {% endif %} {% endfor %} {% endblock %} <div id="footer"> |