diff options
author | Jannis M. Hoffmann <jannis@fehcom.de> | 2024-12-08 18:43:06 +0100 |
---|---|---|
committer | Jannis M. Hoffmann <jannis@fehcom.de> | 2024-12-08 18:43:06 +0100 |
commit | 5b57add8ebb63d02b54b10411f0fecfc146061fb (patch) | |
tree | 2c3bd9c41eb9905de07633964000711f3f46bf63 | |
parent | c307ba34e3de5ca610c5c4e57381a0bfc4c9b19e (diff) |
move write and logout buttons to the right
-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> |