Skip to content

Commit

Permalink
work
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaswoehlke committed Jan 1, 2022
1 parent a0d4067 commit 34a5fe5
Show file tree
Hide file tree
Showing 6 changed files with 157 additions and 1 deletion.
48 changes: 47 additions & 1 deletion project/data_owid/owid_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1474,6 +1474,19 @@ def url_owid_report_debt_or_contract_relief_during_the_covid19_pandemic():
page_info=page_info
)

@staticmethod
@app_owid_report.route(
"/excess_mortality_during_covid19__deaths_from_all_causes_compared_to_previous_years__all_age_p_scores")
def url_owid_report_excess_mortality_during_covid19__deaths_from_all_causes_compared_to_previous_years__all_age_p_scores():
page_info = WebPageContent(
"OWID", "Report",
"excess_mortality_during_covid19__deaths_from_all_causes_compared_to_previous_years__all_age_p_scores"
)
return render_template(
"owid/reports/report04/excess_mortality_during_covid19__deaths_from_all_causes_compared_to_previous_years__all_age_p_scores.html",
page_info=page_info
)

@staticmethod
@app_owid_report.route("/excess_mortality_during_covid19__deaths_from_all_causes_compared_to_previous_years__all_ages_p_scores")
def url_owid_report_excess_mortality_during_covid19__deaths_from_all_causes_compared_to_previous_years__all_ages_p_scores():
Expand Down Expand Up @@ -2768,9 +2781,20 @@ def url_owid_report_workplaces_how_did_the_number_of_visitors_change_since_the_b
page_info=page_info
)

@staticmethod
@app_owid_report.route("/daily_and_total_confirmed_covid19_deaths")
def url_owid_report_daily_and_total_confirmed_covid19_deaths():
page_info = WebPageContent(
"OWID", "Report", "daily_and_total_confirmed_covid19_deaths"
)
return render_template(
"owid/reports/report10/daily_and_total_confirmed_covid19_deaths.html",
page_info=page_info
)

@staticmethod
@app_owid_report.route("/daily_and_total_confirmed_covid19_deaths_per_million")
def url_owid_report_Daily_and_Total_confirmed_COVID19_deaths_per_million():
def url_owid_report_daily_and_total_confirmed_covid19_deaths_per_million():
page_info = WebPageContent(
"OWID", "Report", "daily_and_total_confirmed_covid19_deaths_per_million"
)
Expand All @@ -2779,4 +2803,26 @@ def url_owid_report_Daily_and_Total_confirmed_COVID19_deaths_per_million():
page_info=page_info
)

@staticmethod
@app_owid_report.route("/daily_confirmed_covid19_casesmap_and_country_time_series")
def url_owid_report_daily_confirmed_covid19_casesmap_and_country_time_series():
page_info = WebPageContent(
"OWID", "Report", "daily_confirmed_covid19_casesmap_and_country_time_series"
)
return render_template(
"owid/reports/report10/daily_confirmed_covid19_casesmap_and_country_time_series.html",
page_info=page_info
)

@staticmethod
@app_owid_report.route("/daily_new_estimated_infections_of_covid19")
def url_owid_report_daily_new_estimated_infections_of_covid19():
page_info = WebPageContent(
"OWID", "Report", "daily_new_estimated_infections_of_covid19"
)
return render_template(
"owid/reports/report10/daily_new_estimated_infections_of_covid19.html",
page_info=page_info
)

owid_report_urls = OwidReportUrls()
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{% extends 'app_application/layout/page_layout.html' %}

{% block navtabs %}
{% include 'owid/navigation/owid_navtabs.html' %}
{% endblock %}

{% block content %}
{{super()}}

<div class="container">
<div class="row">
<div class="col">
<h3>{{ page_info.subtitle_info }}</h3>
</div>
</div>
</div>
{% endblock %}


{% block footer_container %}

{% endblock %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{% extends 'app_application/layout/page_layout.html' %}

{% block navtabs %}
{% include 'owid/navigation/owid_navtabs.html' %}
{% endblock %}

{% block content %}
{{super()}}

<div class="container">
<div class="row">
<div class="col">
<h3>{{ page_info.subtitle_info }}</h3>
</div>
</div>
</div>
{% endblock %}


{% block footer_container %}

{% endblock %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{% extends 'app_application/layout/page_layout.html' %}

{% block navtabs %}
{% include 'owid/navigation/owid_navtabs.html' %}
{% endblock %}

{% block content %}
{{super()}}

<div class="container">
<div class="row">
<div class="col">
<h3>{{ page_info.subtitle_info }}</h3>
</div>
</div>
</div>
{% endblock %}


{% block footer_container %}

{% endblock %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{% extends 'app_application/layout/page_layout.html' %}

{% block navtabs %}
{% include 'owid/navigation/owid_navtabs.html' %}
{% endblock %}

{% block content %}
{{super()}}

<div class="container">
<div class="row">
<div class="col">
<h3>{{ page_info.subtitle_info }}</h3>
</div>
</div>
</div>
{% endblock %}


{% block footer_container %}

{% endblock %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{% extends 'app_application/layout/page_layout.html' %}

{% block navtabs %}
{% include 'owid/navigation/owid_navtabs.html' %}
{% endblock %}

{% block content %}
{{super()}}

<div class="container">
<div class="row">
<div class="col">
<h3>{{ page_info.subtitle_info }}</h3>
</div>
</div>
</div>
{% endblock %}


{% block footer_container %}

{% endblock %}

0 comments on commit 34a5fe5

Please sign in to comment.