aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates/gnqa_search_history.html
diff options
context:
space:
mode:
Diffstat (limited to 'gn2/wqflask/templates/gnqa_search_history.html')
-rw-r--r--gn2/wqflask/templates/gnqa_search_history.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/gn2/wqflask/templates/gnqa_search_history.html b/gn2/wqflask/templates/gnqa_search_history.html
index 8d54ad80..c12e7c93 100644
--- a/gn2/wqflask/templates/gnqa_search_history.html
+++ b/gn2/wqflask/templates/gnqa_search_history.html
@@ -47,6 +47,30 @@
{% endfor %}
</ul>
</div>
+ <div class="row">
+ <nav aria-label="Page navigation example"
+ class="col-sm-8 col-sm-offset-2 col-md-6 col-md-offset-3">
+ <ul class="pagination">
+ {% for idx in range(1, num_pages) %}
+ {% if current == idx %}
+ <li class="page-item active">
+ <a class="page-link"
+ hx-swap="innerHTML"
+ hx-target="#swap"
+ hx-get="/gnqna/records?page={{ idx }}">{{ idx }}</a>
+ </li>
+ {% else %}
+ <li class="page-item">
+ <a class="page-link"
+ hx-swap="innerHTML"
+ hx-target="#swap"
+ hx-get="/gnqna/records?page={{ idx }}">{{ idx }}</a>
+ </li>
+ {% endif %}
+ {% endfor %}
+ </ul>
+ </nav>
+ </div>
</div>
</div>
</div>