2020-07-24 07:48:49 +09:00
|
|
|
{% extends '/base.html.twig' %}
|
|
|
|
|
|
|
|
{% block stylesheets %}
|
|
|
|
{{ parent() }}
|
|
|
|
<link rel='stylesheet' type='text/css' href="{{ asset('assets/css/left/left.css') }}" media="screen and (min-width: 1300px)">
|
|
|
|
<link rel='stylesheet' type='text/css' href="{{ asset('assets/css/left/left_mid.css') }}" media="screen and (max-width: 1300px)">
|
|
|
|
<link rel='stylesheet' type='text/css' href="{{ asset('assets/css/left/left_small.css') }}" media="screen and (max-width: 750px)">
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block left %}
|
|
|
|
{% if app.user %}
|
|
|
|
<div id='left-panel'>
|
|
|
|
<input type="checkbox" id="toggle">
|
|
|
|
<div class="icon-menu">
|
|
|
|
<label for="toggle" id='menu'></label>
|
|
|
|
</div>
|
|
|
|
<div class='navbar'>
|
2020-07-25 08:34:52 +09:00
|
|
|
<div class="left-nav">
|
|
|
|
<div class='profile'>
|
|
|
|
<svg class="icon icon-avatar">
|
|
|
|
<use xlink:href="#icon-avatar"></use>
|
|
|
|
</svg>
|
|
|
|
<div class="info">
|
|
|
|
<b id="nick">{{ app.user.username }}</b>
|
|
|
|
<div class="tags">
|
|
|
|
<i>coffee addict</i>
|
|
|
|
<i>lazy</i>
|
|
|
|
</div>
|
|
|
|
<div class="stats">
|
|
|
|
<span>
|
|
|
|
<b>1337</b>
|
|
|
|
Followers</span>
|
|
|
|
<span>
|
|
|
|
<b>42</b>
|
|
|
|
Following</span>
|
|
|
|
</div>
|
2020-07-24 07:48:49 +09:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-07-25 08:34:52 +09:00
|
|
|
<a href='#'>Bookmarks</a>
|
|
|
|
<a href='#'>Happenings</a>
|
|
|
|
<a href='#'>Messages</a>
|
|
|
|
<a href='#'>Replies</a>
|
|
|
|
<a href='#'>Favourites</a>
|
|
|
|
<a href='#'>Reverse Favs</a>
|
2020-07-26 09:00:02 +09:00
|
|
|
<a href="{{ path('settings_personal_info') }}" class='hover-effect {% if app.request.attributes.get('_route') starts with 'settings_' %}active{% endif %}'>Settings</a>
|
2020-07-25 08:34:52 +09:00
|
|
|
<a href='#'>Logout</a>
|
|
|
|
</div>
|
|
|
|
<div class="footer">
|
2020-07-25 00:15:01 +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>
|
2020-07-24 07:48:49 +09:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% else %}
|
|
|
|
<div id='left-panel'>
|
|
|
|
<input type="checkbox" id="toggle">
|
|
|
|
<div class="icon-menu">
|
|
|
|
<label for="toggle" id='menu'></label>
|
|
|
|
</div>
|
|
|
|
<div class='navbar'>
|
2020-07-25 07:47:32 +09:00
|
|
|
<div class="left-nav">
|
|
|
|
<a href="{{ path('login') }}" class='hover-effect {{ active('login') }}'>Login</a>
|
2020-07-26 09:00:02 +09:00
|
|
|
<a href="{{ path('register') }}">Register</a>
|
2020-07-25 07:47:32 +09:00
|
|
|
</div>
|
|
|
|
<div class="footer">
|
2020-07-25 08:34:52 +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>
|
2020-07-25 07:47:32 +09:00
|
|
|
</div>
|
2020-07-24 07:48:49 +09:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
2020-07-26 09:00:02 +09:00
|
|
|
{% endblock %}
|