1
0
Fork 0

feat: Added meters for vaccination rates

This commit is contained in:
Benedikt Bastin 2021-02-02 12:57:50 +01:00
parent 61e6cb2806
commit ec2064fd6d
2 changed files with 40 additions and 0 deletions

View file

@ -33,6 +33,17 @@
Für die Zweitimpfungen sind am <em>{{ data_second_vaccination['extrapolation_mean_seven_days']['date_herd_immunity_str'] }}</em> {{ herd_immunity }} % erreicht und am <em>{{ data_second_vaccination['extrapolation_mean_seven_days']['date_done_str'] }}</em> 100 %.
</p>
</section>
<section>
<h1>Impffortschritt</h1>
<div class="labelled_meter">
<meter name="first_vaccination_percentage" value="{{ data_first_vaccination.total_percentage }}" max="100" title="{{ '{:.3n}'.format(data_first_vaccination.total_percentage) }} %"/>
<label for="first_vaccination_percentage">Erstimpfungen: <em>{{ '{:.3n}'.format(data_first_vaccination.total_percentage) }} %</em></label>
</div>
<div class="labelled_meter">
<meter name="second_vaccination_percentage" value="{{ data_second_vaccination.total_percentage }}" max="100" title="{{ '{:.3n}'.format(data_second_vaccination.total_percentage) }} %"/>
<label for="second_vaccination_percentage">Zweitimpfungen: <em>{{ '{:.3n}'.format(data_second_vaccination.total_percentage) }} %</em></label>
</div>
</section>
<!--<section>
<h1>Details</h1>
<figure>