2024-02-14 16:36:01 -03:00
|
|
|
<!DOCTYPE html>
|
2025-04-14 15:42:12 -03:00
|
|
|
{% load i18n %}
|
2026-01-25 11:46:02 -03:00
|
|
|
{% load custom_tags %}
|
|
|
|
|
{% tag_webadmin_version as webadmin_version %}
|
2025-04-14 15:42:12 -03:00
|
|
|
{% get_current_language as CURRENT_LANGUAGE %}
|
|
|
|
|
<html lang="{{ CURRENT_LANGUAGE }}">
|
2025-02-24 16:01:09 -03:00
|
|
|
|
2026-01-25 11:46:02 -03:00
|
|
|
<head>
|
|
|
|
|
{% include 'template_parts/base_head.html' %}
|
|
|
|
|
{% block page_custom_head %}{% endblock %}
|
2024-02-14 16:36:01 -03:00
|
|
|
</head>
|
2024-02-23 14:23:22 -03:00
|
|
|
|
2026-03-17 12:04:11 -03:00
|
|
|
<body class="hold-transition sidebar-mini layout-boxed {% if request.COOKIES.sidebarState == 'collapsed' %}sidebar-collapse{% endif %} {% if request.COOKIES.darkMode == 'dark' %}dark-mode{% endif %}">
|
|
|
|
|
<script>
|
|
|
|
|
(function() {
|
|
|
|
|
var m = document.cookie.match(/(?:^|; )darkMode=([^;]*)/);
|
|
|
|
|
if (!m && window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) {
|
|
|
|
|
document.body.classList.add('dark-mode');
|
|
|
|
|
}
|
|
|
|
|
})();
|
|
|
|
|
</script>
|
2026-03-17 20:08:02 -03:00
|
|
|
{% include 'template_parts/dark_mode_active_sync.html' %}
|
2024-02-14 16:36:01 -03:00
|
|
|
<div class="wrapper">
|
|
|
|
|
|
2025-02-27 12:01:53 -03:00
|
|
|
<!-- Preloader -->
|
|
|
|
|
<div class="preloader flex-column justify-content-center align-items-center">
|
2024-02-14 16:36:01 -03:00
|
|
|
</div>
|
2024-02-23 14:23:22 -03:00
|
|
|
|
2026-01-25 11:46:02 -03:00
|
|
|
{% include 'template_parts/base_navbar.html' %}
|
2025-02-27 12:01:53 -03:00
|
|
|
|
|
|
|
|
<!-- Main Sidebar Container -->
|
|
|
|
|
<aside class="main-sidebar sidebar-dark-primary elevation-4">
|
|
|
|
|
<!-- Brand Logo -->
|
|
|
|
|
<a href="/" class="brand-link">
|
|
|
|
|
<span class="brand-text font-weight-light">wireguard-webadmin</span>
|
|
|
|
|
</a>
|
2024-02-23 14:23:22 -03:00
|
|
|
|
2026-01-25 11:46:02 -03:00
|
|
|
{% include 'template_parts/base_sidebar.html' %}
|
2025-02-27 12:01:53 -03:00
|
|
|
|
|
|
|
|
</aside>
|
|
|
|
|
|
|
|
|
|
<!-- Content Wrapper. Contains page content -->
|
|
|
|
|
<div class="content-wrapper">
|
2026-01-25 11:46:02 -03:00
|
|
|
{% include 'template_parts/base_content_header.html' %}
|
|
|
|
|
{% include 'template_parts/base_generic_modal.html' %}
|
2024-02-23 14:23:22 -03:00
|
|
|
|
2025-02-27 12:01:53 -03:00
|
|
|
<!-- Main content -->
|
|
|
|
|
<section class="content">
|
|
|
|
|
<div class="container-fluid">
|
|
|
|
|
|
2026-01-25 11:46:02 -03:00
|
|
|
{% include 'template_parts/base_pending_changes_warning.html' %}
|
2025-02-27 12:01:53 -03:00
|
|
|
{% block content %}{% endblock %}
|
2026-01-25 11:46:02 -03:00
|
|
|
|
2025-02-27 12:01:53 -03:00
|
|
|
</div><!-- /.container-fluid -->
|
|
|
|
|
</section>
|
|
|
|
|
<!-- /.content -->
|
|
|
|
|
</div>
|
|
|
|
|
<!-- /.content-wrapper -->
|
|
|
|
|
|
2026-01-25 11:46:02 -03:00
|
|
|
{% include 'template_parts/base_footer.html' %}
|
|
|
|
|
|
2024-02-14 16:36:01 -03:00
|
|
|
</div>
|
|
|
|
|
<!-- ./wrapper -->
|
|
|
|
|
|
2026-01-25 11:46:02 -03:00
|
|
|
{% include 'template_parts/base_scripts.html' %}
|
|
|
|
|
{% include 'template_parts/base_messages.html' %}
|
|
|
|
|
{% block custom_page_scripts %}{% endblock %}
|
2024-02-14 16:36:01 -03:00
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|