2022-11-21 08:52:22 +00:00
|
|
|
{%- extends 'root.html' -%}
|
|
|
|
{% import 'settings/common.html' as common with context %}
|
|
|
|
{% block pagetitle %}Settings{% endblock %}
|
2022-11-28 17:25:01 +00:00
|
|
|
{% block pagetype %}settings{% endblock %}
|
2023-02-24 06:31:27 +00:00
|
|
|
{% block body_attributes %}class="has_header"{% endblock %}
|
2022-11-21 08:52:22 +00:00
|
|
|
{% block body %}
|
2022-05-04 23:09:46 +00:00
|
|
|
{% include "header.html" %}
|
|
|
|
<div class="container">
|
|
|
|
<div class="row justify-content-around">
|
|
|
|
<div class="col h-100">
|
2022-12-11 23:44:34 +00:00
|
|
|
{% if error %}{{macros.alert(error, true)}}{% endif %}
|
|
|
|
{% if msg %}{{macros.alert(msg, false)}}{% endif %}
|
2022-05-04 23:09:46 +00:00
|
|
|
<div class="mt-3">
|
2022-10-23 17:57:38 +00:00
|
|
|
<h1 class="d-mob-none">Settings</h1>
|
2022-11-06 06:35:49 +00:00
|
|
|
<h3 class="mt-5 d-md-none">Settings</h3>
|
2022-05-04 23:09:46 +00:00
|
|
|
</div>
|
|
|
|
<div class="flex-row bg-white box-shadow-bottom sticky d-none d-sm-flex mt-3 mb-3 mb-sm-5">
|
2022-11-06 06:35:49 +00:00
|
|
|
<nav>
|
|
|
|
<ul class="nav settings-nav">
|
|
|
|
<li class="nav-item"><a class="nav-link{% if request.path=='/settings/personal' %} active{% endif %}" href="/settings/personal">Personal</a></li>
|
2022-11-06 08:59:50 +00:00
|
|
|
<li class="nav-item"><a class="nav-link{% if request.path=='/settings/advanced' %} active{% endif %}" href="/settings/advanced">Advanced</a></li>
|
2022-11-06 06:35:49 +00:00
|
|
|
<li class="nav-item"><a class="nav-link{% if request.path=='/settings/css' %} active{% endif %}" href="/settings/css">CSS</a></li>
|
|
|
|
<li class="nav-item"><a class="nav-link{% if request.path=='/settings/security' %} active{% endif %}" href="/settings/security">Security</a></li>
|
2024-03-04 20:16:56 +00:00
|
|
|
{% if get_setting('bots') and SITE_NAME != 'WPD' %}
|
2023-03-16 04:07:39 +00:00
|
|
|
<li class="nav-item"><a class="nav-link{% if request.path=='/settings/apps' %} active{% endif %}" href="/settings/apps">Apps/Bots</a></li>
|
|
|
|
{% endif %}
|
2022-11-06 06:35:49 +00:00
|
|
|
</ul>
|
|
|
|
</nav>
|
2022-05-04 23:09:46 +00:00
|
|
|
</div>
|
|
|
|
<div class="flex-row bg-white box-shadow-bottom sticky justify-content-center d-flex d-sm-none mt-3 mb-3 mb-sm-5">
|
2022-11-06 06:35:49 +00:00
|
|
|
<nav>
|
|
|
|
<ul class="nav settings-nav">
|
|
|
|
<li class="nav-item"><a class="nav-link{% if request.path=='/settings/personal' %} active{% endif %} navsettings" href="/settings/personal"><i class="fas fa-cog text-base mr-0"></i></a></li>
|
2023-10-02 04:47:03 +00:00
|
|
|
<li class="nav-item"><a class="nav-link{% if request.path=='/settings/advanced' %} active{% endif %} navsettings" href="/settings/advanced"><i class="fas fa-cogs text-base mr-0"></i></a></li>
|
2022-11-06 06:35:49 +00:00
|
|
|
<li class="nav-item"><a class="nav-link{% if request.path=='/settings/css' %} active{% endif %} navsettings" href="/settings/css"><i class="fas fa-palette text-base mr-0"></i></a></li>
|
|
|
|
<li class="nav-item"><a class="nav-link{% if request.path=='/settings/security' %} active{% endif %} navsettings" href="/settings/security"><i class="fas fa-lock-alt text-base mr-0"></i></a></li>
|
|
|
|
<li class="nav-item"><a class="nav-link{% if request.path=='/settings/apps' %} active{% endif %} navsettings" href="/settings/apps"><i class="fas fa-code text-base mr-0"></i></a></li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
2022-05-04 23:09:46 +00:00
|
|
|
</div>
|
2022-11-21 08:52:22 +00:00
|
|
|
{% block content %}{% endblock %}
|
2022-05-04 23:09:46 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-11-21 08:52:22 +00:00
|
|
|
</div>
|
2022-05-04 23:09:46 +00:00
|
|
|
{% block clipboard %}
|
2023-10-29 12:51:00 +00:00
|
|
|
<div class="toast clipboard" id="toast-success" data-bs-animation="true" data-bs-autohide="true" data-bs-delay="5000">
|
|
|
|
<div class="toast-body text-center">
|
|
|
|
<i class="fas fa-check-circle text-success mr-2"></i>Link copied to clipboard
|
|
|
|
</div>
|
2022-05-04 23:09:46 +00:00
|
|
|
</div>
|
|
|
|
{% endblock %}
|
2022-11-18 19:16:40 +00:00
|
|
|
<script defer src="{{'js/vendor/clipboard.js' | asset}}"></script>
|
2022-11-21 08:52:22 +00:00
|
|
|
{% endblock %}
|