1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-22 12:15:36 +01:00

better styling for login card

This commit is contained in:
Kyle Spearrin 2018-03-23 15:57:36 -04:00
parent bbaafab04b
commit c9fdec55b5

View File

@ -3,21 +3,24 @@
ViewData["Title"] = "Login";
}
<div class="card w-50 m-auto">
<div class="card-body">
<p>Please enter your email address below to log in.</p>
<form asp-action="" method="post">
<input type="hidden" asp-for="ReturnUrl" />
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
<div class="form-group">
<label asp-for="Email" class="sr-only">Email Address</label>
<input asp-for="Email" type="email" class="form-control" placeholder="ex. john@example.com"
required autofocus>
<span asp-validation-for="Email" class="invalid-feedback"></span>
<small class="form-text text-muted">We'll email you a secure login link.</small>
<div class="row justify-content-md-center">
<div class="col col-lg-6 col-md-8">
<div class="card">
<div class="card-body">
<p>Please enter your email address below to log in.</p>
<form asp-action="" method="post">
<input type="hidden" asp-for="ReturnUrl" />
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
<div class="form-group">
<label asp-for="Email" class="sr-only">Email Address</label>
<input asp-for="Email" type="email" class="form-control" placeholder="ex. john@example.com"
required autofocus>
<span asp-validation-for="Email" class="invalid-feedback"></span>
<small class="form-text text-muted">We'll email you a secure login link.</small>
</div>
<button class="btn btn-primary" type="submit">Continue</button>
</form>
</div>
<button class="btn btn-primary" type="submit">Continue</button>
</form>
</div>
</div>
</div>