Skip to content

Commit

Permalink
Moved Disclaimers & Aligned Text
Browse files Browse the repository at this point in the history
  • Loading branch information
davidteather committed Aug 26, 2020
1 parent 8e446d2 commit 8ed18d0
Showing 1 changed file with 11 additions and 15 deletions.
26 changes: 11 additions & 15 deletions corona-dashboard/src/app/stats-row/stats-row.component.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
<div class="row" style="margin-top:20px;">
<div class="col-md-6" style="margin-top:10px;">
<i class="text-center fas fa-virus mx-auto"
style="font-size:10rem;display: inline-block; width:100%; color:#fc5f5f;margin-bottom:10px;"></i>
<h3 class="text-center">Active Cases<sup data-toggle="tooltip" data-placement="right"
title="An estimation calculated by the amount of cases reported in the last 14 days minus deaths in the last 14 days."
style="font-size:10rem; top:8px;position: relative;width:100%; color:#fc5f5f;margin-bottom:15px;"></i>
<h3 class="text-center" style="margin-top:10px;">Active Cases: {{data.positive-data.pos_14_days_ago-(data.deaths-data.deaths_14_days_ago)}}
(+{{data.positive-data.pos_1_days_ago}})<sup data-toggle="tooltip" data-placement="right" data-html="true"
title="<b>Active cases:</b> An Estimation using the total amount of positive tests in the last 14 days minus any deaths. <br><br>The number in the parentheses is how many new cases appeared in the last day."
style="vertical-align: super;
font-size: 1rem;">
*</sup>: {{data.positive-data.pos_14_days_ago-(data.deaths-data.deaths_14_days_ago)}} (+{{data.positive-data.pos_1_days_ago}})<sup
data-toggle="tooltip" data-placement="right" title="The daily increase of positive results." style="vertical-align: super;
font-size: 1rem;">
*</sup>
</h3>
Expand All @@ -16,15 +14,13 @@ <h3 class="text-center">Total Positive: {{data.positive}}</h3>

<div class="col-md-6" style="margin-top:20px;">
<i class="text-center fas fa-walking mx-auto"
style="font-size:10rem;display: inline-block; width:100%; color:#87fc83;margin-bottom:10px;"></i>
<h3 class="text-center">Daily Negative<sup data-toggle="tooltip" data-placement="right"
title="This number underestimates the amount of negative tests as they're not required to report." style="vertical-align: super;
font-size: 1rem;">
*</sup>: {{data.negative-data.neg_1_days_ago}}</h3>
<h3 class="text-center">Weekly Negative<sup data-toggle="tooltip" data-placement="right"
title="Total negative tests in the last 7 days." style="vertical-align: super;
font-size: 1rem;">
*</sup>: {{data.negative-data.neg_7_days_ago}}</h3>
style="font-size:10rem; position: relative;width:100%; color:#87fc83;margin-bottom:15px;"></i>
<h3 class="text-center">Daily Negative: {{data.negative-data.neg_1_days_ago}} <sup data-toggle="tooltip"
data-placement="right"
title="This number underestimates the amount of total negative tests, because it only includes people who had their test results reported electronically to Wisconsin's DHS." style="vertical-align: super;
font-size: 1rem;">
*</sup></h3>
<h3 class="text-center">Weekly Negative: {{data.negative-data.neg_7_days_ago}}</h3>

</div>
</div>

0 comments on commit 8ed18d0

Please sign in to comment.