34 lines
1.3 KiB
Plaintext
34 lines
1.3 KiB
Plaintext
@model MyDarling.Models.LoginModel
|
|
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<meta name="viewport" content="width=device-width" />
|
|
<title>Login Page</title>
|
|
<link href="/lib/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
|
|
</head>
|
|
|
|
<body>
|
|
<div class="container-fluid">
|
|
<div class="form-outline d-flex flex-column min-vh-100 justify-content-center align-items-center">
|
|
<form asp-action="Login" asp-controller="Account" method="post">
|
|
<input type="hidden" asp-for="ReturnUrl" />
|
|
<div class="form-group">
|
|
<label asp-for="Name"></label>
|
|
<div asp-validation-for="Name" class="text-danger"></div>
|
|
<input name="Name" class="form-control" value="@Model.Name" />
|
|
</div>
|
|
<div class="form-group">
|
|
<label asp-for="Password"></label>
|
|
<div asp-validation-for="Password" class="text-danger"></div>
|
|
<input name="Password" type="password" class="form-control" value="@Model.Password" />
|
|
</div>
|
|
<div class="text-center">
|
|
<button class="btn btn-primary mt-4 text-center" type="submit">Log In</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
|
|
</html> |