Moved table.html as an include instead of on each page. Added the school name to the main options page for clarity and understanding.

This commit is contained in:
Norm Rasmussen
2023-02-26 22:08:24 -08:00
parent 5b46478057
commit f1f8c84bbf
7 changed files with 25 additions and 218 deletions

View File

@ -14,15 +14,5 @@
<p></p>
<input type="submit" value="Submit"></input>
</form>
<h4>Here is a list of your client's Groups.</h4>
<a id="download" href="/downloadcsv">Click here to download as CSV.</a>
</div>
<div class="panda-table">
{{ table | safe }}
</div>
</div>
</body>
{% endblock %}
{% include 'table.html' %}
{% endblock %}

View File

@ -15,14 +15,5 @@
<p></p>
<input type="submit" value="Submit"></input>
</form>
<h4>Here is a list of your client's Groups.</h4>
<a id="download" href="/downloadcsv">Click here to download as CSV.</a>
</div>
<div class="panda-table">
{{ table | safe }}
</div>
</div>
</body>
{% endblock %}
{% include 'table.html' %}
{% endblock %}

View File

@ -1,7 +1,9 @@
<!DOCTYPE html>
{% extends 'head.html' %}
{% block content %}
<h4>Hello! Please select what you'd like to do.</h4>
<h4>Hello! Please find the options for {{ session.school }}.</h4>
</div>
<div class="card-grid">
<form class="card"

View File

@ -1,6 +1,4 @@
<!DOCTYPE html>
{% extends 'head.html' %}
{% block content %}
<h4>Hello! Here are your results.</h4>
<a id="download" href="/downloadcsv">Click here to download as CSV.</a>
</div>
@ -9,4 +7,3 @@
</div>
</div>
</body>
{% endblock %}