SMTP Settings

This commit is contained in:
2025-06-02 14:30:20 +02:00
parent 694c8df364
commit 765c07316a
9 changed files with 461 additions and 2 deletions

View File

@@ -7,6 +7,7 @@
{% from "settings/tabs/events.html" import events_tab %}
{% 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/components/reset_colors_modal.html" import reset_colors_modal %}
{% block title %}Settings - DocuPulse{% endblock %}
@@ -64,6 +65,11 @@
<i class="fas fa-bug me-2"></i>Debugging
</button>
</li>
<li class="nav-item" role="presentation">
<button class="nav-link {% if active_tab == 'smtp' %}active{% endif %}" id="smtp-tab" data-bs-toggle="tab" data-bs-target="#smtp" type="button" role="tab" aria-controls="smtp" aria-selected="{{ 'true' if active_tab == 'smtp' else 'false' }}">
<i class="fas fa-server me-2"></i>SMTP
</button>
</li>
</ul>
</div>
<div class="card-body">
@@ -102,6 +108,11 @@
<div class="tab-pane fade {% if active_tab == 'debugging' %}show active{% endif %}" id="debugging" role="tabpanel" aria-labelledby="debugging-tab">
{{ debugging_tab() }}
</div>
<!-- SMTP Settings Tab -->
<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>
</div>
</div>
</div>