2021-08-29 05:23:25 +09:00
|
|
|
<div class="panel panel-left">
|
2021-09-07 23:59:19 +09:00
|
|
|
<input type="checkbox" id="panel-left-toggle" aria-hidden="true" tabindex="-1">
|
|
|
|
<label id="panel-left-icon" for="panel-left-toggle" aria-hidden="true" tabindex="-1">{{ icon('menu', 'icon icon-left') | raw }}</label>
|
2021-07-24 03:28:11 +09:00
|
|
|
|
2021-09-07 23:59:19 +09:00
|
|
|
<a id="anchor-left-panel" class="anchor-hidden" title="{{ 'Press tab to access selected region!' | trans }}"></a>
|
2021-09-09 01:27:28 +09:00
|
|
|
<aside class="panel-content accessibility-target">
|
2021-08-31 05:01:32 +09:00
|
|
|
{% if app.user %}
|
2021-09-17 00:27:28 +09:00
|
|
|
<section class='section-widget section-widget-padded' title="{{ 'Your profile information.' | trans }}">
|
2021-09-20 22:38:39 +09:00
|
|
|
|
2021-09-22 22:10:36 +09:00
|
|
|
{% block profile_view %}{% include 'cards/profile/view.html.twig' with { actor: current_actor } %}{% endblock profile_view %}
|
2021-09-20 22:38:39 +09:00
|
|
|
|
2021-09-17 00:27:28 +09:00
|
|
|
<nav tabindex="0" class="profile-navigation" title="{{ 'Navigate through account related pages.' | trans }}">
|
|
|
|
<a title='{{ 'Your messages.' | trans }}' href='{{ path('settings') }}' class='{{ active("replies") }}'>
|
|
|
|
Messages
|
|
|
|
</a>
|
2021-09-09 04:09:38 +09:00
|
|
|
|
2021-09-18 15:27:17 +09:00
|
|
|
<a title='{{ 'Replies to your notes.' | trans }}' href="{{ path('replies', {'nickname' : current_actor.getNickname()}) }}" class='{{ active("replies") }}'>
|
2021-09-17 00:27:28 +09:00
|
|
|
Replies
|
|
|
|
</a>
|
2021-09-09 04:09:38 +09:00
|
|
|
|
2021-09-18 15:27:17 +09:00
|
|
|
|
|
|
|
{% for tab in handle_event('AddProfileNavigationItem', {'nickname': current_actor.getNickname()}) %}
|
|
|
|
<a href="{{ tab['path'] }}">
|
|
|
|
{{ tab['title'] }}
|
|
|
|
</a>
|
2021-09-17 00:27:28 +09:00
|
|
|
{% endfor %}
|
2021-09-09 04:09:38 +09:00
|
|
|
|
2021-09-17 00:27:28 +09:00
|
|
|
<a title='{{ 'Access your account settings.' | trans }}' href="{{ path('settings') }}" class='{{ active('settings') }}'>
|
|
|
|
Settings
|
|
|
|
</a>
|
2021-09-09 04:09:38 +09:00
|
|
|
|
2021-09-17 00:27:28 +09:00
|
|
|
<a title='{{ 'Logout from your account.' | trans }}' href='{{ path('logout') }}'>
|
|
|
|
Logout
|
|
|
|
</a>
|
|
|
|
</nav>
|
2021-07-24 03:28:11 +09:00
|
|
|
|
2021-09-17 00:27:28 +09:00
|
|
|
{% else %}
|
2021-09-09 04:09:38 +09:00
|
|
|
|
2021-09-17 00:27:28 +09:00
|
|
|
<section class='section-widget section-widget-padded' title="{{ 'Your profile information.' | trans }}">
|
|
|
|
<h2 class="section-title">Account</h2>
|
|
|
|
<nav tabindex="0" class="profile-navigation" title="{{ 'Navigate through account related pages.' | trans }}">
|
2021-09-09 04:09:38 +09:00
|
|
|
|
2021-09-17 00:27:28 +09:00
|
|
|
<a title='{{ 'Login with your existing account.' | trans }}' href="{{ path('login') }}" class='hover-effect {{ active('login') }}'>
|
|
|
|
Login
|
|
|
|
</a>
|
2021-09-09 04:09:38 +09:00
|
|
|
|
2021-09-17 00:27:28 +09:00
|
|
|
<a title='{{ 'Register a new account!' | trans }}' href="{{ path('register') }}">
|
|
|
|
Register
|
|
|
|
</a>
|
2021-07-25 02:16:27 +09:00
|
|
|
|
2021-09-17 00:27:28 +09:00
|
|
|
</nav>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
</section>
|
2021-07-25 02:16:27 +09:00
|
|
|
|
2021-09-17 00:27:28 +09:00
|
|
|
<section class="section-widget section-widget-padded">
|
|
|
|
<h2 class="section-title">Timeline</h2>
|
|
|
|
<nav class='sec-nav' tabindex="0" title="{{ 'Navigate through each timeline.' | trans }}">
|
2021-09-07 23:59:19 +09:00
|
|
|
<ul>
|
|
|
|
<li>
|
2021-09-09 04:09:38 +09:00
|
|
|
<a href="{{ path('main_public') }}" class='{{ active('main_public') }}'>
|
|
|
|
Public
|
|
|
|
</a>
|
2021-09-07 23:59:19 +09:00
|
|
|
</li>
|
|
|
|
<li>
|
2021-09-18 15:27:17 +09:00
|
|
|
{% if app.user %}
|
|
|
|
<a href="{{ path("home_all", {'nickname' : current_actor.getNickname()}) }}" class='{{ active("home_all") }}'>
|
2021-09-09 04:09:38 +09:00
|
|
|
Home
|
|
|
|
</a>
|
2021-09-07 23:59:19 +09:00
|
|
|
{% endif %}
|
|
|
|
</li>
|
|
|
|
<li>
|
2021-09-09 04:09:38 +09:00
|
|
|
<a href="{{ path('main_all') }}" class='hover-effect {{ active('main_all') }}'>
|
|
|
|
Network
|
|
|
|
</a>
|
2021-09-07 23:59:19 +09:00
|
|
|
</li>
|
2021-07-25 02:16:27 +09:00
|
|
|
|
2021-09-18 15:27:17 +09:00
|
|
|
{% if app.user %}
|
|
|
|
{% for link in handle_event('AddMainNavigationItem', {'nickname': current_actor.getNickname()}) %}
|
2021-09-07 23:59:19 +09:00
|
|
|
<li>
|
2021-09-18 15:27:17 +09:00
|
|
|
<a href="{{ link['path'] }}">
|
|
|
|
{{ link['title'] }}
|
2021-09-09 04:09:38 +09:00
|
|
|
</a>
|
2021-09-07 23:59:19 +09:00
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
</ul>
|
2021-08-31 05:01:32 +09:00
|
|
|
</nav>
|
2021-09-17 00:27:28 +09:00
|
|
|
</section>
|
2021-09-07 23:59:19 +09:00
|
|
|
|
|
|
|
<footer class="footer">
|
|
|
|
<nav>
|
2021-09-09 04:09:38 +09:00
|
|
|
<a href="{{ path('doc_faq') }}" class='hover-effect {{ active('doc_faq') }}'>
|
|
|
|
FAQ
|
|
|
|
</a>
|
|
|
|
<a href="{{ path('doc_tos') }}" class='hover-effect {{ active('doc_tos') }}'>
|
|
|
|
TOS
|
|
|
|
</a>
|
|
|
|
<a href="{{ path('doc_privacy') }}" class='hover-effect {{ active('doc_privacy') }}'>
|
|
|
|
Privacy
|
|
|
|
</a>
|
|
|
|
<a href="{{ path('doc_source') }}" class='hover-effect {{ active('doc_source') }}'>
|
|
|
|
Source
|
|
|
|
</a>
|
|
|
|
<a href="{{ path('doc_version') }}" class='hover-effect {{ active('doc_version') }}'>
|
|
|
|
Version
|
|
|
|
</a>
|
2021-09-07 23:59:19 +09:00
|
|
|
</nav>
|
|
|
|
</footer>
|
2021-08-29 05:23:25 +09:00
|
|
|
</aside>
|
|
|
|
</div>
|