diff --git a/public/assets/css/login/login.css b/public/assets/css/login/login.css index 88e1cb9949..d96877e613 100644 --- a/public/assets/css/login/login.css +++ b/public/assets/css/login/login.css @@ -66,10 +66,3 @@ form button[type=submit]:hover { box-shadow: 0 0px 8px var(--accent); } -#login-notes { - margin: 0px; -} - -#login-main { - border: 0px; -} diff --git a/templates/security/login.html.twig b/templates/security/login.html.twig index 77e7277662..dc06433cbf 100644 --- a/templates/security/login.html.twig +++ b/templates/security/login.html.twig @@ -63,7 +63,83 @@ {% endblock %} {% block body %} - {% include '/security/public_stream.html.twig' with {'page': 'login'} %} -{% endblock %} +
+ {% if post_form is defined %} + {{ form_start(post_form) }} +
+
+
+ {{ form_label(post_form.to) }} +
+
+ {{ form_widget(post_form.to) }} +
+
+
+
+ {{ form_row(post_form.visibility) }} +
+
+
+ {{ form_row(post_form.content) }} +
+
+
+
+ {{ form_widget(post_form.attachments) }} + +
+
+ {{ form_row(post_form.post) }} +
+
+
+
+ {{ form_end(post_form) }} + {% endif %} +
+ +
+ +
+
+ {% if notes is defined and notes is not empty %} + {% for note in notes %} + {% set id = note.getId() - 1 %} + {% include '/note/view.html.twig' with {'note': note, 'have_user': have_user} only %} + {% endfor %} + {% else %} +

{% trans %}No notes here.{% endtrans %}

+ {% endif %} +
+
+
+
+
+{% endblock body %} {% block javascripts %}{% endblock %} diff --git a/templates/security/register.html.twig b/templates/security/register.html.twig index 26efe231cf..0b8888e7d9 100644 --- a/templates/security/register.html.twig +++ b/templates/security/register.html.twig @@ -39,7 +39,83 @@ {% endblock %} {% block body %} - {% include '/security/public_stream.html.twig' with {'page': 'register'} %} -{% endblock %} +
+ {% if post_form is defined %} + {{ form_start(post_form) }} +
+
+
+ {{ form_label(post_form.to) }} +
+
+ {{ form_widget(post_form.to) }} +
+
+
+
+ {{ form_row(post_form.visibility) }} +
+
+
+ {{ form_row(post_form.content) }} +
+
+
+
+ {{ form_widget(post_form.attachments) }} + +
+
+ {{ form_row(post_form.post) }} +
+
+
+
+ {{ form_end(post_form) }} + {% endif %} +
+ +
+ +
+
+ {% if notes is defined and notes is not empty %} + {% for note in notes %} + {% set id = note.getId() - 1 %} + {% include '/note/view.html.twig' with {'note': note, 'have_user': have_user} only %} + {% endfor %} + {% else %} +

{% trans %}No notes here.{% endtrans %}

+ {% endif %} +
+
+
+
+
+{% endblock body %} {% block javascripts %}{% endblock %}