From 996230333c18c9d2315451a13cea632237b83342 Mon Sep 17 00:00:00 2001 From: Luis Aleixo Date: Wed, 2 Feb 2022 12:23:17 +0100 Subject: [PATCH 01/20] Set new logic for the cern_level color variable --- .../templates/cern/calculator.report.html.j2 | 23 +++++++++++-------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/cara/apps/templates/cern/calculator.report.html.j2 b/cara/apps/templates/cern/calculator.report.html.j2 index cea08ada..36e65cd2 100644 --- a/cara/apps/templates/cern/calculator.report.html.j2 +++ b/cara/apps/templates/cern/calculator.report.html.j2 @@ -1,5 +1,10 @@ {% extends "base/calculator.report.html.j2" %} +{% if ((prob_inf > 10) or (expected_new_cases >= 1)) %} {% set cern_level = 'red' %} +{% elif (2 <= prob_inf <= 10) %} {% set cern_level = 'orange' %} +{% else %} {% set cern_level = 'green' %} +{% endif %} + {% block report_preamble_navtab %}
  • CARA expert app
  • -The mathematical and physical model simulate the long-range airborne spread of SARS-CoV-2 virus in a finite volume, assuming a homogenous mixture, and estimates the risk of COVID-19 airborne transmission therein. The results DO NOT include short-range airborne exposure (where the physical distance plays a factor) nor the other known modes of SARS-CoV-2 transmission. Hence, the output from this model is only valid when the other recommended public health & safety instructions are observed, such as adequate physical distancing, good hand hygiene and other barrier measures.
    -

    The methodology, mathematical equations and parameters of the model are described here in the CARA paper: CERN-OPEN-2021-004.

    +The mathematical and physical model simulate the long-range airborne spread of SARS-CoV-2 virus in a finite volume, assuming a homogenous mixture, and estimates the risk of COVID-19 airborne transmission therein. The results DO NOT include (for now) short-range airborne exposure (where the physical distance plays a factor) nor the other known modes of SARS-CoV-2 transmission. Hence, the output from this model is only valid when the other recommended public health & safety instructions are observed, such as adequate physical distancing, good hand hygiene and other barrier measures.
    +

    The methodology, mathematical equations and parameters of the model are published here in the CARA paper: Modelling airborne transmission of SARS-CoV-2 using CARA: risk assessment for enclosed spaces..

    The model used is based on scientific publications relating to airborne transmission of infectious diseases, virology, epidemiology and aerosol science. It can be used to compare the effectiveness of different airborne-related risk mitigation measures. From 7eeac2df3c94e48bdc34bd981c481f887d6acc72 Mon Sep 17 00:00:00 2001 From: Luis Aleixo Date: Fri, 11 Feb 2022 13:46:33 +0000 Subject: [PATCH 14/20] typo in about --- cara/apps/templates/about.html.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cara/apps/templates/about.html.j2 b/cara/apps/templates/about.html.j2 index 31343545..50d2a8bf 100644 --- a/cara/apps/templates/about.html.j2 +++ b/cara/apps/templates/about.html.j2 @@ -18,7 +18,7 @@ CARA stands for COVID Airborne Risk Assessment and was developed in the spring o The mathematical and physical model simulate the long-range airborne spread of SARS-CoV-2 virus in a finite volume, assuming a homogenous mixture, and estimates the risk of COVID-19 airborne transmission therein. The results DO NOT include (for now) short-range airborne exposure (where the physical distance plays a factor) nor the other known modes of SARS-CoV-2 transmission. Hence, the output from this model is only valid when the other recommended public health & safety instructions are observed, such as adequate physical distancing, good hand hygiene and other barrier measures.
    -

    The methodology, mathematical equations and parameters of the model are published here in the CARA paper: Modelling airborne transmission of SARS-CoV-2 using CARA: risk assessment for enclosed spaces..

    +

    The methodology, mathematical equations and parameters of the model are published here in the CARA paper: Modelling airborne transmission of SARS-CoV-2 using CARA: risk assessment for enclosed spaces.

    The model used is based on scientific publications relating to airborne transmission of infectious diseases, virology, epidemiology and aerosol science. It can be used to compare the effectiveness of different airborne-related risk mitigation measures. From 616f92a4ec413e2ba4a2ded1bf042dc9397b0789 Mon Sep 17 00:00:00 2001 From: Luis Aleixo Date: Tue, 15 Feb 2022 13:35:01 +0000 Subject: [PATCH 15/20] Navbar options lowered and right alignment fixed --- cara/apps/templates/base/layout.html.j2 | 18 +++++++++--------- cara/apps/templates/cern/layout.html.j2 | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/cara/apps/templates/base/layout.html.j2 b/cara/apps/templates/base/layout.html.j2 index cfa9bb09..406ecb23 100644 --- a/cara/apps/templates/base/layout.html.j2 +++ b/cara/apps/templates/base/layout.html.j2 @@ -34,26 +34,26 @@