mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-23 02:04:46 +02:00
49 lines
3.1 KiB
Twig
49 lines
3.1 KiB
Twig
{% extends 'base.twig' %}
|
|
|
|
{% block content %}
|
|
<div id="user-content" class="responsive-tabs">
|
|
<!-- Nav tabs -->
|
|
<ul class="nav nav-tabs" role="tablist">
|
|
<li class="nav-item dropdown" role="presentation">
|
|
<a class="nav-link dropdown-toggle active" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false">{{ lang.user.mailbox }}</a>
|
|
<ul class="dropdown-menu">
|
|
<li><button class="dropdown-item active" role="tab" aria-selected="true" aria-controls="tab-user-auth" data-bs-toggle="tab" data-bs-target="#tab-user-auth">{{ lang.user.mailbox_general }}</button></li>
|
|
<li><button class="dropdown-item" role="tab" aria-selected="false" aria-controls="tab-config-fwdhosts" data-bs-toggle="tab" data-bs-target="#tab-user-details">{{ lang.user.mailbox_details }}</button></li>
|
|
<li><button class="dropdown-item" role="tab" aria-selected="false" aria-controls="tab-config-f2b" data-bs-toggle="tab" data-bs-target="#tab-user-settings">{{ lang.user.mailbox_settings }}</button></li>
|
|
</ul>
|
|
</li>
|
|
{% if acl.spam_alias == 1 %}
|
|
<li class="nav-item" role="presentation"><button class="nav-link" role="tab" aria-selected="false" aria-controls="SpamAliases" role="tab" data-bs-toggle="tab" data-bs-target="#SpamAliases">{{ lang.user.spam_aliases }}</button></li>
|
|
{% endif %}
|
|
{% if acl.spam_score == 1 %}
|
|
<li class="nav-item" role="presentation"><button class="nav-link" role="tab" aria-selected="false" aria-controls="Spamfilter" role="tab" data-bs-toggle="tab" data-bs-target="#Spamfilter">{{ lang.user.spamfilter }}</button></li>
|
|
{% endif %}
|
|
{% if acl.syncjobs == 1 %}
|
|
<li class="nav-item" role="presentation"><button class="nav-link" role="tab" aria-selected="false" aria-controls="Syncjobs" role="tab" data-bs-toggle="tab" data-bs-target="#Syncjobs">{{ lang.user.sync_jobs }}</button></li>
|
|
{% endif %}
|
|
{% if acl.app_passwds == 1 %}
|
|
<li class="nav-item" role="presentation"><button class="nav-link" role="tab" aria-selected="false" aria-controls="AppPasswds" role="tab" data-bs-toggle="tab" data-bs-target="#AppPasswds">{{ lang.user.app_passwds }}</button></li>
|
|
{% endif %}
|
|
{% if acl.pushover == 1 %}
|
|
<li class="nav-item" role="presentation"><button class="nav-link" role="tab" aria-selected="false" aria-controls="Pushover" role="tab" data-bs-toggle="tab" data-bs-target="#Pushover">Pushover API</button></li>
|
|
{% endif %}
|
|
</ul>
|
|
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<div class="tab-content" style="padding-top:20px">
|
|
{% include 'user/tab-user-auth.twig' %}
|
|
{% include 'user/tab-user-details.twig' %}
|
|
{% include 'user/tab-user-settings.twig' %}
|
|
{% if acl.spam_alias == 1 %}{% include 'user/SpamAliases.twig' %}{% endif %}
|
|
{% if acl.spam_score == 1 %}{% include 'user/Spamfilter.twig' %}{% endif %}
|
|
{% if acl.syncjobs == 1 %}{% include 'user/Syncjobs.twig' %}{% endif %}
|
|
{% if acl.app_passwds == 1 %}{% include 'user/AppPasswds.twig' %}{% endif %}
|
|
{% if acl.pushover == 1 %}{% include 'user/Pushover.twig' %}{% endif %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% include 'user_domainadmin_common.twig' %}
|
|
</div>
|
|
{% endblock %}
|