je suis pas encore sur de comment faire pour lié l'authentification au projet principales
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
4d11e05410
commit
597baaccba
@ -1,27 +0,0 @@
|
||||
@page "/login"
|
||||
@layout AuthLayout
|
||||
|
||||
<h1 class="h2 font-weight-normal login-title">
|
||||
Login
|
||||
</h1>
|
||||
|
||||
<EditForm class="form-signin" OnValidSubmit="OnSubmit" Model="loginRequest">
|
||||
<DataAnnotationsValidator />
|
||||
|
||||
<label for="inputUsername" class="sr-only">User Name</label>
|
||||
<InputText id="inputUsername" class="form-control" @bind-Value="loginRequest.UserName" autofocus placeholder="Username" />
|
||||
<ValidationMessage For="@(() => loginRequest.UserName)" />
|
||||
|
||||
<label for="inputPassword" class="sr-only">Password</label>
|
||||
<InputText type="password" id="inputPassword" class="form-control" placeholder="Password" @bind-Value="loginRequest.Password" />
|
||||
<ValidationMessage For="@(() => loginRequest.Password)" />
|
||||
|
||||
<button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
|
||||
|
||||
<label class="text-danger">@error</label>
|
||||
|
||||
<NavLink href="register">
|
||||
<h6 class="font-weight-normal text-center">Create account</h6>
|
||||
</NavLink>
|
||||
</EditForm>
|
||||
|
@ -1,29 +0,0 @@
|
||||
@page "/register"
|
||||
@layout AuthLayout
|
||||
|
||||
<h1 class="h2 font-weight-normal login-title">
|
||||
Register
|
||||
</h1>
|
||||
|
||||
<EditForm class="form-signin" OnValidSubmit="OnSubmit" Model="registerRequest">
|
||||
<DataAnnotationsValidator />
|
||||
|
||||
<label for="inputUsername" class="sr-only">User Name</label>
|
||||
<InputText id="inputUsername" class="form-control" placeholder="Username" autofocus @bind-Value="@registerRequest.UserName" />
|
||||
<ValidationMessage For="@(() => registerRequest.UserName)" />
|
||||
|
||||
<label for="inputPassword" class="sr-only">Password</label>
|
||||
<InputText type="password" id="inputPassword" class="form-control" placeholder="Password" @bind-Value="@registerRequest.Password" />
|
||||
<ValidationMessage For="@(() => registerRequest.Password)" />
|
||||
|
||||
<label for="inputPasswordConfirm" class="sr-only">Password Confirmation</label>
|
||||
<InputText type="password" id="inputPasswordConfirm" class="form-control" placeholder="Password Confirmation" @bind-Value="@registerRequest.PasswordConfirm" />
|
||||
<ValidationMessage For="@(() => registerRequest.PasswordConfirm)" />
|
||||
|
||||
<button class="btn btn-lg btn-primary btn-block" type="submit">Create account</button>
|
||||
|
||||
<label class="text-danger">@error</label>
|
||||
<NavLink href="login">
|
||||
<h6 class="font-weight-normal text-center">Already have an account? Click here to login</h6>
|
||||
</NavLink>
|
||||
</EditForm>
|
@ -1,6 +0,0 @@
|
||||
@inherits LayoutComponentBase
|
||||
<div class="main">
|
||||
<div class="content px-4">
|
||||
@Body
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in new issue