File tree Expand file tree Collapse file tree 5 files changed +17
-12
lines changed Expand file tree Collapse file tree 5 files changed +17
-12
lines changed Original file line number Diff line number Diff line change 44
44
45
45
< div class ="flex flex-col gap-3 mt-6 ">
46
46
{% component "unfold/components/button.html" with submit=1 variant="primary" class="submit-row w-full" %}
47
- {% translate 'Log in' %} < span class ="material-symbols-outlined ml-2 relative right-0 transition-all group-hover:-right-1 "> arrow_forward</ span >
47
+ {% translate 'Log in' %} < span class ="material-symbols-outlined relative right-0 transition-all group-hover:-right-1 text-sm "> arrow_forward</ span >
48
48
{% endcomponent %}
49
49
50
50
{% url 'admin_password_reset' as password_reset_url %}
Original file line number Diff line number Diff line change 1
- {% extends " unfold/layouts/skeleton .html" %}
1
+ {% extends ' unfold/layouts/unauthenticated .html' %}
2
2
3
- {% load i18n %}
3
+ {% load i18n unfold %}
4
4
5
- {% block base %}
5
+ {% block title %}
6
+ {{ title }} | {{ site_title }}
7
+ {% endblock %}
8
+
9
+ {% block content %}
6
10
< div id ="page " class ="bg-white flex min-h-screen dark:bg-base-900 ">
7
11
< div class ="flex grow items-center justify-center mx-auto px-4 ">
8
12
< div class ="w-full sm:w-96 ">
@@ -11,12 +15,13 @@ <h1 class="font-semibold mb-4 text-font-important-light text-xl tracking-tight d
11
15
</ h1 >
12
16
13
17
< p class ="leading-relaxed mb-10 ">
14
- {% translate "Thanks for spending some quality time with the web site today." %}
18
+ {% trans "Thanks for spending some quality time with the web site today." %}
15
19
</ p >
16
20
17
- < a href ="{% url "admin:index " %}" class="bg-primary-600 block border border-transparent font-semibold py-2 rounded-default text-sm text-center text-white w-full ">
18
- {% translate "Log in again" %}
19
- </ a >
21
+ {% url "admin:index" as login_url %}
22
+ {% component "unfold/components/button.html" with href=login_url variant="primary" class="w-full" %}
23
+ {% trans "Log in again" %} < span class ="material-symbols-outlined relative right-0 transition-all group-hover:-right-1 text-sm "> arrow_forward</ span >
24
+ {% endcomponent %}
20
25
</ div >
21
26
</ div >
22
27
</ div >
Original file line number Diff line number Diff line change 2
2
3
3
< div class ="absolute flex flex-row items-center justify-between left-0 m-4 right-0 top-0 ">
4
4
{% if site_url %}
5
- < a href ="{{ site_url }} " class ="flex font-medium items-center text-sm text-primary-600 dark:text-primary-500 ">
6
- < span class ="material-symbols-outlined mr-2 "> arrow_back</ span > {% trans 'Return to site' %}
5
+ < a href ="{{ site_url }} " class ="flex font-medium gap-2 group items-center text-sm text-primary-600 dark:text-primary-500 ">
6
+ < span class ="material-symbols-outlined left-0 relative text-sm transition-all group-hover:-left-1 "> arrow_back</ span > {% trans 'Return to site' %}
7
7
</ a >
8
8
{% endif %}
9
9
Original file line number Diff line number Diff line change @@ -6,6 +6,6 @@ <h1 class="font-semibold">
6
6
< span class ="block text-font-important-light dark:text-font-important-dark "> {{ subtitle }} </ span >
7
7
{% endif %}
8
8
9
- < span class ="block text-primary-600 text-xl dark:text-primary-500 "> {{ title }}</ span >
9
+ < span class ="block font-semibold text-primary-600 tracking-tight text-xl dark:text-primary-500 "> {{ title }}</ span >
10
10
</ h1 >
11
11
</ div >
You can’t perform that action at this time.
0 commit comments