diff options
Diffstat (limited to 'src/jwebmail/templates')
-rw-r--r-- | src/jwebmail/templates/_folders.html | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/jwebmail/templates/_folders.html b/src/jwebmail/templates/_folders.html index 884188b..c2fa645 100644 --- a/src/jwebmail/templates/_folders.html +++ b/src/jwebmail/templates/_folders.html @@ -17,7 +17,8 @@ <div class="navbar-menu" id="navMenu"> <div class=navbar-start> {% for f in mail_folders if f is ne request.view_args.get('folder', '') %} - <a href="{{ url_for('displayheaders', folder=f, per_page=request.args.get('per_page')) }}" class="navbar-item"> + <a href="{{ url_for('displayheaders', folder=f, per_page=request.args.get('per_page'), sort=request.args.get('sort')) }}" + class="navbar-item"> {{ f or gettext('Home') }} </a> {% endfor %} @@ -26,11 +27,6 @@ </nav> </div> - <nav class="column"> - <a href="{{ url_for('logout') }}" class="button">{% trans %}Logout{% endtrans %}</a> - <a href="{{ url_for('write') }}" class="button">{% trans %}Write{% endtrans %}</a> - </nav> - <div class="column is-size-7"> <div class="columns is-multiline is-mobile"> <span class="column is-half-mobile has-text-centered"> @@ -50,4 +46,9 @@ </div> </div> + <nav class="column has-text-right"> + <a href="{{ url_for('write') }}" class="button">{% trans %}Write{% endtrans %}</a> + <a href="{{ url_for('logout') }}" class="button">{% trans %}Logout{% endtrans %}</a> + </nav> + </div> |