2021-04-29 20:51:13 +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-28 20:16:27 +01:00
|
|
|
<nav class='main-nav'>
|
|
|
|
<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>
|
|
|
|
<a href="{{ path('settings_personal_info') }}"
|
|
|
|
class='hover-effect {{ active('settings_personal_info') }}'>Personal Info</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="{{ path('settings_avatar') }}"
|
|
|
|
class='hover-effect {{ active('settings_avatar') }}'>Avatar</a>
|
|
|
|
</li>
|
|
|
|
{% for tab in profile_tabs %}
|
|
|
|
<li>
|
|
|
|
<a href="{{ path(tab['route']) }}"
|
|
|
|
class='hover-effect {{ active(tab['route']) }}'>{{ tab['title'] }}</a>
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
</section>
|
|
|
|
</details>
|
|
|
|
{# <a href="{{ path('settings_personal_info') }}" #}
|
|
|
|
{# class='hover-effect {{ active('settings_personal_info', 'settings_avatar', 'settings_profile_') }}'>Profile</a> #}
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li>
|
|
|
|
<details class="section-title-settings">
|
|
|
|
<summary>
|
2021-04-30 02:51:03 +01:00
|
|
|
<a href="{{ path('settings_account') }}"
|
2021-07-28 20:16:27 +01:00
|
|
|
class='hover-effect {{ active('settings_account') }}'>
|
|
|
|
<h1>Account</h1>
|
|
|
|
<em>Email, Password and Language</em>
|
|
|
|
</a>
|
|
|
|
</summary>
|
|
|
|
|
|
|
|
<section>
|
|
|
|
|
|
|
|
</section>
|
|
|
|
</details>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li>
|
|
|
|
<details class="section-title-settings">
|
|
|
|
<summary>
|
2021-04-30 02:51:03 +01:00
|
|
|
<a href="{{ path('settings_notifications') }}"
|
2021-07-28 20:16:27 +01:00
|
|
|
class='hover-effect {{ active('settings_notifications') }}'>
|
|
|
|
<h1>Notifications</h1>
|
|
|
|
<em>Enable/disable notifications (Email, XMPP, Replies...)</em>
|
|
|
|
</a>
|
|
|
|
</summary>
|
|
|
|
|
|
|
|
<section>
|
|
|
|
|
|
|
|
</section>
|
|
|
|
</details>
|
|
|
|
{# <a href="{{ path('settings_notifications') }}"
|
|
|
|
class='hover-effect {{ active('settings_notifications') }}'>Notifications</a> #}
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
{% block form %}
|
|
|
|
{% endblock %}
|
2020-07-26 16:05:07 +01:00
|
|
|
</div>
|
|
|
|
{% endblock body %}
|
|
|
|
|
|
|
|
{% block javascripts %}{% endblock %}
|