summaryrefslogtreecommitdiff
path: root/src/jwebmail/templates/displayheaders.html
blob: 36a1f6810db81e2379f1ad2de42bdee9399575a9 (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
{% extends 'mainlayout.html' %}

{% block scripts %}
  <script src="{{ url_for('static', filename='src/dh-select-all-mails.js') }}" defer>
  </script>
  <script src="{{ url_for('static', filename='src/dh-toggle-navbar.js') }}" defer>
  </script>
  <script src="{{ url_for('static', filename='src/dh-submit-sort-on-change.js') }}" defer>
  </script>
  <script src="{{ url_for('static', filename='src/localtime.js') }}" defer>
  </script>
{% endblock %}

{% block content %}
  <section class="section container">

    {% include '_folders.html' %}

    {% with messages = get_flashed_messages() %}
      {% if messages %}
        {% for message in messages %}
          <p class="notification is-info">
            {{ message }}
          </p>
        {% endfor %}
      {% endif %}
    {% endwith %}

    {% include '_top_nav.html' %}

    {% if msgs %}
      {% include '_main_table.html' %}
    {% else %}
      <p class="section">
        {% trans %}This folder is empty!{% endtrans %}
      </p>
    {% endif %}

    {% include '_bot_nav.html' %}

  </section>
{% endblock %}