summaryrefslogtreecommitdiff
path: root/src/jwebmail/templates/_top_nav.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/jwebmail/templates/_top_nav.html')
-rw-r--r--src/jwebmail/templates/_top_nav.html36
1 files changed, 11 insertions, 25 deletions
diff --git a/src/jwebmail/templates/_top_nav.html b/src/jwebmail/templates/_top_nav.html
index bc4afa5..960ae86 100644
--- a/src/jwebmail/templates/_top_nav.html
+++ b/src/jwebmail/templates/_top_nav.html
@@ -1,42 +1,28 @@
<div class="columns">
- <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>
-
<form class=column>
- <div class="field is-horizontal">
- <div class="field-label is-normal">
- <label for=search class=label>{% trans %}Search{% endtrans %}</label>
- </div>
- <div class=field-body>
- <div class=field>
- <div class=control>
- <input type=search id=search size=8 class=input />
- </div>
- </div>
+ <div class=field>
+ <div class=control>
+ <input type=search id=search size=8 class=input placeholder="{{ gettext('Search') }}" />
</div>
</div>
</form>
<form class=column>
- <div class="field is-horizontal">
- <div class="field-label is-normal">
- <label for=sort class=label>{% trans %}Sort{% endtrans %}</label>
- </div>
- <div class=field-body>
- <div class=field>
- <div class="select" id=sort-select>
+ <div class="field">
+ <div class=control>
+ <label for=sort class="label">
+ {% trans %}Sort{% endtrans %}
+ <div class="select ml-2" id=sort-select>
<select name=sort id=sort>
- <option value="!date">{% trans %}Date{% endtrans %} - {% trans %}Descending{% endtrans %}</option>
- <option value="date">{% trans %}Date{% endtrans %} - {% trans %}Ascending{% endtrans %}</option>
+ <option value="!date">{{ gettext('Date') }} - {{ gettext('Descending') }}</option>
+ <option value="date">{{ gettext('Date') }} - {{ gettext('Ascending') }}</option>
<option value="!size">{{ gettext('Size') }} - {{ gettext('Descending') }}</option>
<option value="!sender">{{ gettext('Sender') }} - {{ gettext('Descending') }}</option>
<option value="sender">{{ gettext('Sender') }} - {{ gettext('Ascending') }}</option>
</select>
</div>
- </div>
+ </label>
</div>
</div>
</form>