diff options
author | Gehad elrobey <gehadelrobey@gmail.com> | 2015-08-27 22:40:04 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-09-16 21:17:22 -0700 |
commit | 27bec9bc7b2a163f680d1fb03f53b4bcaecd1234 (patch) | |
tree | 4af0b29835f3ff9fef005a7b126f8333530a3b83 /printing_templates | |
parent | 3d8e5b638ad4c1fbb43f6dd5f535bf0b33a51f0b (diff) | |
download | subsurface-27bec9bc7b2a163f680d1fb03f53b4bcaecd1234.tar.gz |
Printing: support in-place editing for templates
Edit the templates into the same file, which is more intuitive as
Custom.html is a bit confusing.
Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'printing_templates')
-rw-r--r-- | printing_templates/Custom.html | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/printing_templates/Custom.html b/printing_templates/Custom.html deleted file mode 100644 index 52fdb4b49..000000000 --- a/printing_templates/Custom.html +++ /dev/null @@ -1,50 +0,0 @@ -<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> |