feat: added browser reload and styling

This commit is contained in:
Pablo Moreno
2025-01-15 01:11:42 +01:00
parent 7b546a1d2f
commit edce4d6d59
8 changed files with 35 additions and 23 deletions
+3 -3
View File
@@ -8,9 +8,9 @@ class LoginForm(AuthenticationForm):
widget=forms.TextInput(
attrs={
"autofocus": True,
"class": "my-2 bg-gray-50 border border-gray-300 text-gray-900 sm:text-sm rounded-lg focus:ring-primary-600"
"class": "my-2 bg-gray-50 border border-gray-300 text-gray-900 sm:text-sm rounded-lg focus:ring-primary-600 "
"focus:border-primary-600 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600"
"dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
"dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500",
}
)
)
@@ -22,7 +22,7 @@ class LoginForm(AuthenticationForm):
"autocomplete": "current-password",
"class": "my-2 bg-gray-50 border border-gray-300 text-gray-900 sm:text-sm rounded-lg focus:ring-primary-600 "
"focus:border-primary-600 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 "
"dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
"dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500",
}
),
)