adding instances
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
<i class="fas fa-palette me-2"></i>Theme Colors
|
||||
</button>
|
||||
</li>
|
||||
{% if not is_master %}
|
||||
<li class="nav-item" role="presentation">
|
||||
<button class="nav-link {% if active_tab == 'general' %}active{% endif %}" id="general-tab" data-bs-toggle="tab" data-bs-target="#general" type="button" role="tab" aria-controls="general" aria-selected="{{ 'true' if active_tab == 'general' else 'false' }}">
|
||||
<i class="fas fa-building me-2"></i>Company Info
|
||||
@@ -45,11 +46,13 @@
|
||||
<i class="fas fa-envelope me-2"></i>Email Templates
|
||||
</button>
|
||||
</li>
|
||||
{% endif %}
|
||||
<li class="nav-item" role="presentation">
|
||||
<button class="nav-link {% if active_tab == 'mails' %}active{% endif %}" id="mails-tab" data-bs-toggle="tab" data-bs-target="#mails" type="button" role="tab" aria-controls="mails" aria-selected="{{ 'true' if active_tab == 'mails' else 'false' }}">
|
||||
<i class="fas fa-paper-plane me-2"></i>Mail Log
|
||||
</button>
|
||||
</li>
|
||||
{% if not is_master %}
|
||||
<li class="nav-item" role="presentation">
|
||||
<button class="nav-link {% if active_tab == 'security' %}active{% endif %}" id="security-tab" data-bs-toggle="tab" data-bs-target="#security" type="button" role="tab" aria-controls="security" aria-selected="{{ 'true' if active_tab == 'security' else 'false' }}">
|
||||
<i class="fas fa-shield-alt me-2"></i>Security
|
||||
@@ -60,11 +63,13 @@
|
||||
<i class="fas fa-history me-2"></i>Event Log
|
||||
</button>
|
||||
</li>
|
||||
|
||||
<li class="nav-item" role="presentation">
|
||||
<button class="nav-link {% if active_tab == 'debugging' %}active{% endif %}" id="debugging-tab" data-bs-toggle="tab" data-bs-target="#debugging" type="button" role="tab" aria-controls="debugging" aria-selected="{{ 'true' if active_tab == 'debugging' else 'false' }}">
|
||||
<i class="fas fa-bug me-2"></i>Debugging
|
||||
</button>
|
||||
</li>
|
||||
{% endif %}
|
||||
<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
|
||||
@@ -79,6 +84,7 @@
|
||||
{{ colors_tab(primary_color, secondary_color, csrf_token) }}
|
||||
</div>
|
||||
|
||||
{% if not is_master %}
|
||||
<!-- Company Info Tab -->
|
||||
<div class="tab-pane fade {% if active_tab == 'general' %}show active{% endif %}" id="general" role="tabpanel" aria-labelledby="general-tab">
|
||||
{{ company_info_tab(site_settings, form, csrf_token) }}
|
||||
@@ -88,12 +94,14 @@
|
||||
<div class="tab-pane fade {% if active_tab == 'email_templates' %}show active{% endif %}" id="email-templates" role="tabpanel" aria-labelledby="email-templates-tab">
|
||||
{{ email_templates_tab(email_templates, csrf_token) }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<!-- Mails Tab -->
|
||||
<div class="tab-pane fade {% if active_tab == 'mails' %}show active{% endif %}" id="mails" role="tabpanel" aria-labelledby="mails-tab">
|
||||
{{ mails_tab(mails, csrf_token, users, total_pages, current_page) }}
|
||||
</div>
|
||||
|
||||
{% if not is_master %}
|
||||
<!-- Security Tab -->
|
||||
<div class="tab-pane fade {% if active_tab == 'security' %}show active{% endif %}" id="security" role="tabpanel" aria-labelledby="security-tab">
|
||||
{{ security_tab() }}
|
||||
@@ -103,6 +111,7 @@
|
||||
<div class="tab-pane fade {% if active_tab == 'events' %}show active{% endif %}" id="events" role="tabpanel" aria-labelledby="events-tab">
|
||||
{{ events_tab(events, csrf_token, users, total_pages, current_page) }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<!-- Debugging Tab -->
|
||||
<div class="tab-pane fade {% if active_tab == 'debugging' %}show active{% endif %}" id="debugging" role="tabpanel" aria-labelledby="debugging-tab">
|
||||
|
||||
Reference in New Issue
Block a user