-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from SocialFinanceDigitalLabs/22-create-histor…
…ic-view 22 create historic view
- Loading branch information
Showing
11 changed files
with
152 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 13 additions & 4 deletions
17
dm_regional_app/templates/dm_regional_app/views/historic.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,32 @@ | ||
{% extends "dm_regional_app/base.html" %} | ||
{% load crispy_forms_tags %} | ||
{% block content %} | ||
<br> | ||
<h1>Viewing the SSDA903 data</h1> | ||
<br> | ||
<p>Explore the make-up of the care population as represented in the SSDA903 returns. You can filter the data to see the pattern of new care episodes over time across dimensions such as placement type, provider type, child age, child ethnicity, child gender, and whether the new placement followed a breakdown.</p> | ||
<br> | ||
<p><i>Select the period of data in the SSDA903 dataset you want to explore</i></p> | ||
{{ form.media }} | ||
<form method="POST"> | ||
{% csrf_token %} | ||
{% crispy form %} | ||
</form> | ||
<br> | ||
<div class="row"> | ||
<div class="col"> | ||
<h1>Total # of entry into care</h1> | ||
<p>{{ entry_into_care_count }}</p> | ||
<p><h1 class="display-2">{{ entry_into_care_count }}</h1></p> | ||
</div> | ||
<div class="col"> | ||
<h1>Total # of exiting care</h1> | ||
<p>{{ exiting_care_count }}</p> | ||
<p><h1 class="display-2">{{ exiting_care_count }}</h1></p> | ||
</div> | ||
</div> | ||
<div class="alert alert-primary" role="alert"> | ||
TODO - add the relevant charts here! | ||
|
||
{{chart|safe}} | ||
</div> | ||
<div class="d-flex bd-highlight mb-3"> | ||
<div class="ms-auto p-2 bd-highlight"><a class="btn btn-primary" href="{% url 'prediction' %}">Next</a></div> | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters