fix header/footer to match template: paragraph-based layout, footer without phone/email on company line
This commit is contained in:
parent
73036022c5
commit
8852782fb1
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -1008,10 +1008,6 @@ def generate_pdf():
|
|||||||
}}
|
}}
|
||||||
body {{ font-family: Calibri, Carlito, Arial, sans-serif; font-size: 10pt; color: #2B2E33; line-height: 1.15; margin: 0; padding: 0; }}
|
body {{ font-family: Calibri, Carlito, Arial, sans-serif; font-size: 10pt; color: #2B2E33; line-height: 1.15; margin: 0; padding: 0; }}
|
||||||
.header {{ position: running(header); width: 100%; }}
|
.header {{ position: running(header); width: 100%; }}
|
||||||
.header table {{ width: 100%; border-collapse: collapse; }}
|
|
||||||
.header-logo {{ text-align: left; width: 50%; }} .header-logo img {{ height: 1.5cm; }}
|
|
||||||
.header-iso {{ text-align: right; width: 50%; }} .header-iso img {{ height: 1.5cm; }}
|
|
||||||
.header-ref {{ text-align: right; font-size: 8pt; color: #5B6670; padding-top: 2px; }}
|
|
||||||
.header-rule {{ border: none; border-top: 1pt solid #004C98; margin: 4px 0 0 0; }}
|
.header-rule {{ border: none; border-top: 1pt solid #004C98; margin: 4px 0 0 0; }}
|
||||||
.footer {{ position: running(footer); width: 100%; }}
|
.footer {{ position: running(footer); width: 100%; }}
|
||||||
.footer-rule {{ border: none; border-top: 1pt solid #D9E1E8; margin: 0 0 4px 0; }}
|
.footer-rule {{ border: none; border-top: 1pt solid #D9E1E8; margin: 0 0 4px 0; }}
|
||||||
@ -1034,10 +1030,16 @@ table.data td:first-child {{ font-weight: bold; color: #2B2E33; }}
|
|||||||
.page-break {{ page-break-before: always; }}
|
.page-break {{ page-break-before: always; }}
|
||||||
</style></head><body>
|
</style></head><body>
|
||||||
|
|
||||||
<div class="header"><table><tr><td class="header-logo"><img src="{logo_b64}"></td><td class="header-iso"><img src="{iso_b64}"></td></tr><tr><td colspan="2" class="header-ref">{DOC['ref']} · {DOC['date']}</td></tr></table><hr class="header-rule"></div>
|
<div class="header">
|
||||||
|
<p style="margin:0; padding:0; line-height:1;">
|
||||||
|
<img src="{logo_b64}" style="height:1.5cm; vertical-align:middle;">
|
||||||
|
<img src="{iso_b64}" style="height:1.5cm; vertical-align:middle; float:right;">
|
||||||
|
</p>
|
||||||
|
<p style="text-align:right; font-size:8pt; color:#5B6670; margin:2px 0 0 0;">{DOC['ref']} · {DOC['date']}</p>
|
||||||
|
<hr class="header-rule"></div>
|
||||||
|
|
||||||
<div class="footer"><hr class="footer-rule">
|
<div class="footer"><hr class="footer-rule">
|
||||||
<div class="footer-contact">Synthesia Ltd. · VAT BG121306542 · Todor Radunchev 9, Krivina 1588, Bulgaria · +359 2 974 4968 · office@synthesia.bg</div>
|
<div class="footer-contact">Synthesia Ltd. · VAT BG121306542 · Todor Radunchev 9, Krivina 1588, Bulgaria</div>
|
||||||
<div class="footer-cert">Certified ISO 9001:2015 · ISO 14001:2015 · ISO 45001:2018 — TÜV Rheinland, ID 9105074744</div>
|
<div class="footer-cert">Certified ISO 9001:2015 · ISO 14001:2015 · ISO 45001:2018 — TÜV Rheinland, ID 9105074744</div>
|
||||||
<div class="footer-meta"><span>{DOC['ref']}</span><span>Page 1</span></div>
|
<div class="footer-meta"><span>{DOC['ref']}</span><span>Page 1</span></div>
|
||||||
<hr class="footer-bar"></div>
|
<hr class="footer-bar"></div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user