[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"
|
required="required"
|
||||||
@bind="@Password"/>
|
@bind="@Password"/>
|
||||||
<button class="button" @onclick="Submit" disabled="@Loading">@Loc["Login"]</button>
|
<button class="button" @onclick="Submit" disabled="@Loading">@Loc["Login"]</button>
|
||||||
|
<a class="register-link" href="/register">@Loc["Register a new account"]</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@if (Loading)
|
@if (Loading)
|
||||||
|
|
|
@ -100,3 +100,7 @@
|
||||||
transition: border-color 250ms;
|
transition: border-color 250ms;
|
||||||
border-color: var(--notice-color);
|
border-color: var(--notice-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.register-link {
|
||||||
|
margin-top: 2rem;
|
||||||
|
}
|
||||||
|
|
|
@ -45,6 +45,7 @@
|
||||||
{
|
{
|
||||||
<div>@Loc["Registrations for this instance are closed."]</div>
|
<div>@Loc["Registrations for this instance are closed."]</div>
|
||||||
}
|
}
|
||||||
|
<a class="login-link" href="/login">@Loc["Login to an existing account"]</a>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -18,3 +18,7 @@ input:invalid {
|
||||||
.logo {
|
.logo {
|
||||||
height: 3rem;
|
height: 3rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.login-link {
|
||||||
|
margin-top: 2rem;
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue