[TWIG] Timeline template rework

This commit is contained in:
rainydaysavings 2020-08-28 07:19:59 +01:00 committed by Hugo Sales
parent 7bc62868f7
commit 522f40ca2f
Signed by: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0

View File

@ -29,12 +29,23 @@
{% if post_form is defined %}
{{ form_start(post_form) }}
<div class="create-notice">
<div class="scope">
{{ form_row(post_form.scope) }}
<div class="target">
<div class="target-top">
{{ form_label(post_form.to) }}
</div>
<div class="target-bot">
{{ form_widget(post_form.to) }}
</div>
</div>
<div class="create-right">
<div class="scope">
{{ form_row(post_form.visibility) }}
</div>
<div class="input-wrapper">
<div class="content-input">
{{ form_row(post_form.content) }}
</div>
</div>
<div class="notice-options">
<div class="attachments">
{{ form_row(post_form.attachments) }}
@ -44,6 +55,7 @@
</div>
</div>
</div>
</div>
{{ form_end(post_form) }}
{% endif %}
<div class="main">
@ -52,12 +64,6 @@
<li>
<a href="{{ path('main_all') }}" class='hover-effect {{ active('main_all') }}'>Timeline</a>
</li>
<li>
<a href="#">Groups</a>
</li>
<li>
<a href="#">People</a>
</li>
</ul>
</nav>
<div class="notes-wrap">
@ -67,7 +73,7 @@
<a href="{{ path('main_all') }}" class='hover-effect {{ active('main_all') }}'>Public</a>
</li>
<li>
<a href="#">Home</a>
<a href="{{ path("home_all", {'nickname' : user_nickname}) }}" class='hover-effect {{ active("home_all") }}'>Home</a>
</li>
<li>
<a href="#">Network</a>