mirror of
https://github.com/DarkflameUniverse/NexusDashboard.git
synced 2024-11-25 23:17:19 +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'){
|
node('worker'){
|
||||||
|
|
||||||
|
currentBuild.setDescription(params.BRANCH)
|
||||||
|
|
||||||
stage('Clone Code'){
|
stage('Clone Code'){
|
||||||
checkout([
|
checkout([
|
||||||
$class: 'GitSCM',
|
$class: 'GitSCM',
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
Items: <br/>
|
Items: <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.items_by_date', date=report.date)}}'>
|
href='{{url_for('reports.items_by_date', date=report.date)}}'>
|
||||||
{{report.date}}
|
{{report.date}}
|
||||||
@ -39,9 +39,3 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|
||||||
{% block js %}
|
|
||||||
{{ super () }}
|
|
||||||
|
|
||||||
{% endblock %}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user