2021-07-30 01:29:25 +09:00
|
|
|
{% extends '/stdgrid.html.twig' %}
|
2020-07-27 00:05:07 +09:00
|
|
|
|
|
|
|
{% block meta %}
|
|
|
|
{{ parent() }}
|
2021-07-29 04:16:27 +09:00
|
|
|
<link href="{{ asset('assets/icons/arrow-down.svg.twig') }}" rel="icon"/>
|
2020-07-27 00:05:07 +09:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block title %}{% endblock %}
|
|
|
|
|
|
|
|
{% block stylesheets %}
|
|
|
|
{{ parent() }}
|
2021-07-29 04:16:27 +09:00
|
|
|
<link rel='stylesheet' type='text/css' href="{{ asset('assets/css/settings/settings.css') }}">
|
2020-07-27 00:05:07 +09:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block header %}
|
|
|
|
{{ parent() }}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block body %}
|
2021-09-17 09:08:24 +09:00
|
|
|
<nav class='main-nav'>
|
2021-08-09 21:25:08 +09:00
|
|
|
<h1>Settings</h1>
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<details class="section-title-settings">
|
2021-09-17 09:08:24 +09:00
|
|
|
<summary>
|
|
|
|
<h2>Profile {{ icon('arrow-down', 'icon icon-details-open') | raw }}</h2>
|
|
|
|
<em>Personal Information, Avatar and Profile</em>
|
|
|
|
</summary>
|
|
|
|
|
|
|
|
<section>
|
|
|
|
<nav class='set-nav'>
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<details class="section-title-settings">
|
|
|
|
<summary>
|
|
|
|
<h3>Personal Info{{ icon('arrow-down', 'icon icon-details-open') | raw }}</h3>
|
|
|
|
<em>Nickname, Homepage, Bio, Self Tags and more.</em>
|
|
|
|
</summary>
|
|
|
|
|
|
|
|
{% block form_profile %}{% include '/settings/profile.html.twig' %}{% endblock %}
|
|
|
|
</details>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
{% set profile_tabs = handle_event('PopulateProfileSettingsTabs', app.request) %}
|
|
|
|
{% for tab in profile_tabs %}
|
|
|
|
<li>
|
|
|
|
<details class="section-title-settings">
|
|
|
|
<summary>
|
|
|
|
<h3>{{ tab['title'] }}{{ icon('arrow-down', 'icon icon-details-open') | raw }}</h3>
|
|
|
|
<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>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
</section>
|
2021-08-09 21:25:08 +09:00
|
|
|
</details>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
<li>
|
|
|
|
<details class="section-title-settings">
|
|
|
|
<summary>
|
2021-08-11 05:05:47 +09:00
|
|
|
<h2>Account{{ icon('arrow-down', 'icon icon-details-open') | raw }}</h2>
|
2021-08-09 21:25:08 +09:00
|
|
|
<em>Email, Password and Language</em>
|
|
|
|
</summary>
|
|
|
|
|
|
|
|
<section>
|
|
|
|
{% block form_account %}
|
|
|
|
{% include '/settings/account.html.twig' %}
|
|
|
|
{% endblock %}
|
|
|
|
</section>
|
|
|
|
</details>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
<li>
|
|
|
|
<details class="section-title-settings">
|
|
|
|
<summary>
|
2021-08-11 05:05:47 +09:00
|
|
|
<h2>Notifications{{ icon('arrow-down', 'icon icon-details-open') | raw }}</h2>
|
2021-08-09 21:25:08 +09:00
|
|
|
<em>Enable/disable notifications (Email, XMPP, Replies...)</em>
|
|
|
|
</summary>
|
|
|
|
|
|
|
|
<section>
|
|
|
|
{% block form_notify %}
|
|
|
|
{% include '/settings/notifications.html.twig' %}
|
|
|
|
{% endblock %}
|
|
|
|
</section>
|
|
|
|
</details>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
2020-07-27 00:05:07 +09:00
|
|
|
{% endblock body %}
|
|
|
|
|
|
|
|
{% block javascripts %}{% endblock %}
|