29 lines
957 B
Text
29 lines
957 B
Text
<!-- color and arrow type of trends -->
|
|
{% if cases.trend == "even" %}
|
|
{% set trend_class = "none" %}
|
|
{% set trend = "→" %}
|
|
{% elif cases.trend == "good" %}
|
|
{% set trend_class = cases.trend %}
|
|
{% set trend = "↘" %}
|
|
{% elif cases.trend == "warn" %}
|
|
{% set trend_class = cases.trend %}
|
|
{% set trend = "↗" %}
|
|
{% elif cases.trend == "bad" %}
|
|
{% set trend_class = cases.trend %}
|
|
{% set trend = "↗" %}
|
|
{% endif %}
|
|
|
|
<div class="small covid19">
|
|
<span class="bright new7">
|
|
Neu: {{ cases.new7 }}
|
|
({{ cases.new7_100k }})
|
|
<span class={{trend_class}}>{{ trend | safe }}</span>
|
|
</span><br/>
|
|
<span class="bright active">Aktiv: {{ cases.active }}</span><br/>
|
|
<span class="total">Gesamt: {{ cases.total }}</span><br/>
|
|
<span class="death">Tote: {{ cases.death }}</span><br/>
|
|
<span class="cured">Genesen: {{ cases.cured }}</span><br/>
|
|
<div class="xsmall ts">
|
|
<span>7-Tage Trend, Stand {{ cases.ts }}</span>
|
|
</div>
|
|
</div>
|