From 6656da768b3f44714c28e3bdc81f2054729463df Mon Sep 17 00:00:00 2001 From: Luis Aleixo Date: Thu, 15 Jul 2021 10:08:40 +0200 Subject: [PATCH] Printable version image dimensions fix --- cara/apps/calculator/static/css/report.css | 6 ------ .../templates/base/calculator.report.html.j2 | 2 +- .../themes/cern/templates/calculator.report.html.j2 | 10 +++++----- 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/cara/apps/calculator/static/css/report.css b/cara/apps/calculator/static/css/report.css index 2d4951f2..ce2e3790 100644 --- a/cara/apps/calculator/static/css/report.css +++ b/cara/apps/calculator/static/css/report.css @@ -81,12 +81,6 @@ p.notes { margin-left: 5% } -/* Flexbox layouts */ -.flex { - display: flex; -} - - .nav-tabs .nav-item .nav-link.active { background-color: #F5F5F6; } \ No newline at end of file diff --git a/cara/apps/calculator/templates/base/calculator.report.html.j2 b/cara/apps/calculator/templates/base/calculator.report.html.j2 index 90c0472e..d48b85d2 100644 --- a/cara/apps/calculator/templates/base/calculator.report.html.j2 +++ b/cara/apps/calculator/templates/base/calculator.report.html.j2 @@ -15,7 +15,7 @@ {% block report_header %}
- +

CARA - CALCULATOR REPORT

Created {{ creation_date }} using CARA calculator version v{{ form.calculator_version }}

diff --git a/cara/apps/calculator/themes/cern/templates/calculator.report.html.j2 b/cara/apps/calculator/themes/cern/templates/calculator.report.html.j2 index 4a5689d3..cd5fbcda 100644 --- a/cara/apps/calculator/themes/cern/templates/calculator.report.html.j2 +++ b/cara/apps/calculator/themes/cern/templates/calculator.report.html.j2 @@ -27,25 +27,25 @@ {{ super() }} {% if (prob_inf > 5) %} -
+
{% if scale_warning.level == "Green - 1" %} -