covid-plotter/templates/index.template.html

49 lines
2.3 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>Thegux covid-19</title>
<meta charset="UTF-8">
<meta name="keywords" content="thegux, covid">
<link rel="stylesheet" href="{{ static }}/css/index.css">
<meta name="description" content="A simple page to share some useful data about covid 19">
</head>
<body>
<div class="main-container">
<h1>Thegux covid-19</h1>
<div>source : <a href="{{ src }}">Data DRESS</a></div>
<div>période temporelle : <b>{{ period }}</b></div>
<div>pas de temps : <b>journalier</b></div>
<h3>Hospitalisations/Soins critiques/Décés par status vaccinal groupés et tranches d'âges</h3>
{% for field in fields %}
<img src="{{ static }}/plots/age_percent_vac_{{ field.name.lower() }}.png"/>
<img src="{{ static }}/plots/age_percent_unvac_{{ field.name.lower() }}.png"/>
{% endfor %}
<h3>Hospitalisations/Soins critiques/Décés par tranches d'âges groupés et status vaccinal</h3>
{% for age in ages %}
{% for field in fields %}
<img src="{{ static }}/plots/vac_percent_{{ age.name.lower() }}_{{ field.name.lower() }}.png"/>
{% endfor %}
{% endfor %}
<h3>Hospitalisations/Soins critiques/Décés par tranches d'âges et status vaccinal</h3>
<div class="plot-container">
{% for age in ages %}
{% for vac_status in status %}
<div class="plot-item">
<img src="{{ static }}/plots/all_{{ age.name.lower() }}_{{ vac_status.name.lower() }}.png"/>
</div>
{% endfor %}
{% endfor %}
</div>
<h3>Hospitalisations/Soins critiques/Décés cumulés par tranches d'âges et status vaccinal</h3>
<div class="plot-container">
{% for age in ages %}
{% for field in fields %}
<div class="plot-item">
<img src="{{ static }}/plots/cumulative_{{ age.name.lower() }}_{{ field.name.lower() }}.png"/>
</div>
{% endfor %}
{% endfor %}
</div>
</div>
</body>
</html>