Skip to content

Commit

Permalink
Change label to “Last Login”
Browse files Browse the repository at this point in the history
Issue: #39
  • Loading branch information
gregnewman committed Aug 25, 2023
1 parent 192da31 commit 3008ea5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion templates/account/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ <h2 class="text-xl text-center mb-11">Log in with one of your existing third par

<div class="w-full md:w-1/2">
<h2 class="text-xl text-center items-center">
Or Log In with Email <span x-cloak class="text-xs bg-emerald-400 text-white rounded px-1 ml-2" x-show='loginMethod === "\"email\""'>Last Used</span>
Or Log In with Email <span x-cloak class="text-xs bg-emerald-400 text-white rounded px-1 ml-2" x-show='loginMethod === "\"email\""'>Last Login</span>
</h2>
<form class="login"
method="POST"
Expand Down
4 changes: 2 additions & 2 deletions templates/socialaccount/snippets/provider_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
class="relative w-2/3 mx-auto block px-8 py-3 text-base font-medium rounded-md border border-orange !text-white hover:!text-white bg-orange hover:bg-orange/80 dark:bg-slate dark:hover:bg-charcoal hover:drop-shadow-md md:py-4 md:text-lg md:px-10 {{provider.id}}"
href="{% provider_login_url provider.id process=process scope=scope auth_params=auth_params %}"
>
<span x-cloak class="absolute right-1 top-1 text-xs bg-white text-orange rounded p-1" x-show='loginMethod === "\"GitHub\""'>Last Used</span>
<span x-cloak class="absolute right-1 top-1 text-xs bg-white text-orange rounded p-1" x-show='loginMethod === "\"GitHub\""'>Last Login</span>
<i class="fab fa-github"></i>
Use {{provider.name}}
</a>
Expand All @@ -26,7 +26,7 @@
class="relative w-2/3 mx-auto block px-8 py-3 text-base font-medium rounded-md border border-orange !text-white hover:!text-white bg-orange hover:bg-orange/80 dark:bg-slate dark:hover:bg-charcoal hover:drop-shadow-md md:py-4 md:text-lg md:px-10 {{provider.id}}"
href="{% provider_login_url provider.id process=process scope=scope auth_params=auth_params %}"
>
<span x-cloak class="absolute right-1 top-1 text-xs bg-white text-orange rounded p-1" x-show='loginMethod === "\"Google\""'>Last Used</span>
<span x-cloak class="absolute right-1 top-1 text-xs bg-white text-orange rounded p-1" x-show='loginMethod === "\"Google\""'>Last Login</span>
<i class="fab fa-google"></i>
Use {{provider.name}}
</a>
Expand Down

0 comments on commit 3008ea5

Please sign in to comment.