Matthias Andreas Benkard | 12a5735 | 2021-12-28 18:02:04 +0100 | [diff] [blame] | 1 | {% extends 'base.twig' %} |
| 2 | |
| 3 | {% block content %} |
| 4 | <ul class="nav nav-tabs responsive-tabs" role="tablist"> |
| 5 | <li class="dropdown active"> |
| 6 | <a class="dropdown-toggle" data-toggle="dropdown" href="#">{{ lang.admin.access }}<span class="caret"></span></a> |
| 7 | <ul class="dropdown-menu"> |
| 8 | <li class="active" data-dont-remember="1" role="presentation"><a href="#tab-config-admins" aria-controls="tab-config-admins" role="tab" data-toggle="tab">{{ lang.admin.admins }}</a></li> |
| 9 | <!-- <li role="presentation"><a href="#tab-config-ldap-admins" aria-controls="tab-config-ldap-admins" role="tab" data-toggle="tab">{{ lang.admin.admins_ldap }}</a></li> --> |
| 10 | <li role="presentation"><a href="#tab-config-oauth2" aria-controls="tab-config-oauth2" role="tab" data-toggle="tab">{{ lang.admin.oauth2_apps }}</a></li> |
| 11 | <li role="presentation"><a href="#tab-config-rspamd" aria-controls="tab-config-rspamd" role="tab" data-toggle="tab">Rspamd UI</a></li> |
| 12 | </ul> |
| 13 | </li> |
| 14 | |
| 15 | <li class="dropdown"> |
| 16 | <a class="dropdown-toggle" data-toggle="dropdown" href="#">{{ lang.admin.configuration }}<span class="caret"></span></a> |
| 17 | <ul class="dropdown-menu"> |
| 18 | <li role="presentation"><a href="#tab-config-dkim" aria-controls="tab-config-dkim" role="tab" data-toggle="tab">{{ lang.admin.dkim_keys }}</a></li> |
| 19 | <li role="presentation"><a href="#tab-config-fwdhosts" aria-controls="tab-config-fwdhosts" role="tab" data-toggle="tab">{{ lang.admin.forwarding_hosts }}</a></li> |
| 20 | <li role="presentation"><a href="#tab-config-f2b" aria-controls="tab-config-f2b" role="tab" data-toggle="tab">{{ lang.admin.f2b_parameters }}</a></li> |
| 21 | <li role="presentation"><a href="#tab-config-quarantine" aria-controls="tab-config-quarantine" role="tab" data-toggle="tab">{{ lang.admin.quarantine }}</a></li> |
| 22 | <li role="presentation"><a href="#tab-config-quota" aria-controls="tab-config-quota" role="tab" data-toggle="tab">{{ lang.admin.quota_notifications }}</a></li> |
| 23 | <li role="presentation"><a href="#tab-config-rsettings" aria-controls="tab-config-rsettings" role="tab" data-toggle="tab">{{ lang.admin.rspamd_settings_map }}</a></li> |
| 24 | <li role="presentation"><a href="#tab-config-password-policy" aria-controls="tab-config-password-policy" role="tab" data-toggle="tab">{{ lang.admin.password_policy }}</a></li> |
| 25 | <li role="presentation"><a href="#tab-config-customize" aria-controls="tab-config-customize" role="tab" data-toggle="tab">{{ lang.admin.customize }}</a></li> |
| 26 | </ul> |
| 27 | </li> |
| 28 | <li role="presentation"><a href="#tab-routing" aria-controls="tab-routing" role="tab" data-toggle="tab">{{ lang.admin.routing }}</a></li> |
| 29 | <li role="presentation"><a href="#tab-sys-mails" aria-controls="tab-sys-mails" role="tab" data-toggle="tab">{{ lang.admin.sys_mails }}</a></li> |
| 30 | <li role="presentation"><a href="#tab-mailq" aria-controls="tab-mailq" role="tab" data-toggle="tab">{{ lang.admin.queue_manager }}</a></li> |
| 31 | <li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">{{ lang.admin.rspamd_global_filters }} |
| 32 | <span class="caret"></span></a> |
| 33 | <ul class="dropdown-menu"> |
| 34 | <li role="presentation"><a href="#tab-globalfilter-regex" aria-controls="tab-globalfilter-regex" role="tab" data-toggle="tab">{{ lang.admin.regex_maps }}</a></li> |
| 35 | </ul> |
| 36 | </li> |
| 37 | </ul> |
| 38 | |
| 39 | <div class="row"> |
| 40 | <div class="col-md-12"> |
| 41 | {% include 'admin/tab-config-admins.twig' %} |
| 42 | {% include 'admin/tab-ldap.twig' %} |
| 43 | {% include 'admin/tab-config-oauth2.twig' %} |
| 44 | {% include 'admin/tab-config-rspamd.twig' %} |
| 45 | {% include 'admin/tab-routing.twig' %} |
| 46 | {% include 'admin/tab-config-dkim.twig' %} |
| 47 | {% include 'admin/tab-config-fwdhosts.twig' %} |
| 48 | {% include 'admin/tab-config-f2b.twig' %} |
| 49 | {% include 'admin/tab-config-quarantine.twig' %} |
| 50 | {% include 'admin/tab-config-quota.twig' %} |
| 51 | {% include 'admin/tab-config-rsettings.twig' %} |
| 52 | {% include 'admin/tab-config-customize.twig' %} |
| 53 | {% include 'admin/tab-config-password-policy.twig' %} |
| 54 | {% include 'admin/tab-sys-mails.twig' %} |
| 55 | {% include 'admin/tab-mailq.twig' %} |
| 56 | {% include 'admin/tab-globalfilter-regex.twig' %} |
| 57 | </div> <!-- /col-md-12 --> |
| 58 | </div> <!-- /row --> |
| 59 | |
| 60 | {% include 'modals/admin.twig' %} |
| 61 | |
| 62 | <script type='text/javascript'> |
| 63 | var lang = {{ lang_admin|raw }}; |
| 64 | var admin_username = '{{ mailcow_cc_username }}'; |
| 65 | var csrf_token = '{{ csrf_token }}'; |
| 66 | var pagination_size = '{{ pagination_size }}'; |
| 67 | var log_pagination_size = '{{ log_pagination_size }}'; |
| 68 | |
| 69 | </script> |
| 70 | {% endblock %} |