[TWIG] Timeline attachment form restructure

This commit is contained in:
rainydaysavings 2020-08-29 06:22:54 +01:00 committed by Hugo Sales
parent 04f43a9d37
commit 189da22204
Signed by: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0
2 changed files with 16 additions and 1 deletions

View File

@ -48,7 +48,12 @@
</div>
<div class="notice-options">
<div class="attachments">
{{ form_row(post_form.attachments) }}
{{ form_widget(post_form.attachments) }}
<label for="{{ post_form.attachments.vars.id }}">
<svg class="icon icon-attach">
<use xlink:href="#icon-attach"></use>
</svg>
</label>
</div>
<div class="send">
{{ form_row(post_form.send) }}

View File

@ -1,5 +1,15 @@
{% extends '/base.html.twig' %}
{% block stylesheets %}
{{ parent() }}
<link rel='stylesheet' type='text/css' href="{{ asset('assets/css/network/public.css') }}"
media="screen and (min-width: 1300px)">
<link rel='stylesheet' type='text/css' href="{{ asset('assets/css/network/public_mid.css') }}"
media="screen and (max-width: 1300px)">
<link rel='stylesheet' type='text/css' href="{{ asset('assets/css/network/public_small.css') }}"
media="screen and (max-width: 750px)">
{% endblock %}
{% block body %}
<div class="content" style="margin-top: 5em">
<div class="main">