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

      <div class="navbar-brand">
        <span class=navbar-item>
          <b>{{ folder or gettext('Home') }}</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>

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

</div>