From 0e01aa09b9ee518c924e41e8d846cf3e4e2b57e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ses=C3=B3stris=20Vieira?= Date: Thu, 30 Nov 2023 11:25:33 -0300 Subject: [PATCH] =?UTF-8?q?Usar=20context=20title=20como=20t=C3=ADtulo=20d?= =?UTF-8?q?o=20relat=C3=B3rio?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sigi/templates/pdf/base.html | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/sigi/templates/pdf/base.html b/sigi/templates/pdf/base.html index 5ceb02d..58f1f14 100644 --- a/sigi/templates/pdf/base.html +++ b/sigi/templates/pdf/base.html @@ -43,6 +43,15 @@ font-family: "Helvetica", "Arial", "sans-serif"; font-size: 10px; } + div.page-border { + position:fixed; + left: 0; + right: 0; + top: 0; + bottom: 0; + border-top: 2px solid #037036; + border-bottom: 2px solid #037036; + } div.new-page { break-before: always; } @@ -67,9 +76,10 @@ {% block extra_style %}{% endblock extra_style %} {% block extra_head %}{% endblock extra_head %} - {% block title %}{% endblock title %} + {% block title %}{{ title|default:"SIGI report" }}{% endblock title %} +
{% block body_content %}{% endblock body_content %}