aboutsummaryrefslogtreecommitdiffhomepage
path: root/apioforum/templates/view_thread.html
diff options
context:
space:
mode:
authorthe lemons <citrons@mondecitronne.com>2022-03-01 13:00:36 -0600
committerubq323 <ubq323@ubq323.website>2022-03-02 14:59:08 +0000
commit3644b35b92494965edb4916fdb368fd49c8d4bf2 (patch)
tree72615047f97b423ff1455605b18e3c8a558093a2 /apioforum/templates/view_thread.html
parentb96542d91a7fb8ce6c4275b97f72b90c5227d6f3 (diff)
improve pagination navigation
* pages show more content * the navigation bar is shown regardless of scroll position * the navigation bar now lives in a box * the navigation bar adapts to small screen sizes I changed the padding now.
Diffstat (limited to 'apioforum/templates/view_thread.html')
-rw-r--r--apioforum/templates/view_thread.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/apioforum/templates/view_thread.html b/apioforum/templates/view_thread.html
index fe22cfc..6e881cb 100644
--- a/apioforum/templates/view_thread.html
+++ b/apioforum/templates/view_thread.html
@@ -32,6 +32,7 @@
</span>
</div>
+{{ pagination_nav(page,max_pageno,'thread.view_thread',thread_id=thread.id) }}
<div class="posts">
{% for post in posts %}
{% if votes[post.id] %}
@@ -69,7 +70,6 @@
{% endif %}
{% endfor %}
</div>
-{{ pagination_nav(page,max_pageno,'thread.view_thread',thread_id=thread.id) }}
{% if g.user and has_permission(thread.forum, g.user, "p_reply_threads") %}
<form class="new-post" action="{{url_for('thread.create_post',thread_id=thread.id)}}" method="POST">
<textarea class="new-post-box" placeholder="your post here..." name="content"></textarea>