From 5094360dab2d3d66f03a92a574403ba7b13a47df Mon Sep 17 00:00:00 2001 From: zac Date: Sun, 29 Mar 2020 20:36:08 -0400 Subject: [PATCH 01/31] paginated report.ejs --- app/views/pages/report.ejs | 209 ++++++++++++++++++++++++++++++++++++- 1 file changed, 206 insertions(+), 3 deletions(-) diff --git a/app/views/pages/report.ejs b/app/views/pages/report.ejs index 6c41aada..0700a894 100644 --- a/app/views/pages/report.ejs +++ b/app/views/pages/report.ejs @@ -35,6 +35,28 @@ <%- include('partials/header', { home: true, menu: false }) -%> + +
@@ -169,6 +191,37 @@ <%- __("Join the most important crowdsource! Regardless if you're healthy or not, please submit the form below – that is also valuable information!") %>

<% } %> +
+
    +
  • + +
  • +
+ +
+ +
+

<%= __("Geography and demography") %>

@@ -206,11 +259,18 @@ - <%= __('What is my Zip code?') %> <% } %> - + +
    +
  • + +
  • +
+
+
-

<%= __("Testing and symptoms") %>

+

<%= __("Testing and isolation") %>

@@ -254,6 +314,42 @@
+ +
+ <%= __('I am currently:')%> +

+ > + +

+

+ > + +

+

+ > + +

+

+ > + +

+

+ > + +

+
+
    +
  • + +
  • +
+
+ +
+
+ +

<%= __("Symptoms") %>

+
<%= __('Symptoms you have experienced') %>

<%- __('Select only the symptoms you have experienced') %>

@@ -346,7 +442,18 @@ id="symptom-start" value="<%= symptomStart %>">
+
    +
  • + +
  • +
+
+
+
+ +

<%= __("Health") %>

+
<%= __('Have you been diagnosed with any of the following conditions?')%>

<%= __('Diabetes mellitus, Hypertension, Ischemic heart disease, Asthma, Chronic lung disease, Chronic kidney disease') %>

@@ -416,8 +523,18 @@ id="body-temperature" value="<%= bodyTemperature %>" > +
    +
  • + +
  • +
+
- +
+
+ +

<%= __("Privacy and submit") %>

+

<%= __("How will my data be used?") %>

<%= __('Your health information is stored anonymously, and can not be used to identify you.')%>
@@ -446,6 +563,7 @@ +

@@ -555,4 +673,89 @@ var obfuscatePath = true; + + + + <%- include('partials/footer', { home: true }) -%> From 6b928d35fe6566b450384284cc97b5b93cb65606 Mon Sep 17 00:00:00 2001 From: Amrit Nagi Date: Mon, 30 Mar 2020 20:32:32 +0100 Subject: [PATCH 02/31] WIP steps --- app/views/pages/report.ejs | 100 +++++++++++++++++++++++++++++++++++++ 1 file changed, 100 insertions(+) diff --git a/app/views/pages/report.ejs b/app/views/pages/report.ejs index 0700a894..027632e0 100644 --- a/app/views/pages/report.ejs +++ b/app/views/pages/report.ejs @@ -218,8 +218,108 @@ 5 + +
+
+ + + +
+
+ + + +
+
+ + +
+
+
+
+
+ + +
+
+ + + +
+
+ +
+
+
+
+
+ +
+
+ 3 +
+
+ + +
+
+
+
+
+ + +
+
+ 4 +
+
+ +
+
+
+
+
+ +
+
+ 5 +
+
+ +
+ + + +
+ +
+
+ About You +
+ +
+ Testing & Isolation +
+ +
+ Symptoms +
+ +
+ Health +
+ +
+ Submit +
+ +
+ +
+ +
From a9d8e8ecc4c1e80c942b894ed8939cfd880ca3eb Mon Sep 17 00:00:00 2001 From: Amrit Nagi Date: Mon, 30 Mar 2020 20:52:22 +0100 Subject: [PATCH 03/31] Aligned text --- app/views/pages/report.ejs | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/app/views/pages/report.ejs b/app/views/pages/report.ejs index 027632e0..8eaf043c 100644 --- a/app/views/pages/report.ejs +++ b/app/views/pages/report.ejs @@ -224,7 +224,7 @@
- +
@@ -235,7 +235,7 @@
-
+
@@ -250,7 +250,7 @@
-
+
@@ -263,7 +263,7 @@
-
+
@@ -276,7 +276,7 @@
-
+
@@ -288,7 +288,7 @@
-
+
@@ -296,7 +296,7 @@
- About You + Demography and geography
@@ -312,11 +312,11 @@
- Submit + Submit & Share
- +
@@ -859,3 +859,4 @@ <%- include('partials/footer', { home: true }) -%> + From 7069ca3ea4ae8ca7797575ffa7ca5203c39974e4 Mon Sep 17 00:00:00 2001 From: zac Date: Mon, 30 Mar 2020 16:04:23 -0400 Subject: [PATCH 04/31] paginate report.ejs --- app/views/pages/report.ejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/pages/report.ejs b/app/views/pages/report.ejs index 8eaf043c..b7425fec 100644 --- a/app/views/pages/report.ejs +++ b/app/views/pages/report.ejs @@ -226,7 +226,7 @@
-
+