Browse Source

Formatting fixes.

pull/378/head
Sebastian Stehle 7 years ago
parent
commit
e1a75a8f6a
  1. 27
      src/Squidex/Areas/IdentityServer/Views/Account/Login.cshtml

27
src/Squidex/Areas/IdentityServer/Views/Account/Login.cshtml

@ -53,22 +53,22 @@
{ {
if (Model.IsLogin) if (Model.IsLogin)
{ {
if (Model.IsFailed) if (Model.IsFailed)
{ {
<div class="form-alert form-alert-error">Email or password not correct.</div> <div class="form-alert form-alert-error">Email or password not correct.</div>
} }
<form asp-controller="Account" asp-action="Login" asp-route-returnurl="@Model.ReturnUrl" method="post"> <form asp-controller="Account" asp-action="Login" asp-route-returnurl="@Model.ReturnUrl" method="post">
<div class="form-group"> <div class="form-group">
<input type="email" class="form-control" name="email" id="email" placeholder="Enter Email" /> <input type="email" class="form-control" name="email" id="email" placeholder="Enter Email" />
</div> </div>
<div class="form-group"> <div class="form-group">
<input type="password" class="form-control" name="password" id="password" placeholder="Enter Password" /> <input type="password" class="form-control" name="password" id="password" placeholder="Enter Password" />
</div> </div>
<button type="submit" class="btn btn-block btn-primary">@type</button> <button type="submit" class="btn btn-block btn-primary">@type</button>
</form> </form>
} }
else else
{ {
@ -95,7 +95,6 @@ else
var redirectButtons = document.getElementsByClassName("redirect-button"); var redirectButtons = document.getElementsByClassName("redirect-button");
if (redirectButtons.length === 1) { if (redirectButtons.length === 1) {
debugger;
redirectButtons[0].click(); redirectButtons[0].click();
} }
</script> </script>

Loading…
Cancel
Save