summaryrefslogtreecommitdiff
path: root/src/jwebmail/templates/_bot_nav.html
blob: e54fd4ccb2b2ba7f3781f5aa375e5b6dbc1b09ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<div class="columns">

  <div class="column">
    {{ pgn.links }}
  </div>

  <div class="column">
    <form href="{{ url_for('move', folder=folder) }}" id='move-mail'>
      <div class="field is-horizontal">
        <div class="field-label is-normal">
          <label for="select-folder" class="label">{% trans %}Move to{% endtrans %}</label>
        </div>
        <div class=field-body>
          <div class="field is-grouped">
            <div class=control>
              <div class=select>
                <select name=select-folder>
                  {% for f in mail_folders if f is ne folder %}
                    <option type=select name="folder" value="{{ f }}">{{ f or gettext('Home') }}</option>
                  {% endfor %}
                </select>
              </div>
            </div>
            {# csrf_field #}
            <div class=control>
              <input type=submit class=button value="{{ gettext('Move') }}">
            </div>
          </div>
        </div>
      </div>
    </form>
  </div>

  <div class=column>
    <form href="{{ url_for('move', folder=folder) }}" id="remove-mail" method=POST>
      {# csrf_field #}
      <div class=control>
        <input id=remove type=submit class=button value="{{ gettext('Remove') }}">
      </div>
    </form>
  </div>

  <div class="column has-text-right">
    <label for=allbox>{% trans %}check all{% endtrans %}</label>
    <input name=allbox type=checkbox id=check-all>
  </div>

</div>