From 86333d7188484bbdb106891ed6d287097529d12d Mon Sep 17 00:00:00 2001 From: gaazzopa Date: Wed, 4 Nov 2020 09:39:53 +0100 Subject: [PATCH] Added foundations of HTML form --- cara/.DS_Store | Bin 0 -> 6148 bytes cara/apps/.DS_Store | Bin 0 -> 6148 bytes cara/apps/calculator/.DS_Store | Bin 0 -> 6148 bytes cara/apps/calculator/static/.DS_Store | Bin 0 -> 6148 bytes cara/apps/calculator/static/form.html | 194 ++++++++++++++++++++++--- cara/apps/calculator/static/js/form.js | 172 ++++++++++++++++++++++ 6 files changed, 346 insertions(+), 20 deletions(-) create mode 100644 cara/.DS_Store create mode 100644 cara/apps/.DS_Store create mode 100644 cara/apps/calculator/.DS_Store create mode 100644 cara/apps/calculator/static/.DS_Store create mode 100644 cara/apps/calculator/static/js/form.js diff --git a/cara/.DS_Store b/cara/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..9848ce380fa579b6377d49df4893e08ed6638a0c GIT binary patch literal 6148 zcmeHL&5qMB5VqSc>##!ffV6w`g%cHOVbz|{W=lD60x1X%fVK&#wvm!JYEr7*(p4_| z5by@P1~;An9)gEp#x^0L3rB>|Of~-O`LQQoqBt&NjE|S$fUz!POn@S`9B8f(^rLP` z%UZ4ja-1Vr z-dwG`!Y`Kj*k8QF(Nn*e2e$uAskrL7$64hD^u(d z6~q8BKn(oC0KOk2D57hzG^k%4(C8xoU%#jvdi={#EfN+xvXi~X7VsMiV zc4^~Wi={!6&bVF~=CLbtdqUxQb+Ahv&bVukT4I10Xfn_?!!GXskA8ptZzj=*7$64z zD+YLH;!W_M2fMd!T^#PU5_AfRf^nt6Dg`=vD~4FyiVr}wfL&q-(6v|^1Pcg#2xuCp KAqM^`1K$A@mWkT{ literal 0 HcmV?d00001 diff --git a/cara/apps/.DS_Store b/cara/apps/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..6c073fa6543112c8c474253d41463390b7efca81 GIT binary patch literal 6148 zcmeHK!A|2a5VcDI2ZYE0u^fHj)nAfXqn@6}Hv^922Y~BSgVywa^qWdG;+k3^~&b%S^MgG zcr&`aGYoV1F=|=1_zXY5n7G;GqT-*ccE<#|f2YN@Rij}^5f6{6f4=|xwKY99dUtH6 z^?Lm>e#XS_y!5+iqS6Z(f8Ha;k`M#L05R}E2J96g7C)Fr;luzj@c9|Q`$2*tdKPno z`s#p2mjHl8aBBe@YYEJe7Cno(K^OtyCKb@6a$90>lMa4q<2;MGL6gq7Ek3wincE75 z>(ya?slyrf3{p!B5Cd-+m@!=!-~XNI_5a%>>JbCPz^7t>7aM+~4qLKs>)7V-t(Bl> rpePuZ8+=ItLqEk3i%;sO!12x3JKV{$v>Fayv literal 0 HcmV?d00001 diff --git a/cara/apps/calculator/.DS_Store b/cara/apps/calculator/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..cba7f52a6cd5f21fca2a802aa27f612f9ccd4ebf GIT binary patch literal 6148 zcmeHK%}(1u5Z+Bfx)ws@fFQ@c^p-Z3-`cxgLI~|nf)*h)LI?wuShApaLS(zt z1t}R%6_BbvLelfIWaLM}Ux-G>-^hSmyDCXYN<7fw`rY`WC`{63^NyCvm6hrn#@H%b zW1rlC$lTORCrQ^EpUB#gmkxYm9}5vZ*q;9(>}O}SjeQZPUKsbsDme`L5OVr4j02H% z#Uu_A)sL$iEX!inS*<>uwzoSC-fr#88hqO6G#h;9U3)gO*w)+D?&10H%jNWH_Vrpb zOW`F{vTkq=-@qtLGP-EFJuw{V0QU27`%pNJd5PKWug&}S-+$~a#sn|Mj0S&>BR{g@ zb9{EkaU|jk@Xw!J#-Jbr$N)01WCqNZ!&a9(4t9?WAOrs%19E@hpb~9^xkj~hK%uSx zfE92n0bBj%0CMR7v<>DO!2?2dDxglK=88deI{3MXvkm4NbvmJHWa!6?OwA32s?ovE zRXCxxMl6v5WT41ESyyZF{6Bd9{$EVO8Zv+k{8tRnisL$6n36eL7bYjqS`K;+Dn-WS n8Xr=?P)9Mu%A>drss#L88i2OJTqAfu@JB$=fCVz}sto)FiraH) literal 0 HcmV?d00001 diff --git a/cara/apps/calculator/static/.DS_Store b/cara/apps/calculator/static/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..492d88d0f734534a6d11a83967cf601f9d08552e GIT binary patch literal 6148 zcmeHKPjAyO6t}xF992^*m_(1haO zZ?OA5!ERi*@^yI6cE_f&>sC$gN%rsg{c-GHQoD~a#`}xNWvs;*6VMQA4s`z!^kZ9- znzd{La-1VfR0#U7aF)bt(PY>}2Jqe0*eT1xBAZ=(e_7t`{^7N)`h)F*P2ZLCA-9aT=+juNG;P z>3MwPa2!WCC#`l_?zzu8a=fIXr_W5d=(%OM7cfxBk_&j$$&(X&_?)JF$&xMgINpc zSW94zwCGu^41x!Qn^ZuP%590kO*+`6jq@y422DESw)o)o$=p^bTt6M=mpYtr&mi^0 z05Nc#fh{v^;r;&-e#L&3Pp;AILZ i`YMK4yo%e - - - - - -
- - - -
+ + + + + + + + + + + + + + + +

CARA Covid Calculator

+ +
+
+ + + Simulation name:
+ Room number:
+ + + Room volume:   
+ + Floor area:   
+      Ceiling height:   
+ + + Ventilation type: + Mechanical + Natural + + + + + +
+ +
+ + + Event data:
+ Attendees:
+ Total number of people:
+ Number of infected people:
+ Activity type:
+ Start:    + Finish:
+ + Single event + Date:
+ Recurrent usage +
+ + + +
+ + + + +
+ + +
+ +
+ Mask wearing: Continuous + Removed when seated + +

This tool estimates the risk of COVID-19 spread. It is based on current scientific data and can be used to provide an illustration for different real world scenarios.

+ + How to use this tool:
+ + Room data
+ + Enter the data about the area you wish to study. You can find these in GIS, or by measuring them yourself. + For mechanical ventilation, you should check with a specialist for the air flow or air change rate.

+ + Event data
+ + Enter the total number of people and how many you assume are infected.

+ + Activity types:
+ + Office = typical scenario all persons seated, talking quietly.
+ Workshop = assembly workshop environment, all persons doing light exercise, talking.
+ Training = one person standing, talking, all others seated, breathing normally.
+ Seminar = As training, but all participants take turns in standing and talking.
+ + You should specify if the event is a one off (give date) or recurrent use of the same space for the same activity, in which case tick the months when the activity takes place.
+ + Specify if a lunch break should be included, and when it starts/stops.
+ + If you will take coffee breaks, they are spread out evenly throughout the day, in addition to lunch.
+ + Mask wearing: Specify if they are worn all the time, or only when less than 2 meters apart.


+ +
+ +



+
The results will go here: @@ -17,15 +180,6 @@