reverse order all lists of buttons

This commit is contained in:
Aaron Kimbre 2022-01-19 00:22:43 -06:00
parent 59db1df604
commit fba782fd96

View File

@ -21,7 +21,7 @@
</div> </div>
<div class="col"> <div class="col">
Currency: <br/> Currency: <br/>
{% for report in reports %} {% for report in reports|reverse %}
<a role="button" class="btn btn-primary btn btn-block" <a role="button" class="btn btn-primary btn btn-block"
href='{{url_for('reports.currency_by_date', date=report.date)}}'> href='{{url_for('reports.currency_by_date', date=report.date)}}'>
{{report.date}} {{report.date}}
@ -30,7 +30,7 @@
</div> </div>
<div class="col"> <div class="col">
U-Score: <br/> U-Score: <br/>
{% for report in reports %} {% for report in reports|reverse %}
<a role="button" class="btn btn-primary btn btn-block" <a role="button" class="btn btn-primary btn btn-block"
href='{{url_for('reports.uscore_by_date', date=report.date)}}'> href='{{url_for('reports.uscore_by_date', date=report.date)}}'>
{{report.date}} {{report.date}}