From 3470cf1130c098e1b28a38ae4aa3860d4d06a8eb Mon Sep 17 00:00:00 2001 From: Luis Aleixo Date: Fri, 12 Nov 2021 15:46:21 +0100 Subject: [PATCH] COVID Information link and CARA@CERN section only for CERN theme --- cara/apps/templates/base/index.html.j2 | 65 ++++++++++ cara/apps/templates/base/layout.html.j2 | 100 +++++++++++++++ cara/apps/templates/index.html.j2 | 71 +---------- cara/apps/templates/layout.html.j2 | 115 +----------------- cara/apps/themes/cern/templates/index.html.j2 | 11 ++ .../apps/themes/cern/templates/layout.html.j2 | 5 + 6 files changed, 185 insertions(+), 182 deletions(-) create mode 100644 cara/apps/templates/base/index.html.j2 create mode 100644 cara/apps/templates/base/layout.html.j2 create mode 100644 cara/apps/themes/cern/templates/index.html.j2 create mode 100644 cara/apps/themes/cern/templates/layout.html.j2 diff --git a/cara/apps/templates/base/index.html.j2 b/cara/apps/templates/base/index.html.j2 new file mode 100644 index 00000000..4497fd60 --- /dev/null +++ b/cara/apps/templates/base/index.html.j2 @@ -0,0 +1,65 @@ +{% extends "layout.html.j2" %} +{% set active_page="home/" %} + +{% block main %} + {#
#} +
+
+ + +
+
+ +
+ +
+
+

Introduction


+
+

+ CARA is a risk assessment tool developed to model the concentration of viruses in enclosed spaces, in order to inform space-management decisions. + It does this by simulating the long-range airborne spread SARS-CoV-2 virus in a finite volume, assuming homogenous mixing, and it estimates the risk of COVID-19 airborne transmission therein. + Please see the About page for more details on the methodology, assumptions and limitations of CARA. +

+

+ The full CARA source code can be accessed freely under an Apache 2.0 open source license from our code repository. + It includes detailed instructions on how to run your own version of this tool. +

+
+
+
+
+ +
+
+
+ +
+
+

Apps:

+
+ +
+
Expert (beta)
+
+
+
+ + {% block cara_at_cern %} + {% endblock cara_at_cern %} + +
+

Acknowledgements


+

+ We wish to thank CERN’s HSE Unit, Beams Department, Experimental Physics Department, Information Technology Department, Industry, Procurement and Knowledge Transfer Department and International Relations Sector for their support to the study. + Thanks to Doris Forkel-Wirth, Benoit Delille, Walid Fadel, Olga Beltramello, Letizia Di Giulio, Evelyne Dho, Wayne Salter, Benoit Salvant and colleagues from the COVID working group for providing expert advice and extensively testing the model. + Finally, we wish to thank Fabienne Landua and the design service for preparing the illustrations and Alessandro Raimondo, Ana Padua and Manuela Cirilli from the Knowledge Transfer Group for their continuous support. + Our compliments towards the work and research performed by world leading scientists in this domain: Dr. Julian Tang, Prof. Manuel Gameiro, Dr. Linsey Marr, Prof. Jose Jimenez, Prof. Lidia Morawska, Prof. Yuguo Li et al. - their scientific contribution was indispensable for this project. + +

+
+ +{% endblock main %} diff --git a/cara/apps/templates/base/layout.html.j2 b/cara/apps/templates/base/layout.html.j2 new file mode 100644 index 00000000..1fddbec9 --- /dev/null +++ b/cara/apps/templates/base/layout.html.j2 @@ -0,0 +1,100 @@ + + + + + + + + + + {% block title %} + CARA | COVID Airborne Risk Assessment + {% endblock title %} + + + + + + + + {% block extra_headers %} + {% endblock extra_headers %} + + + + + + +
+ {% block main %} + {% endblock main %} +
+ + + + + + + + + + + + + + + + {% block body_scripts %} + {% endblock body_scripts %} + + + diff --git a/cara/apps/templates/index.html.j2 b/cara/apps/templates/index.html.j2 index 30ed7f07..87cbd196 100644 --- a/cara/apps/templates/index.html.j2 +++ b/cara/apps/templates/index.html.j2 @@ -1,69 +1,2 @@ -{% extends "layout.html.j2" %} -{% set active_page="home/" %} - -{% block main %} - {#
#} -
-
- - -
-
- -
- -
-
-

Introduction


-
-

- CARA is a risk assessment tool developed to model the concentration of viruses in enclosed spaces, in order to inform space-management decisions. - It does this by simulating the long-range airborne spread SARS-CoV-2 virus in a finite volume, assuming homogenous mixing, and it estimates the risk of COVID-19 airborne transmission therein. - Please see the About page for more details on the methodology, assumptions and limitations of CARA. -

-

- The full CARA source code can be accessed freely under an Apache 2.0 open source license from our code repository. - It includes detailed instructions on how to run your own version of this tool. -

-
-
-
-
- -
-
-
- -
-
-

Apps:

-
- -
-
Expert (beta)
-
-
-
- -

CARA @ CERN


-
-

- CARA has been developed by CERN with the intention of allowing members of personnel with roles related to supervision, health & safety or space management to simulate the concerned workplaces on CERN sites. - A hosted CERN version of the CARA Covid Calculator is available on this site to members of the CERN personnel. -

-
-
-

Acknowledgements


-

- We wish to thank CERN’s HSE Unit, Beams Department, Experimental Physics Department, Information Technology Department, Industry, Procurement and Knowledge Transfer Department and International Relations Sector for their support to the study. - Thanks to Doris Forkel-Wirth, Benoit Delille, Walid Fadel, Olga Beltramello, Letizia Di Giulio, Evelyne Dho, Wayne Salter, Benoit Salvant and colleagues from the COVID working group for providing expert advice and extensively testing the model. - Finally, we wish to thank Fabienne Landua and the design service for preparing the illustrations and Alessandro Raimondo, Ana Padua and Manuela Cirilli from the Knowledge Transfer Group for their continuous support. - Our compliments towards the work and research performed by world leading scientists in this domain: Dr. Julian Tang, Prof. Manuel Gameiro, Dr. Linsey Marr, Prof. Jose Jimenez, Prof. Lidia Morawska, Prof. Yuguo Li et al. - their scientific contribution was indispensable for this project. - -

-
- -{% endblock main %} +{# The main index, this template is intended to be implemented by themes #} +{% extends "base/index.html.j2" %} \ No newline at end of file diff --git a/cara/apps/templates/layout.html.j2 b/cara/apps/templates/layout.html.j2 index 15020daa..1298f8eb 100644 --- a/cara/apps/templates/layout.html.j2 +++ b/cara/apps/templates/layout.html.j2 @@ -1,113 +1,2 @@ - - - - - - - - - - {% block title %} - CARA | COVID Airborne Risk Assessment - {% endblock title %} - - - - - - - - {% block extra_headers %} - {% endblock extra_headers %} - - - - - - -
- {% block main %} - {% endblock main %} -
- - - - - - - - - - - - - - - - {% block body_scripts %} - {% endblock body_scripts %} - - - +{# The main layout, this template is intended to be implemented by themes #} +{% extends "base/layout.html.j2" %} diff --git a/cara/apps/themes/cern/templates/index.html.j2 b/cara/apps/themes/cern/templates/index.html.j2 new file mode 100644 index 00000000..4ad3ef16 --- /dev/null +++ b/cara/apps/themes/cern/templates/index.html.j2 @@ -0,0 +1,11 @@ +{% extends "base/index.html.j2" %} + +{% block cara_at_cern %} +

CARA @ CERN


+
+

+ CARA has been developed by CERN with the intention of allowing members of personnel with roles related to supervision, health & safety or space management to simulate the concerned workplaces on CERN sites. + A hosted CERN version of the CARA Covid Calculator is available on this site to members of the CERN personnel. +

+
+{% endblock cara_at_cern %} \ No newline at end of file diff --git a/cara/apps/themes/cern/templates/layout.html.j2 b/cara/apps/themes/cern/templates/layout.html.j2 new file mode 100644 index 00000000..3959e097 --- /dev/null +++ b/cara/apps/themes/cern/templates/layout.html.j2 @@ -0,0 +1,5 @@ +{% extends "base/layout.html.j2" %} + +{% block covid_information %} + +{% endblock covid_information %} \ No newline at end of file