Center login form
This commit is contained in:
parent
1c7e179377
commit
55b30fc75a
@ -9,23 +9,26 @@
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="m-1 p-1">
|
<div class="container-fluid">
|
||||||
<div class="text-danger" asp-validation-summary="All"></div>
|
<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">
|
<form asp-action="Login" asp-controller="Account" method="post">
|
||||||
<input type="hidden" asp-for="ReturnUrl" />
|
<input type="hidden" asp-for="ReturnUrl" />
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label asp-for="Name"></label>
|
<label asp-for="Name"></label>
|
||||||
<div asp-validation-for="Name" class="text-danger"></div>
|
<div asp-validation-for="Name" class="text-danger"></div>
|
||||||
<input name="Name" class="form-control" value="@Model.Name"/>
|
<input name="Name" class="form-control" value="@Model.Name" />
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label asp-for="Password"></label>
|
<label asp-for="Password"></label>
|
||||||
<div asp-validation-for="Password" class="text-danger"></div>
|
<div asp-validation-for="Password" class="text-danger"></div>
|
||||||
<input name="Password" type="password" class="form-control" value="@Model.Password"/>
|
<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>
|
</div>
|
||||||
<button class="btn btn-primary mt-2" type="submit">Log In</button>
|
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue
Block a user