blob: 80177b852282f48105d48b32d695ff16fd6fb1f4 [file] [log] [blame]
Matthias Andreas Benkard12a57352021-12-28 18:02:04 +01001{% extends 'base.twig' %}
2
3{% block content %}
4<ul class="nav nav-tabs responsive-tabs" role="tablist">
5 <li role="presentation" class="active"><a href="#tab-domains" aria-controls="tab-domains" role="tab" data-toggle="tab">{{ lang.mailbox.domains }}</a></li>
6 <li role="presentation"><a href="#tab-mailboxes" aria-controls="tab-mailboxes" role="tab" data-toggle="tab">{{ lang.mailbox.mailboxes }}</a></li>
7 {# <li class="dropdown">
8 <a class="dropdown-toggle" data-toggle="dropdown" href="#">{{ lang.mailbox.mailboxes }}
9 <span class="caret"></span></a>
10 <ul class="dropdown-menu">
11 <li role="presentation"><a href="#tab-mailboxes" aria-controls="tab-mailboxes" role="tab" data-toggle="tab">{{ lang.mailbox.mailboxes }}</a></li>
12 <li role="presentation"><a href="#tab-mailbox-defaults" aria-controls="tab-mailbox-defaults" role="tab" data-toggle="tab">{{ lang.mailbox.mailbox_defaults }}</a></li>
13 </ul>
14 </li> #}
15 <li role="presentation"><a href="#tab-resources" aria-controls="tab-resources" role="tab" data-toggle="tab">{{ lang.mailbox.resources }}</a></li>
16 <li class="dropdown">
17 <a class="dropdown-toggle" data-toggle="dropdown" href="#">{{ lang.mailbox.aliases }}
18 <span class="caret"></span></a>
19 <ul class="dropdown-menu">
20 <li role="presentation"><a href="#tab-mbox-aliases" aria-controls="tab-mbox-aliases" role="tab" data-toggle="tab">{{ lang.mailbox.aliases }}</a></li>
21 <li role="presentation"><a href="#tab-domain-aliases" aria-controls="tab-domain-aliases" role="tab" data-toggle="tab">{{ lang.mailbox.domain_aliases }}</a></li>
22 </ul>
23 </li>
24 <li role="presentation"><a href="#tab-syncjobs" aria-controls="tab-syncjobs" role="tab" data-toggle="tab">{{ lang.mailbox.sync_jobs }}</a></li>
25 <li role="presentation"><a href="#tab-filters" aria-controls="tab-filters" role="tab" data-toggle="tab">{{ lang.mailbox.filters }}</a></li>
26 <li role="presentation"><a href="#tab-bcc" aria-controls="tab-bcc" role="tab" data-toggle="tab">{{ lang.mailbox.address_rewriting }}</a></li>
27 <li role="presentation"{% if mailcow_cc_role != 'admin' %} class="hidden"{% endif %}><a href="#tab-tls-policy" aria-controls="tab-tls-policy" role="tab" data-toggle="tab">{{ lang.mailbox.tls_policy_maps }}</a></li>
28</ul>
29
30<div class="row">
31 <div class="col-md-12">
32 <div class="tab-content" style="padding-top:20px">
33 {% include 'mailbox/tab-domains.twig' %}
34 {% include 'mailbox/tab-mailbox-defaults.twig' %}
35 {% include 'mailbox/tab-mailboxes.twig' %}
36 {% include 'mailbox/tab-resources.twig' %}
37 {% include 'mailbox/tab-domain-aliases.twig' %}
38 {% include 'mailbox/tab-mbox-aliases.twig' %}
39 {% include 'mailbox/tab-syncjobs.twig' %}
40 {% include 'mailbox/tab-filters.twig' %}
41 {% include 'mailbox/tab-bcc.twig' %}
42 {% include 'mailbox/tab-tls-policy.twig' %}
43 </div> <!-- /tab-content -->
44 </div> <!-- /col-md-12 -->
45</div> <!-- /row -->
46
47{% include 'modals/mailbox.twig' %}
48
49<script type='text/javascript'>
50 var acl = '{{ acl_json|raw }}';
51 var lang = {{ lang_mailbox|raw }};
52 var csrf_token = '{{ csrf_token }}';
53 var pagination_size = '{{ pagination_size }}';
54 var role = '{{ role }}';
55 var is_dual = {{ is_dual }};
56 var ALLOW_ADMIN_EMAIL_LOGIN = {{ allow_admin_email_login }};
57</script>
58{% endblock %}