From befa2a51f76c7be8b9fbb5e37788064590d81955 Mon Sep 17 00:00:00 2001 From: Cole Austin Coughlin Date: Fri, 3 Sep 2021 11:42:02 -0500 Subject: [PATCH] fixed website with new report --- .../templates/calculator.form.html.j2 | 343 ++++++++++------ .../calculator/templates/userguide.html.j2 | 365 +++++++++--------- cara/apps/static/css/style.css | 250 ++++++++++++ cara/apps/templates/about.html.j2 | 27 +- cara/apps/templates/index.html.j2 | 116 ++---- cara/apps/templates/layout.html.j2 | 348 +++-------------- 6 files changed, 781 insertions(+), 668 deletions(-) create mode 100644 cara/apps/static/css/style.css diff --git a/cara/apps/calculator/templates/calculator.form.html.j2 b/cara/apps/calculator/templates/calculator.form.html.j2 index c119d4e5..143202ab 100644 --- a/cara/apps/calculator/templates/calculator.form.html.j2 +++ b/cara/apps/calculator/templates/calculator.form.html.j2 @@ -17,15 +17,15 @@ {% block main %} -
-
-
v{{ calculator_version }} Please send feedback to CARA-dev@cern.ch -
- -

CARA - COVID Airborne Risk Assessment calculator

-
+{# This should probably be the same as the index logo and title #} +
+
+ +

CARA - COVID Airborne Risk Assessment Calculator

+
+
{% if DEBUG %}
@@ -36,37 +36,45 @@ v{{ calculator_version }} Please sen -
-
-
- +{#
#} +{#
#} +
+
+
+
-
- - +
+ +
-
- - +
+ +

+ Virus data:
? -

+
+ +
+
-
- - +
+ +
+ +

@@ -74,51 +82,58 @@ v{{ calculator_version }} Please sen Room data:
? -

+
+ +
-
- -
+
+
- +
+ +
+ -
-
+
+
  
- +
+ +
-
-
-          +
+
+   
- -

+
+ +
+
+ +
Central heating system in use:       - -
- -
- ? -
- + +
+ +
- - - + + +
@@ -128,8 +143,13 @@ v{{ calculator_version }} Please sen Ventilation data:
? -

+
+ +
+ Ventilation type: +
+    @@ -138,47 +158,70 @@ v{{ calculator_version }} Please sen
- HEPA filtration: + HEPA filtration:
-    +    -    - +    +
Face masks:
? -

- Are masks worn when occupants are at workstations? +
+ +
+ + Are masks worn when occupants are at workstations?
   @@ -189,9 +232,9 @@ v{{ calculator_version }} Please sen

-
-
+
+
Event data: @@ -199,21 +242,26 @@ v{{ calculator_version }} Please sen ?

-
- - +
+ +
-
- -
+
+ +

- Activity type: - @@ -225,16 +273,42 @@ v{{ calculator_version }} Please sen
- Exposed person(s) presence:
- Start:    - Finish:
- Infected person(s) presence:
- Start:    - Finish:
+
+ + +
+
+ Exposed person(s) presence:
+
+
+ Start:    +
+
+ Finish:
+
+
+
+
+ +
+ Infected person(s) presence:
+
+
+ Start:    +
+
+ Finish:
+
+
+
+
+
+
- Which month is the event? - @@ -248,6 +322,7 @@ v{{ calculator_version }} Please sen
+

@@ -258,9 +333,12 @@ v{{ calculator_version }} Please sen
- -
-
+
+ + + +

+
Lunch break:   @@ -268,18 +346,31 @@ v{{ calculator_version }} Please sen   
- +
+
Start:    +
+
Finish:
+
+
+
+
Coffee Breaks:   +
+
     
+
+
+ +
Duration (minutes):
+
+
Start:    +
+
Finish:
+
+
- Coffee Breaks:   +
+
+ Coffee Breaks: +
+
     
+
+
+ +
Duration (minutes):