diff --git a/cara/apps/calculator/model_generator.py b/cara/apps/calculator/model_generator.py
index 06c29229..aa161dbc 100644
--- a/cara/apps/calculator/model_generator.py
+++ b/cara/apps/calculator/model_generator.py
@@ -303,7 +303,7 @@ class FormData:
# Initializes a ventilation instance as a window if 'natural_ventilation' is selected, or as a HEPA-filter otherwise
if self.ventilation_type == 'natural_ventilation':
if self.window_opening_regime == 'windows_open_periodically':
- window_interval = models.PeriodicInterval(self.windows_frequency, self.windows_duration)
+ window_interval = models.PeriodicInterval(self.windows_frequency, self.windows_duration, min(self.infected_start, self.exposed_start))
else:
window_interval = always_on
diff --git a/cara/apps/calculator/report_generator.py b/cara/apps/calculator/report_generator.py
index a4d88bd9..59ab1302 100644
--- a/cara/apps/calculator/report_generator.py
+++ b/cara/apps/calculator/report_generator.py
@@ -308,9 +308,9 @@ class ReportGenerator:
context['permalink'] = generate_permalink(base_url, self.calculator_prefix, form)
context['calculator_prefix'] = self.calculator_prefix
context['scale_warning'] = {
- 'level': 'yellow-2',
- 'incidence_rate': 'lower than 25 new cases per 100 000 inhabitants',
- 'onsite_access': 'of about 8000',
+ 'level': 'orange-3',
+ 'incidence_rate': 'somewhere in between 25 and 100 new cases per 100 000 inhabitants',
+ 'onsite_access': 'of about 5000',
'threshold': ''
}
return context
diff --git a/cara/apps/static/css/style.css b/cara/apps/static/css/style.css
index 008f833a..022b4ca6 100644
--- a/cara/apps/static/css/style.css
+++ b/cara/apps/static/css/style.css
@@ -170,6 +170,10 @@ body {
display: block;
}
+.mask_icons {
+ height: 4em;
+}
+
/*===== FIXED BACKGROUND IMG =====*/
.fixed-background {
@@ -230,6 +234,10 @@ footer img {
width: 25%;
}
+ #mobile_calculator_option {
+ display: none;
+ }
+
#nat_vent_image {
height: 15em;
}
@@ -242,7 +250,7 @@ footer img {
height: 6em;
margin: 1%;
}
- #mobile-app-buttons {
+ #calculator_app_button {
display: none!important;
}
.feedback {
@@ -282,6 +290,9 @@ footer img {
.nav-link {
padding: .5rem .5rem!important;
}
+ #apps_dropdown {
+ display: none;
+ }
#report_version {
font-size: .5rem;
}
@@ -298,13 +309,6 @@ footer img {
#mobile_link {
display: inline!important;
}
- #desktop_logo {
- display: none!important;
- }
-
- #mobile_logo {
- display: block!important;
- }
.feedback {
float:right;
font-size:.75rem;
@@ -324,16 +328,16 @@ footer img {
} */
-/* Large (lg) devices (desktops, 992px and up) */
-@media (max-width: 992px) {
- #download-pdf {
+/* Large (lg) devices (tablets) */
+@media (max-width: 64em) {
+ .expert_app_button {
display: none;
}
- #link_reproduce_results {
- display: none;
+ #desktop_logo {
+ display: none!important;
}
- #mobile_link {
- display: inline!important;
+ #mobile_logo {
+ display: block!important;
}
}
diff --git a/cara/apps/static/images/masks/ffp2.png b/cara/apps/static/images/masks/ffp2.png
new file mode 100644
index 00000000..57de5fc1
Binary files /dev/null and b/cara/apps/static/images/masks/ffp2.png differ
diff --git a/cara/apps/static/images/masks/t1.png b/cara/apps/static/images/masks/t1.png
new file mode 100644
index 00000000..187031f3
Binary files /dev/null and b/cara/apps/static/images/masks/t1.png differ
diff --git a/cara/apps/templates/base/calculator.form.html.j2 b/cara/apps/templates/base/calculator.form.html.j2
index 1947ebb3..e9b6cb18 100644
--- a/cara/apps/templates/base/calculator.form.html.j2
+++ b/cara/apps/templates/base/calculator.form.html.j2
@@ -268,11 +268,23 @@
The model allows for a simulation with either a continuous wearing of face masks throughout the duration of the event, or have the removed at all times - i.e. all occupants (infected and exposed alike) wear or not masks for the duration of the simulation. Please bear in mind the user inputs shall be aligned with the current applicable public health & safety instructions. Please check what are the applicable rules, before deciding which assumptions are used for the simulation.
-If you have selected the Training activity type, this equates to the trainer and all participants either wearing masks throughout the training (Yes), or removing them when seated/standing at their socially distanced positions within the training room (No). +
If you have selected the Conference/Training activity type, this equates to the speakr/trainer and all participants either wearing masks throughout the conference/training (Yes), or removing them when seated/standing at their socially distanced positions within the conference/training room (No). Please confirm what are the applicable rules, before deciding which assumptions are used for the simulation
For the time being only the Type 1 surgical and FFP2 masks can be selected.