summaryrefslogtreecommitdiff
path: root/src/jwebmail/templates/_folders.html
blob: fd62ab22150c41caba8f4b2a1442455420a8a3fb (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">
    <nav class="navbar">

      <div class="navbar-brand">
        <span class=navbar-item>
          <b>{{ folder }}</b>
        </span>
        <a role="button" class="navbar-burger" data-target="navMenu" id=navbar-toggle>
          <span aria-hidden="true"></span>
          <span aria-hidden="true"></span>
          <span aria-hidden="true"></span>
        </a>
      </div>

      <div class="navbar-menu" id="navMenu">
        <div class=navbar-start>
          {% for f in mail_folders if f is ne folder %}
            <a href="{{ url_for('displayheaders', folder=f) }}" class="navbar-item">
              {{ f or gettext('Home') }}
            </a>
          {% endfor %}
        </div>
      </div>
    </nav>
  </div>

  <div class="column">
    <div class="columns is-multiline is-mobile">
      <span class="column is-half-mobile has-text-centered">
        {{ pgn.info }}
      </span>
      <span class="column is-half-mobile has-text-centered">
        {% if total_new_mails %}
          {% trans %}{{ total_new_mails }} new{% endtrans %}
        {% endif %}
      </span>
      <span class="column has-text-centered">
        {% if total_size %}
          {% trans %}mailbox size: {% endtrans %}
          {{ total_size|byte_size10 }}
        {% endif %}
      </span>
    </div>
  </div>

</div>