summaryrefslogtreecommitdiff
path: root/src/jwebmail/templates/_bot_nav.html
blob: e2be5f557716f2dce46bc56c45c07eada6d9c65f (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
49
50
51
52
53
<div class="columns">

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

  <div class="column">

    {% if mail_folders|length > 1 %}
      <form href="{{ url_for('move', folder=folder) }}" id='move-mail' class=is-pulled-left>
        {{ form.csrf_token }}
        <div class="field has-addons">
          <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>
          <div class=control>
            <input type=submit class=button value="{{ gettext('Move') }}">
          </div>
        </div>
      </form>
    {% endif %}

    <form href="{{ url_for('move', folder=folder) }}" id="remove-mail"
      method=POST class="is-pulled-left ml-2">

      {{ from.csrf_token }}
      <div class=control>
        <input id=remove type=submit class=button value="{{ gettext('Remove') }}">
      </div>
    </form>

  </div>

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

</div>