responsive image (covid level scale)

This commit is contained in:
Luis Aleixo 2021-08-27 17:24:43 +02:00
parent 788bc1f973
commit b6b14070ba
2 changed files with 3 additions and 3 deletions

View file

@ -86,7 +86,7 @@
{% endblock report_summary_footnote %}
</div>
<p id="section1">* The results are based on the parameters and assumptions published in the CERN Open Report <a href="https://cds.cern.ch/record/2756083"> CERN-OPEN-2021-004</a>.</p>
<svg id="result_plot" viewBox="0 0 1000 400"></svg>
<svg id="result_plot" viewBox="0 0 1200 400"></svg>
<script type="application/javascript">
var times = {{times}}
var concentrations = {{concentrations}}

View file

@ -127,7 +127,7 @@
<div class="alert alert-warning ml-3" role="alert">Events with a <strong>P(i) between 5% and 15%</strong> shall be subject to ALARA principles (see footnote) to minimise the risk before proceeding.</div>
<div class="alert alert-danger ml-3 mb-0" role="alert">Events with a <strong>P(i) exceeding 15% or a number of expected new cases that exceeds 1</strong> may not take place until additional measures are in place and a risk reduction has been performed.</div>
</div>
<img class="rounded ml-4" src="{{ calculator_prefix }}/static/images/warning_scale/{{scale_warning.level}}.png">
<img class="rounded ml-4 align-self-center" src="{{ calculator_prefix }}/static/images/warning_scale/{{scale_warning.level}}.png">
</div>
<br>
<p class="data_text">
@ -145,7 +145,7 @@
</div>
</div>
</div>
<div class="break-after"></div>
<div class="break-avoid fourth_page"></div>
{% endblock report_preamble %}
{% block report_footer %}