more template updates

This commit is contained in:
James Turk 2022-12-07 18:26:34 -06:00
parent 6d1ceb0ce5
commit d8139fbfd3
2 changed files with 5 additions and 2 deletions

View File

@ -60,6 +60,8 @@
</div> </div>
{% endif %} {% endif %}
{# optional #}
{% if park.history %}
<div class="view-content"> <div class="view-content">
<h3><span id="History"></span></h3> <h3><span id="History"></span></h3>
<h3 class="block-title"> History </h3> <h3 class="block-title"> History </h3>
@ -69,6 +71,7 @@
{% endautoescape %} {% endautoescape %}
</div> </div>
</div> </div>
{% endif %}
{# sometimes add another block in, we'll use the id to decide #} {# sometimes add another block in, we'll use the id to decide #}
{% if park.id % 11 == 0 %} {% if park.id % 11 == 0 %}

View File

@ -24,13 +24,13 @@
</table> </table>
<div style="display: grid; grid-template-columns: auto auto;"> <div style="display: grid; grid-template-columns: auto auto;">
{% if prev_page %} {% if prev_page %}
<a class="button" href="?page={{ prev_page }}" style="justify-self: start;">&laquo; Previous</a> <a class="button" href="?page={{ prev_page }}" title="prev page" style="justify-self: start;">&laquo; Previous</a>
{% else %} {% else %}
<!-- for grid spacing --> <!-- for grid spacing -->
<span>&nbsp;</span> <span>&nbsp;</span>
{% endif %} {% endif %}
{% if next_page %} {% if next_page %}
<a class="button" style="justify-self: end;" href="?page={{ next_page }}">Next &raquo;</a> <a class="button" style="justify-self: end;" title="next page" href="?page={{ next_page }}">Next &raquo;</a>
{% endif %} {% endif %}
</div> </div>
</div> </div>