2021-07-29 17:29:25 +01:00
|
|
|
{% extends '/stdgrid.html.twig' %}
|
2020-07-26 16:05:07 +01:00
|
|
|
|
|
|
|
{% block meta %}
|
|
|
|
{{ parent() }}
|
2021-07-28 20:16:27 +01:00
|
|
|
<link href="{{ asset('assets/icons/arrow-down.svg.twig') }}" rel="icon"/>
|
2020-07-26 16:05:07 +01:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block title %}{% endblock %}
|
|
|
|
|
|
|
|
{% block stylesheets %}
|
|
|
|
{{ parent() }}
|
2021-07-28 20:16:27 +01:00
|
|
|
<link rel='stylesheet' type='text/css' href="{{ asset('assets/css/settings/settings.css') }}">
|
2020-07-26 16:05:07 +01:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block header %}
|
|
|
|
{{ parent() }}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block body %}
|
|
|
|
<div class="content">
|
2021-07-29 17:29:25 +01:00
|
|
|
|
2021-08-03 15:49:22 +01:00
|
|
|
<nav class='main-nav bg'>
|
2021-07-28 20:16:27 +01:00
|
|
|
<h1>Settings</h1>
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<details class="section-title-settings">
|
|
|
|
<summary>
|
|
|
|
<h1>Profile {{ icon('arrow-down', 'icon icon-details-open') | raw }}</h1>
|
|
|
|
|
|
|
|
<em>Personal Information, Avatar and Profile</em>
|
|
|
|
</summary>
|
|
|
|
|
|
|
|
<section>
|
|
|
|
<nav class='set-nav'>
|
|
|
|
<ul>
|
|
|
|
<li>
|
2021-07-29 17:29:25 +01:00
|
|
|
<details class="section-title-settings">
|
|
|
|
<summary>
|
|
|
|
<h1>Personal
|
|
|
|
Info{{ icon('arrow-down', 'icon icon-details-open') | raw }}</h1>
|
|
|
|
|
|
|
|
<em>Nickname, Homepage, Bio, Self Tags and more.</em>
|
|
|
|
</summary>
|
|
|
|
|
|
|
|
{% block form_profile %}
|
|
|
|
{% include '/settings/profile.html.twig' %}
|
|
|
|
{% endblock %}
|
|
|
|
</details>
|
2021-07-28 20:16:27 +01:00
|
|
|
</li>
|
2021-07-29 17:29:25 +01:00
|
|
|
|
|
|
|
<hr>
|
|
|
|
|
2021-07-29 20:20:32 +01:00
|
|
|
{% set profile_tabs = handle_event('PopulateProfileSettingsTabs', app.request) %}
|
2021-07-28 20:16:27 +01:00
|
|
|
{% for tab in profile_tabs %}
|
|
|
|
<li>
|
2021-07-29 20:20:32 +01:00
|
|
|
<details class="section-title-settings">
|
|
|
|
<summary>
|
|
|
|
<h1>{{ tab['title'] }}{{ icon('arrow-down', 'icon icon-details-open') | raw }}</h1>
|
|
|
|
|
|
|
|
<em>{{ tab['desc'] }}</em>
|
|
|
|
</summary>
|
|
|
|
|
|
|
|
{% include tab['controller']['_template'] with tab['controller'] only %}
|
|
|
|
|
|
|
|
{# <a href="{{ path(tab['route']) }}"
|
|
|
|
class='hover-effect {{ active(tab['route']) }}'>{{ tab['title'] }}</a> #}
|
|
|
|
|
|
|
|
</details>
|
2021-07-28 20:16:27 +01:00
|
|
|
</li>
|
2021-07-29 20:20:32 +01:00
|
|
|
|
|
|
|
<hr>
|
2021-07-28 20:16:27 +01:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
</section>
|
|
|
|
</details>
|
|
|
|
</li>
|
|
|
|
|
2021-07-29 17:29:25 +01:00
|
|
|
<hr>
|
|
|
|
|
2021-07-28 20:16:27 +01:00
|
|
|
<li>
|
|
|
|
<details class="section-title-settings">
|
|
|
|
<summary>
|
2021-07-29 17:29:25 +01:00
|
|
|
<h1>Account{{ icon('arrow-down', 'icon icon-details-open') | raw }}</h1>
|
|
|
|
<em>Email, Password and Language</em>
|
2021-07-28 20:16:27 +01:00
|
|
|
</summary>
|
|
|
|
|
|
|
|
<section>
|
2021-07-29 17:29:25 +01:00
|
|
|
{% block form_account %}
|
|
|
|
{% include '/settings/account.html.twig' %}
|
|
|
|
{% endblock %}
|
2021-07-28 20:16:27 +01:00
|
|
|
</section>
|
|
|
|
</details>
|
|
|
|
</li>
|
|
|
|
|
2021-07-29 17:29:25 +01:00
|
|
|
<hr>
|
|
|
|
|
2021-07-28 20:16:27 +01:00
|
|
|
<li>
|
|
|
|
<details class="section-title-settings">
|
|
|
|
<summary>
|
2021-07-29 17:29:25 +01:00
|
|
|
<h1>Notifications{{ icon('arrow-down', 'icon icon-details-open') | raw }}</h1>
|
|
|
|
<em>Enable/disable notifications (Email, XMPP, Replies...)</em>
|
2021-07-28 20:16:27 +01:00
|
|
|
</summary>
|
|
|
|
|
|
|
|
<section>
|
2021-07-29 17:29:25 +01:00
|
|
|
{% block form_notify %}
|
|
|
|
{% include '/settings/notifications.html.twig' %}
|
|
|
|
{% endblock %}
|
2021-07-28 20:16:27 +01:00
|
|
|
</section>
|
|
|
|
</details>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
2020-07-26 16:05:07 +01:00
|
|
|
</div>
|
|
|
|
{% endblock body %}
|
|
|
|
|
|
|
|
{% block javascripts %}{% endblock %}
|