diff options
| author | 2015-07-28 07:27:30 -0700 | |
|---|---|---|
| committer | 2015-07-28 07:27:30 -0700 | |
| commit | f2e2be0f67146941d9a05815db2d1335a975765e (patch) | |
| tree | 31813fc61ad44048baf72cd71e016b521bd6afbe /printing_templates/Custom.html | |
| parent | 7d0c6f895d813b366a3c9ff5b26ed3db1b2fba02 (diff) | |
| parent | 01645d64b91b29878d6927dcf7cd5c2381e0bfaa (diff) | |
| download | subsurface-f2e2be0f67146941d9a05815db2d1335a975765e.tar.gz | |
Merge branch 'custom-print' of github.com:neolit123/subsurface
Diffstat (limited to 'printing_templates/Custom.html')
| -rw-r--r-- | printing_templates/Custom.html | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/printing_templates/Custom.html b/printing_templates/Custom.html new file mode 100644 index 000000000..52fdb4b49 --- /dev/null +++ b/printing_templates/Custom.html @@ -0,0 +1,50 @@ +<html> +<head> + <style> + body { + background-color: white; + padding: 0; + margin: 0; + font-size: {{ template_options.font_size }}vw; + line-height: {{ template_options.line_spacing }}; + font-family: {{ template_options.font }}; + } + + h1 { + float: left; + font-size: {{ template_options.font_size }}vw; + } + + .mainContainer { + width: 96%; + height: 100%; + margin-left: 2%; + margin-right: 2%; + margin-top: 0%; + margin-bottom: 0%; + overflow: hidden; + border-width: 0; + page-break-inside: avoid; + } + + .innerContainer { + width: 98%; + height: 98%; + padding: 1%; + overflow: hidden; + } + </style> +</head> +<body data-numberofdives = 1> +{% block main_rows %} + {% for dive in dives %} + <div class="mainContainer"> + <div class="innerContainer"> + <h1>This template is empty</h1> + <!-- Template must be filled --> + </div> + </div> + {% endfor %} +{% endblock %} +</body> +</html> |