From c1d5ff672f9c0b132acc7d8b43eb9022eb3bef4d Mon Sep 17 00:00:00 2001 From: thomaswoehlke <thomas.woehlke@gmail.com> Date: Thu, 28 Jan 2021 18:36:09 +0100 Subject: [PATCH] work --- .../fragments/fragment_europe_table_data.html | 90 +++++++++---------- .../fragment_europe_table_data_imported.html | 26 +++--- 2 files changed, 58 insertions(+), 58 deletions(-) diff --git a/templates/europe/fragments/fragment_europe_table_data.html b/templates/europe/fragments/fragment_europe_table_data.html index f55ed3c5..7d9dc763 100644 --- a/templates/europe/fragments/fragment_europe_table_data.html +++ b/templates/europe/fragments/fragment_europe_table_data.html @@ -1,50 +1,50 @@ <table class="table table-hover table-striped table-dark"> - <thead> - <tr> - <th scope="col">date rep</th> - <th scope="col">year_week</th> - <th scope="col"> - {% if europe_date_reported %} - <a href="{{ url_for( 'url_europe_date_reported_one_deaths_weekly', - europe_date_reported_id=europe_date_reported.id, - page=page_data.page) }}"> - deaths weekly - </a> - {% endif %} - {% if europe_country %} - deaths weekly - {% endif %} - </th> - <th scope="col"> - {% if europe_date_reported %} - <a href="{{ url_for( 'url_europe_date_reported_one_cases_weekly', - europe_date_reported_id=europe_date_reported.id, - page=page_data.page) }}"> - cases weekly - </a> - {% endif %} - {% if europe_country %} + <thead class="table-secondary"> + <tr> + <th scope="col">date rep</th> + <th scope="col">year_week</th> + <th scope="col"> + {% if europe_date_reported %} + <a href="{{ url_for( 'url_europe_date_reported_one_deaths_weekly', + europe_date_reported_id=europe_date_reported.id, + page=page_data.page) }}"> + deaths weekly + </a> + {% endif %} + {% if europe_country %} + deaths weekly + {% endif %} + </th> + <th scope="col"> + {% if europe_date_reported %} + <a href="{{ url_for( 'url_europe_date_reported_one_cases_weekly', + europe_date_reported_id=europe_date_reported.id, + page=page_data.page) }}"> cases weekly - {% endif %} - </th> - <th scope="col"> - {% if europe_date_reported %} - <a href="{{ url_for( 'url_europe_date_reported_one_notification_rate', - europe_date_reported_id=europe_date_reported.id, - page=page_data.page) }}"> - notification rate per 100000 population 14days - </a> - {% endif %} - {% if europe_country %} - notification rate per 100000 population 14days - {% endif %} - </th> - <th scope="col">countries and territories</th> - <th scope="col">population data 2019</th> - <th scope="col">geo id</th> - <th scope="col">country territory code</th> - <th scope="col">continent</th> - </tr> + </a> + {% endif %} + {% if europe_country %} + cases weekly + {% endif %} + </th> + <th scope="col"> + {% if europe_date_reported %} + <a href="{{ url_for( 'url_europe_date_reported_one_notification_rate', + europe_date_reported_id=europe_date_reported.id, + page=page_data.page) }}"> + notification rate per 100000 population 14days + </a> + {% endif %} + {% if europe_country %} + notification rate per 100000 population 14days + {% endif %} + </th> + <th scope="col">countries and territories</th> + <th scope="col">population data 2019</th> + <th scope="col">geo id</th> + <th scope="col">country territory code</th> + <th scope="col">continent</th> + </tr> </thead> <tbody> {% for europe_data in page_data.items %} diff --git a/templates/europe/fragments/fragment_europe_table_data_imported.html b/templates/europe/fragments/fragment_europe_table_data_imported.html index 9444ac38..32e79984 100644 --- a/templates/europe/fragments/fragment_europe_table_data_imported.html +++ b/templates/europe/fragments/fragment_europe_table_data_imported.html @@ -1,17 +1,17 @@ <table class="table table-hover table-striped table-dark"> - <thead> - <tr> - <th scope="col">date reported</th> - <th scope="col">year_week</th> - <th scope="col">cases weekly</th> - <th scope="col">deaths weekly</th> - <th scope="col">population data 2019</th> - <th scope="col">countries and territories</th> - <th scope="col">geo id</th> - <th scope="col">country territory code</th> - <th scope="col">continent</th> - <th scope="col">notification rate per 100000 population 14days</th> - </tr> + <thead class="table-secondary"> + <tr> + <th scope="col">date reported</th> + <th scope="col">year_week</th> + <th scope="col">cases weekly</th> + <th scope="col">deaths weekly</th> + <th scope="col">population data 2019</th> + <th scope="col">countries and territories</th> + <th scope="col">geo id</th> + <th scope="col">country territory code</th> + <th scope="col">continent</th> + <th scope="col">notification rate per 100000 population 14days</th> + </tr> </thead> <tbody> {% for o in page_data.items %} -- GitLab