Skip to content
Snippets Groups Projects
Commit e931701a authored by thomaswoehlke's avatar thomaswoehlke
Browse files

working for 0.0.198 Release

parent c7c37072
No related branches found
No related tags found
No related merge requests found
{% extends 'application/page_layout.html' %}
{% block content %}
{{super()}}
{% include 'rki_landkreise/fragments/fragment_rki_landkreise_navtabs.html' %}
{{super()}}
{% include 'rki_landkreise/fragments/fragment_rki_landkreise_navtabs.html' %}
<div class="container">
<div class="row">
<div class="col">
{% if page_data.pages > 1 %}
<!-- previous page -->
<ul class="pagination">
{% if page_data.has_prev %}
<li class="page-item">
<a class="page-link"
href="{{ url_for('rki_landkreise.url_rki_landkreise_imported', page=page_data.prev_num) }}">Previous</a>
</li>
{% endif %}
<!-- all page numbers -->
{% for page_num in page_data.iter_pages() %}
{% if page_num %}
{% if page_num != page_data.page %}
<li class="page-item">
<a class="page-link"
href="{{ url_for('rki_landkreise.url_rki_landkreise_imported', page=page_num) }}">{{ page_num }}</a>
</li>
{% else %}
<li class="page-item active">
<a class="page-link"
href="#">{{ page_num }}</a>
</li>
{% endif %}
{% else %}
<li class="page-item">
<span class="ellipsis page-link my-page-item-ellipsis-page-link"></span>
</li>
{% endif %}
{% endfor %}
<!-- next page -->
{% if page_data.has_next %}
<li class="page-item">
<a class="page-link"
href="{{ url_for('rki_landkreise.url_rki_landkreise_imported', page=page_data.next_num) }}">Next</a>
</li>
{% endif %}
</ul>
<div class="container">
<div class="row">
<div class="col">
{% if page_data.pages > 1 %}
<!-- previous page -->
<ul class="pagination">
{% if page_data.has_prev %}
<li class="page-item">
<a class="page-link"
href="{{ url_for('rki_landkreise.url_rki_landkreise_imported', page=page_data.prev_num) }}">
Previous
</a>
</li>
{% endif %}
</div>
<!-- all page numbers -->
{% for page_num in page_data.iter_pages() %}
{% if page_num %}
{% if page_num != page_data.page %}
<li class="page-item">
<a class="page-link"
href="{{ url_for('rki_landkreise.url_rki_landkreise_imported', page=page_num) }}">
{{ page_num }}
</a>
</li>
{% else %}
<li class="page-item active">
<a class="page-link"
href="#">{{ page_num }}</a>
</li>
{% endif %}
{% else %}
<li class="page-item">
<span class="ellipsis page-link my-page-item-ellipsis-page-link"></span>
</li>
{% endif %}
{% endfor %}
<!-- next page -->
{% if page_data.has_next %}
<li class="page-item">
<a class="page-link"
href="{{ url_for('rki_landkreise.url_rki_landkreise_imported', page=page_data.next_num) }}">
Next
</a>
</li>
{% endif %}
</ul>
{% endif %}
</div>
<div class="row">
<div class="col">
<table class="table table-hover table-striped">
<thead>
<tr>
<th scope="col">date_reported</th>
<th scope="col">country_code</th>
<th scope="col">country</th>
<th scope="col">who_region</th>
<th scope="col">new_cases</th>
<th scope="col">cumulative_cases</th>
<th scope="col">new_deaths</th>
<th scope="col">cumulative_deaths</th>
</tr>
</thead>
<tbody>
{% for who_global_data_import in page_data.items %}
<tr>
<td>{{ who_global_data_import.date_reported }}</td>
<td>{{ who_global_data_import.country_code }}</td>
<td>{{ who_global_data_import.country }}</td>
<td>{{ who_global_data_import.who_region }}</td>
<td>{{ who_global_data_import.new_cases }}</td>
<td>{{ who_global_data_import.cumulative_cases }}</td>
<td>{{ who_global_data_import.new_deaths }}</td>
<td>{{ who_global_data_import.cumulative_deaths }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
<div class="row">
<div class="col">
<table class="table table-hover table-striped">
<thead>
<tr>
<th scope="col">date_reported</th>
<th scope="col">country_code</th>
<th scope="col">country</th>
<th scope="col">who_region</th>
<th scope="col">new_cases</th>
<th scope="col">cumulative_cases</th>
<th scope="col">new_deaths</th>
<th scope="col">cumulative_deaths</th>
</tr>
</thead>
<tbody>
{% for who_global_data_import in page_data.items %}
<tr>
<td>{{ who_global_data_import.date_reported }}</td>
<td>{{ who_global_data_import.country_code }}</td>
<td>{{ who_global_data_import.country }}</td>
<td>{{ who_global_data_import.who_region }}</td>
<td>{{ who_global_data_import.new_cases }}</td>
<td>{{ who_global_data_import.cumulative_cases }}</td>
<td>{{ who_global_data_import.new_deaths }}</td>
<td>{{ who_global_data_import.cumulative_deaths }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
</div>
{% endblock %}
......
......@@ -25,10 +25,12 @@
</div>
<div class="row">
<div class="col">
<h3>COVID-19 Dashboard by the Center for Systems Science and Engineering (CSSE) at Johns Hopkins University (JHU)</h3>
<h3>COVID-19 Dashboard by the Center for Systems Science and Engineering (CSSE)
at Johns Hopkins University (JHU)</h3>
<p>
<a href="https://gisanddata.maps.arcgis.com/apps/opsdashboard/index.html#/bda7594740fd40299423467b48e9ecf6">
COVID-19 Dashboard by the Center for Systems Science and Engineering (CSSE) at Johns Hopkins University (JHU)
COVID-19 Dashboard by the Center for Systems Science and Engineering (CSSE)
at Johns Hopkins University (JHU)
</a>
</p>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment