1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-26 12:55:17 +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"; ViewData["Title"] = "Login";
} }
<div class="card w-50 m-auto"> <div class="row justify-content-md-center">
<div class="card-body"> <div class="col col-lg-6 col-md-8">
<p>Please enter your email address below to log in.</p> <div class="card">
<form asp-action="" method="post"> <div class="card-body">
<input type="hidden" asp-for="ReturnUrl" /> <p>Please enter your email address below to log in.</p>
<div asp-validation-summary="ModelOnly" class="text-danger"></div> <form asp-action="" method="post">
<div class="form-group"> <input type="hidden" asp-for="ReturnUrl" />
<label asp-for="Email" class="sr-only">Email Address</label> <div asp-validation-summary="ModelOnly" class="text-danger"></div>
<input asp-for="Email" type="email" class="form-control" placeholder="ex. john@example.com" <div class="form-group">
required autofocus> <label asp-for="Email" class="sr-only">Email Address</label>
<span asp-validation-for="Email" class="invalid-feedback"></span> <input asp-for="Email" type="email" class="form-control" placeholder="ex. john@example.com"
<small class="form-text text-muted">We'll email you a secure login link.</small> 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> </div>
<button class="btn btn-primary" type="submit">Continue</button> </div>
</form>
</div> </div>
</div> </div>