forked from GNUsocial/gnu-social
Eliseu Amaro
ee04571f4d
Widgets shouldn't have a header element from here forward, since their location varies
23 lines
1009 B
Twig
23 lines
1009 B
Twig
{% extends 'base.html.twig' %}
|
|
|
|
{% import 'settings/macros.html.twig' as macros %}
|
|
|
|
{% block stylesheets %}
|
|
{{ parent() }}
|
|
<link rel="preload" href="{{ asset('assets/default_theme/css/pages/settings.css') }}" as="style" type="text/css">
|
|
<link rel="stylesheet" href="{{ asset('assets/default_theme/css/pages/settings.css') }}">
|
|
{% endblock stylesheets %}
|
|
|
|
{% block body %}
|
|
<nav class='section-settings'>
|
|
<h1>Settings</h1>
|
|
<ul>
|
|
<li>
|
|
{% set profile_tabs = [{'title': 'Personal Info', 'desc': 'Nickname, Homepage, Bio, Self Tags and more.', 'id': 'settings-personal-info', 'form': personal_info_form}] %}
|
|
{% set profile_tabs = profile_tabs|merge(handle_event('PopulateSettingsTabs', app.request, 'profile')) %}
|
|
{{ macros.settings_details_container('Profile', 'Personal Information, Avatar and Profile', 'settings-profile-details', profile_tabs, _context) }}
|
|
</li>
|
|
</ul>
|
|
</nav>
|
|
{% endblock body %}
|