From f435520663d59378546426ea7263e78d51362c44 Mon Sep 17 00:00:00 2001
From: Kaalleen <36401965+kaalleen@users.noreply.github.com>
Date: Tue, 26 Mar 2019 18:24:02 +0100
Subject: Add Custom Page to Print PDF (#418)
---
print/templates/custom-page.html | 40 ++++++++++++++++++++
print/templates/index.html | 19 +++++-----
print/templates/operator_overview.html | 2 +-
print/templates/ui.html | 67 ++++++++++++++++++++++------------
4 files changed, 94 insertions(+), 34 deletions(-)
create mode 100644 print/templates/custom-page.html
(limited to 'print/templates')
diff --git a/print/templates/custom-page.html b/print/templates/custom-page.html
new file mode 100644
index 00000000..1ed15dae
--- /dev/null
+++ b/print/templates/custom-page.html
@@ -0,0 +1,40 @@
+
+ {% include 'headline.html' %}
+
+
+
+
+ {% include 'footer.html' %}
diff --git a/print/templates/index.html b/print/templates/index.html
index c7fa5d74..d0ab848f 100644
--- a/print/templates/index.html
+++ b/print/templates/index.html
@@ -9,22 +9,23 @@
{% include 'ui.html' %}
-
{# client overview #}
- {% include 'print_overview.html' %}
+ {% include 'print_overview.html' %}
{# client detailedview #}
- {% set printview = 'detailedview' %}
- {% for color_block in color_blocks %}
- {% set outer_loop = loop %}
- {% include 'print_detail.html' %}
- {% endfor %}
+ {% set printview = 'detailedview' %}
+ {% for color_block in color_blocks %}
+ {% set outer_loop = loop %}
+ {% include 'print_detail.html' %}
+ {% endfor %}
{# operator overview #}
- {% include 'operator_overview.html' %}
+ {% include 'operator_overview.html' %}
{# operator detailed view #}
- {% include 'operator_detailedview.html' %}
+ {% include 'operator_detailedview.html' %}
+{# custom pages #}
+ {% include 'custom-page.html' %}