diff --git a/public/assets/css/login/login.css b/public/assets/css/login/login.css index c458bce082..88e1cb9949 100644 --- a/public/assets/css/login/login.css +++ b/public/assets/css/login/login.css @@ -64,4 +64,12 @@ form button[type=submit]:focus, form button[type=submit]:hover { border-radius: var(--unit-size); box-shadow: 0 0px 8px var(--accent); -} \ No newline at end of file +} + +#login-notes { + margin: 0px; +} + +#login-main { + border: 0px; +} diff --git a/templates/security/login.html.twig b/templates/security/login.html.twig index 5bfea54f51..c0139d7dfb 100644 --- a/templates/security/login.html.twig +++ b/templates/security/login.html.twig @@ -60,4 +60,72 @@ -{% endblock %} \ No newline at end of file +{% endblock %} + +{% block body %} +
+ {% 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 6009b2fed6..302915de8a 100644 --- a/templates/security/register.html.twig +++ b/templates/security/register.html.twig @@ -37,3 +37,71 @@ {% endblock %} + +{% block body %} +
+ {% 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 %}