utils and event logging
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
{% from "settings/tabs/company_info.html" import company_info_tab %}
|
||||
{% from "settings/tabs/security.html" import security_tab %}
|
||||
{% from "settings/tabs/debugging.html" import debugging_tab %}
|
||||
{% from "settings/tabs/events.html" import events_tab %}
|
||||
{% from "settings/components/reset_colors_modal.html" import reset_colors_modal %}
|
||||
|
||||
{% block title %}Settings - DocuPulse{% endblock %}
|
||||
@@ -41,6 +42,11 @@
|
||||
<i class="fas fa-shield-alt me-2"></i>Security
|
||||
</button>
|
||||
</li>
|
||||
<li class="nav-item" role="presentation">
|
||||
<button class="nav-link {% if active_tab == 'events' %}active{% endif %}" id="events-tab" data-bs-toggle="tab" data-bs-target="#events" type="button" role="tab" aria-controls="events" aria-selected="{{ 'true' if active_tab == 'events' else 'false' }}">
|
||||
<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
|
||||
@@ -65,6 +71,11 @@
|
||||
{{ security_tab() }}
|
||||
</div>
|
||||
|
||||
<!-- Events Tab -->
|
||||
<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) }}
|
||||
</div>
|
||||
|
||||
<!-- Debugging Tab -->
|
||||
<div class="tab-pane fade {% if active_tab == 'debugging' %}show active{% endif %}" id="debugging" role="tabpanel" aria-labelledby="debugging-tab">
|
||||
{{ debugging_tab() }}
|
||||
|
||||
Reference in New Issue
Block a user