mirror of
https://github.com/DarkflameUniverse/NexusDashboard.git
synced 2024-11-22 05:27:25 +00:00
Merge pull request #5 from DarkflameUniverse/reports-new-to-old
reverse list order while displaying buttons
This commit is contained in:
commit
d6d8bb085d
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -17,6 +17,9 @@ properties([
|
||||
])
|
||||
|
||||
node('worker'){
|
||||
|
||||
currentBuild.setDescription(params.BRANCH)
|
||||
|
||||
stage('Clone Code'){
|
||||
checkout([
|
||||
$class: 'GitSCM',
|
||||
|
@ -12,7 +12,7 @@
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
Items: <br/>
|
||||
{% for report in reports %}
|
||||
{% for report in reports|reverse %}
|
||||
<a role="button" class="btn btn-primary btn btn-block"
|
||||
href='{{url_for('reports.items_by_date', date=report.date)}}'>
|
||||
{{report.date}}
|
||||
@ -39,9 +39,3 @@
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
{% block js %}
|
||||
{{ super () }}
|
||||
|
||||
{% endblock %}
|
||||
|
Loading…
Reference in New Issue
Block a user