[frontend/pages] Add links between login and register pages
This commit is contained in:
parent
ca567e4aba
commit
c7498696b4
4 changed files with 11 additions and 1 deletions
|
@ -27,6 +27,7 @@
|
|||
required="required"
|
||||
@bind="@Password"/>
|
||||
<button class="button" @onclick="Submit" disabled="@Loading">@Loc["Login"]</button>
|
||||
<a class="register-link" href="/register">@Loc["Register a new account"]</a>
|
||||
</div>
|
||||
|
||||
@if (Loading)
|
||||
|
|
|
@ -100,3 +100,7 @@
|
|||
transition: border-color 250ms;
|
||||
border-color: var(--notice-color);
|
||||
}
|
||||
|
||||
.register-link {
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
|
|
@ -45,6 +45,7 @@
|
|||
{
|
||||
<div>@Loc["Registrations for this instance are closed."]</div>
|
||||
}
|
||||
<a class="login-link" href="/login">@Loc["Login to an existing account"]</a>
|
||||
</div>
|
||||
}
|
||||
|
||||
|
|
|
@ -18,3 +18,7 @@ input:invalid {
|
|||
.logo {
|
||||
height: 3rem;
|
||||
}
|
||||
|
||||
.login-link {
|
||||
margin-top: 2rem;
|
||||
}
|
Loading…
Add table
Reference in a new issue