Changeset View
Changeset View
Standalone View
Standalone View
subscriptions/templates/pdf_layout.html
| {% load static %}<!DOCTYPE html> | {% load static %}<!DOCTYPE html> | ||||
| <html> | <html> | ||||
| <head> | <head> | ||||
| <title>{% block title %}{{ title }}{% endblock %}</title> | <title>{% block title %}{{ title }}{% endblock %}</title> | ||||
| <style> | <style> | ||||
| html, body { | html, body { | ||||
| background-color: white; | background-color: white; | ||||
| color: black; | color: black; | ||||
| font-family: 'Roboto', 'Noto Sans', sans-serif; | font-family: 'Roboto', 'Noto Sans', sans-serif; | ||||
| font-size: 8pt; | font-size: 8pt; | ||||
| } | } | ||||
| p { | p { | ||||
| line-height: 150%; | line-height: 150%; | ||||
| } | } | ||||
| th { | th { | ||||
| width: 200px; | width: 200px; | ||||
| text-align: right; | text-align: right; | ||||
| } | } | ||||
| th, td { | th, td { | ||||
| padding: 3px 6px; | padding: 3px 6px; | ||||
| vertical-align: top; | vertical-align: top; | ||||
| } | } | ||||
| h4 { | h4 { | ||||
| border-bottom: 1px solid black; | border-bottom: 1px solid black; | ||||
| padding-top: 3em; | padding-top: 3em; | ||||
| } | } | ||||
| @page { | @page { | ||||
| size: a4 portrait; | size: a4 portrait; | ||||
| @frame header_frame { /* Static Frame */ | @frame header_frame { /* Static Frame */ | ||||
| -pdf-frame-content: header_content; | -pdf-frame-content: header_content; | ||||
| left: 50pt; width: 512pt; top: 20pt; height: 40pt; | left: 50pt; width: 512pt; top: 20pt; height: 40pt; | ||||
| } | } | ||||
| @frame content_frame { /* Content Frame */ | @frame content_frame { /* Content Frame */ | ||||
| left: 50pt; width: 512pt; top: 60pt; height: 632pt; | left: 50pt; width: 512pt; top: 60pt; height: 632pt; | ||||
| } | } | ||||
| @frame footer_frame { /* Another static Frame */ | @frame footer_frame { /* Another static Frame */ | ||||
| -pdf-frame-content: footer_content; | -pdf-frame-content: footer_content; | ||||
| left: 50pt; width: 512pt; bottom: 30pt; height: 50pt; | left: 50pt; width: 512pt; bottom: 30pt; height: 50pt; | ||||
| } | } | ||||
| } | } | ||||
| </style> | </style> | ||||
| </head> | </head> | ||||
| <body> | <body> | ||||
| <div id="footer_content">{% block footer_content %} | <div id="footer_content">{% block footer_content %} | ||||
| <p><strong>Stichting Blender Foundation</strong><br> | <p><strong>Stichting Blender Foundation</strong><br> | ||||
| Buikslotermeerplein 161<br> | Buikslotermeerplein 161<br> | ||||
| 1025 ET Amsterdam, the Netherlands<br> | 1025 ET Amsterdam, the Netherlands<br> | ||||
| Tax number NL 8111.66.223 | Tax number NL 8111.66.223 | ||||
| </p>{% endblock %} | </p>{% endblock %} | ||||
| </div>{% block main_content %}{% endblock %} | </div>{% block main_content %}{% endblock %} | ||||
| </body> | </body> | ||||
| </html> | </html> | ||||