summaryrefslogtreecommitdiffstats
path: root/printing_templates
diff options
context:
space:
mode:
Diffstat (limited to 'printing_templates')
-rw-r--r--printing_templates/Six Dives.html17
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">