add connections
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
{% from "settings/tabs/email_templates.html" import email_templates_tab %}
|
||||
{% from "settings/tabs/mails.html" import mails_tab %}
|
||||
{% from "settings/tabs/smtp_settings.html" import smtp_settings_tab %}
|
||||
{% from "settings/tabs/connections.html" import connections_tab %}
|
||||
{% from "settings/components/reset_colors_modal.html" import reset_colors_modal %}
|
||||
|
||||
{% block title %}Settings - DocuPulse{% endblock %}
|
||||
@@ -75,6 +76,13 @@
|
||||
<i class="fas fa-server me-2"></i>SMTP
|
||||
</button>
|
||||
</li>
|
||||
{% if is_master %}
|
||||
<li class="nav-item" role="presentation">
|
||||
<button class="nav-link {% if active_tab == 'connections' %}active{% endif %}" id="connections-tab" data-bs-toggle="tab" data-bs-target="#connections" type="button" role="tab" aria-controls="connections" aria-selected="{{ 'true' if active_tab == 'connections' else 'false' }}">
|
||||
<i class="fas fa-plug me-2"></i>Connections
|
||||
</button>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
@@ -122,6 +130,13 @@
|
||||
<div class="tab-pane fade {% if active_tab == 'smtp' %}show active{% endif %}" id="smtp" role="tabpanel" aria-labelledby="smtp-tab">
|
||||
{{ smtp_settings_tab(smtp_settings, csrf_token) }}
|
||||
</div>
|
||||
|
||||
{% if is_master %}
|
||||
<!-- Connections Tab -->
|
||||
<div class="tab-pane fade {% if active_tab == 'connections' %}show active{% endif %}" id="connections" role="tabpanel" aria-labelledby="connections-tab">
|
||||
{{ connections_tab(portainer_settings, nginx_settings, site_settings, git_settings) }}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user