patch: login/register styles
This commit is contained in:
@@ -3,8 +3,8 @@
|
|||||||
{% block title %}Log in — Torsearch{% endblock %}
|
{% block title %}Log in — Torsearch{% endblock %}
|
||||||
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
<div class="flex flex-col bg-orange-500 p-4 rounded-lg gap-2 min-w-96">
|
<div class="flex flex-col bg-orange-500 bg-opacity-60 border-orange-500 border-2 p-4 rounded-lg gap-2 min-w-96 text-gray-50">
|
||||||
<h2 class="text-xl text-gray-50">Login</h2>
|
<h2 class="text-xl font-bold">Login</h2>
|
||||||
<form method="post" class="flex flex-col gap-2">
|
<form method="post" class="flex flex-col gap-2">
|
||||||
{% if error %}
|
{% if error %}
|
||||||
<div class="bg-red-400 border-red-600 rounded p-2 text-red-600">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
|
<div class="bg-red-400 border-red-600 rounded p-2 text-red-600">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<label for="username" class="mb-2 flex flex-col text-gray-950">
|
<label for="username" class="mb-2 flex flex-col">
|
||||||
Email
|
Email
|
||||||
<input type="email"
|
<input type="email"
|
||||||
value="{{ last_username }}"
|
value="{{ last_username }}"
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
required autofocus>
|
required autofocus>
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<label for="password" class="mb-2 flex flex-col text-gray-950">
|
<label for="password" class="mb-2 flex flex-col">
|
||||||
Password
|
Password
|
||||||
<input type="password"
|
<input type="password"
|
||||||
name="_password"
|
name="_password"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
{% block title %}Register{% endblock %}
|
{% block title %}Register{% endblock %}
|
||||||
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
<div class="flex flex-col bg-orange-500 p-4 rounded-lg gap-2 min-w-96">
|
<div class="flex flex-col bg-orange-500 bg-opacity-60 p-4 rounded-lg gap-2 min-w-96 border-orange-500 border-2 text-gray-50">
|
||||||
<h2 class="text-xl text-gray-50">Register</h2>
|
<h2 class="text-xl text-gray-50">Register</h2>
|
||||||
|
|
||||||
{{ form_errors(registrationForm) }}
|
{{ form_errors(registrationForm) }}
|
||||||
@@ -37,7 +37,7 @@
|
|||||||
class="bg-gray-50 text-gray-950 p-1 rounded-md" />
|
class="bg-gray-50 text-gray-950 p-1 rounded-md" />
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<button type="submit" class="bg-green-600 px-1.5 py-1 rounded-md text-gray-50">Register</button>
|
<button type="submit" class="bg-green-600 px-1.5 py-1 w-full rounded-md text-gray-50">Register</button>
|
||||||
{{ form_end(registrationForm) }}
|
{{ form_end(registrationForm) }}
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user