diff options
Diffstat (limited to 'src/jwebmail/templates/_top_nav.html')
-rw-r--r-- | src/jwebmail/templates/_top_nav.html | 38 |
1 files changed, 1 insertions, 37 deletions
diff --git a/src/jwebmail/templates/_top_nav.html b/src/jwebmail/templates/_top_nav.html index c94918c..4e5bcb9 100644 --- a/src/jwebmail/templates/_top_nav.html +++ b/src/jwebmail/templates/_top_nav.html @@ -41,43 +41,7 @@ </form> <div class=column> - <nav class="pagination" role="navigation"> - {% if first %} - <a class="pagination-previous" disabled>«</a> - {% else %} - <a class="pagination-previous" - href="{{ url_for( - 'displayheaders', - folder=request.view_args.folder, - page_bound=page_bound_before, - page_after=0, - per_page=request.args.get('per_page'), - sort=request.args.get('sort'), - search=request.args.get('search'), - ) }}" - aria-label="Next"> - « - </a> - {% endif %} - - {% if last %} - <a class="pagination-next" disabled>»</a> - {% else %} - <a class="pagination-next" - href="{{ url_for( - 'displayheaders', - folder=request.view_args.folder, - page_bound=page_bound_after, - page_after=1, - per_page=request.args.get('per_page'), - sort=request.args.get('sort'), - search=request.args.get('search'), - ) }}" - aria-label="Next"> - » - </a> - {% endif %} - </nav> + {% include '_nav.html' %} </div> </div> |