From f7e1e0b54e40b933488ddc9ee0767dbb2016bc66 Mon Sep 17 00:00:00 2001 From: bogo Date: Sat, 14 Sep 2024 14:01:38 +0200 Subject: [PATCH] FIx images --- templates/ipsc_target.html | 1 - templates/pdf_template_ipsc.html | 28 ++++++++++------------------ 2 files changed, 10 insertions(+), 19 deletions(-) delete mode 100644 templates/ipsc_target.html diff --git a/templates/ipsc_target.html b/templates/ipsc_target.html deleted file mode 100644 index 2a05060..0000000 --- a/templates/ipsc_target.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/templates/pdf_template_ipsc.html b/templates/pdf_template_ipsc.html index cf444ac..f902dd5 100644 --- a/templates/pdf_template_ipsc.html +++ b/templates/pdf_template_ipsc.html @@ -57,6 +57,14 @@ position: absolute; bottom: 30%; } + .preview-img { + width: {{target_width*preview_scale}}cm; + height: {{target_height*preview_scale}}cm; + } + .img { + width: {{target_width}}cm; + height: {{target_height}}cm; + } @@ -68,15 +76,7 @@
{% for i in range(3) %}
- - ipsc-svg - - {% include 'ipsc_target.html' %} - - - - + IPSC - El Presidente
{% endfor %}
@@ -101,15 +101,7 @@
- - ipsc-svg - - {% include 'ipsc_target.html' %} - - - - + IPSC - El Presidente
{% if i==0 %}