2021-09-20 06:16:48 +00:00
|
|
|
@{
|
2021-09-20 09:41:19 +00:00
|
|
|
ViewData["Title"] = "Welcome";
|
2021-09-20 06:16:48 +00:00
|
|
|
}
|
|
|
|
|
2021-09-20 09:41:19 +00:00
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
<div class="card-body col-md-6">
|
|
|
|
<div class="container jumbotron">
|
|
|
|
<h3>AutoRouter Login</h3>
|
|
|
|
|
|
|
|
<br />
|
|
|
|
<br />
|
|
|
|
|
2021-10-31 18:58:30 +00:00
|
|
|
<form asp-controller="User" asp-action="Login">
|
2021-09-20 09:41:19 +00:00
|
|
|
<div class="form-group">
|
|
|
|
<input type="text" class="form-control" placeholder="E-Mail" name="email" value="@TempData["email"]">
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<input type="password" class="form-control" placeholder="Password" name="password">
|
|
|
|
</div>
|
|
|
|
<button type="submit" class="btn btn-secondary">Login</button>
|
|
|
|
|
|
|
|
@{
|
|
|
|
if (TempData["Error"] != null)
|
|
|
|
{//If an error has been flagged, information will be displayed to the user
|
|
|
|
|
|
|
|
<br />
|
|
|
|
<br />
|
|
|
|
|
|
|
|
<div class="alert alert-danger">
|
|
|
|
<strong>Warning!</strong> @TempData["Error"] <button type='button' class='close' data-dismiss='alert' aria-hidden='true' />×
|
|
|
|
</div>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2021-09-20 09:49:54 +00:00
|
|
|
<div class="card-body mh-100 bg-warning col-md-6">
|
|
|
|
<img src="/images/MainImage.png" width="100%" height="100%" style="object-fit: cover;">
|
2021-09-20 09:41:19 +00:00
|
|
|
</div>
|
|
|
|
|
2021-09-20 06:16:48 +00:00
|
|
|
</div>
|