Skip to content

Commit 232860e

Browse files
Code refactoring
1 parent 0ac7a35 commit 232860e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

templates/index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
{% block title %}Auctions | {{ title }} {% endblock %}
44

55
{% block categories %}
6+
67
<!-- Divider -->
78
<hr class='sidebar-divider'>
89

@@ -27,6 +28,7 @@
2728

2829

2930
{% block body %}
31+
3032
<!-- Page Heading -->
3133
<h1 class='h3 mb-4 text-gray-800'>Dashboard</h1>
3234

@@ -195,6 +197,7 @@ <h1 class='h3 mb-4 text-gray-800'>Dashboard</h1>
195197
<a class='page-link' href='#'>&laquo;</a>
196198
</li>
197199
{% endif %}
200+
198201
{% for i in pages.paginator.page_range %}
199202
{% if pages.number == i %}
200203
<li class='page-item active'>
@@ -206,6 +209,7 @@ <h1 class='h3 mb-4 text-gray-800'>Dashboard</h1>
206209
</li>
207210
{% endif %}
208211
{% endfor %}
212+
209213
{% if pages.has_next %}
210214
<li class='page-item'>
211215
<a class='page-link' href='?page={{ pages.next_page_number }}'>&raquo;</a>
@@ -215,6 +219,7 @@ <h1 class='h3 mb-4 text-gray-800'>Dashboard</h1>
215219
<a class='page-link' href='#'>&raquo;</a>
216220
</li>
217221
{% endif %}
222+
218223
</ul>
219224
</div>
220225
{% endif %}

0 commit comments

Comments
 (0)