diff options
author | Gehad elrobey <gehadelrobey@gmail.com> | 2015-08-11 23:02:00 +0200 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2015-08-15 15:04:26 +0300 |
commit | 72b35d8e79e8d404b4dc0d47d9a9af82958be718 (patch) | |
tree | fe7eb631779281da8b57d81c9399199f9056dbfa /printing_templates | |
parent | 59eddc62594d2c8003349812456befeef82e1bc2 (diff) | |
download | subsurface-72b35d8e79e8d404b4dc0d47d9a9af82958be718.tar.gz |
Printing: use border width from Grantlee backend
Find the border-width dynamically from the Grantlee backend.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Diffstat (limited to 'printing_templates')
-rw-r--r-- | printing_templates/Flowlayout.html | 2 | ||||
-rw-r--r-- | printing_templates/One Dive.html | 2 | ||||
-rw-r--r-- | printing_templates/Six Dives.html | 2 | ||||
-rw-r--r-- | printing_templates/Table.html | 2 | ||||
-rw-r--r-- | printing_templates/Two Dives.html | 4 |
5 files changed, 6 insertions, 6 deletions
diff --git a/printing_templates/Flowlayout.html b/printing_templates/Flowlayout.html index 2686d8c66..cb136c3f2 100644 --- a/printing_templates/Flowlayout.html +++ b/printing_templates/Flowlayout.html @@ -23,7 +23,7 @@ table { -webkit-box-sizing: border-box; box-sizing: border-box; - border:max(1px, 0.1vw); + border-width: {{ template_options.borderwidth }}px; border-style:solid; border-color: {{ template_options.color6 }}; } diff --git a/printing_templates/One Dive.html b/printing_templates/One Dive.html index 176698616..0014c4680 100644 --- a/printing_templates/One Dive.html +++ b/printing_templates/One Dive.html @@ -23,7 +23,7 @@ table { -webkit-box-sizing: border-box; box-sizing: border-box; - border:max(1px, 0.1vw); + border-width: {{ template_options.borderwidth }}px; border-style:solid; border-color: {{ template_options.color6 }}; } diff --git a/printing_templates/Six Dives.html b/printing_templates/Six Dives.html index 2bf23a145..5b2652f05 100644 --- a/printing_templates/Six Dives.html +++ b/printing_templates/Six Dives.html @@ -65,7 +65,7 @@ float: left; -webkit-box-sizing: border-box; box-sizing: border-box; - border:max(0.1vw, 1px); + border-width: {{ template_options.borderwidth }}px; border-style:solid; border-color: {{ template_options.color6 }}; font-size: {{ template_options.font_size }}vw; diff --git a/printing_templates/Table.html b/printing_templates/Table.html index 0a65b2a92..173904faf 100644 --- a/printing_templates/Table.html +++ b/printing_templates/Table.html @@ -23,7 +23,7 @@ padding-bottom: 1vh; -webkit-box-sizing: border-box; box-sizing: border-box; - border:max(1px, 0.1vw); + border-width: {{ template_options.borderwidth }}px; border-style:solid; border-color: {{ template_options.color6 }}; } diff --git a/printing_templates/Two Dives.html b/printing_templates/Two Dives.html index eb68cd18d..13cb5cff6 100644 --- a/printing_templates/Two Dives.html +++ b/printing_templates/Two Dives.html @@ -49,7 +49,7 @@ float: left; -webkit-box-sizing: border-box; box-sizing: border-box; - border:max(0.1vw, 1px); + border-width: {{ template_options.borderwidth }}px; border-style:solid; border-color: {{ template_options.color6 }}; } @@ -61,7 +61,7 @@ float: left; -webkit-box-sizing: border-box; box-sizing: border-box; - border:max(0.1vw, 1px); + border-width: {{ template_options.borderwidth }}px; border-style:solid; border-color: {{ template_options.color6 }}; } |