diff options
| author | Michael <[email protected]> | 2017-03-20 16:45:17 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-03-20 16:45:17 -0400 |
| commit | cdc61eb4ea5309769ad4db84d92594e4dc3dff67 (patch) | |
| tree | a8297a7aecc4376f07a497a5e02ab5ff165bfbd3 /Project-Unite/Views/Account/Login.cshtml | |
| parent | d9f475e1f33bbf39ca0d79d7a6b0c2fd501b4f2d (diff) | |
| download | project-unite-cdc61eb4ea5309769ad4db84d92594e4dc3dff67.tar.gz project-unite-cdc61eb4ea5309769ad4db84d92594e4dc3dff67.tar.bz2 project-unite-cdc61eb4ea5309769ad4db84d92594e4dc3dff67.zip | |
Initial commit (azure deploy test)
Diffstat (limited to 'Project-Unite/Views/Account/Login.cshtml')
| -rw-r--r-- | Project-Unite/Views/Account/Login.cshtml | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/Project-Unite/Views/Account/Login.cshtml b/Project-Unite/Views/Account/Login.cshtml new file mode 100644 index 0000000..1244c62 --- /dev/null +++ b/Project-Unite/Views/Account/Login.cshtml @@ -0,0 +1,62 @@ +@using Project_Unite.Models +@model LoginViewModel +@{ + ViewBag.Title = "Log in"; +} + +<h2>@ViewBag.Title.</h2> +<div class="row"> + <div class="col-md-8"> + <section id="loginForm"> + @using (Html.BeginForm("Login", "Account", new { ReturnUrl = ViewBag.ReturnUrl }, FormMethod.Post, new { @class = "form-horizontal", role = "form" })) + { + @Html.AntiForgeryToken() + <h4>Use a local account to log in.</h4> + <hr /> + @Html.ValidationSummary(true, "", new { @class = "text-danger" }) + <div class="form-group"> + @Html.LabelFor(m => m.Email, new { @class = "col-md-2 control-label" }) + <div class="col-md-10"> + @Html.TextBoxFor(m => m.Email, new { @class = "form-control" }) + @Html.ValidationMessageFor(m => m.Email, "", new { @class = "text-danger" }) + </div> + </div> + <div class="form-group"> + @Html.LabelFor(m => m.Password, new { @class = "col-md-2 control-label" }) + <div class="col-md-10"> + @Html.PasswordFor(m => m.Password, new { @class = "form-control" }) + @Html.ValidationMessageFor(m => m.Password, "", new { @class = "text-danger" }) + </div> + </div> + <div class="form-group"> + <div class="col-md-offset-2 col-md-10"> + <div class="checkbox"> + @Html.CheckBoxFor(m => m.RememberMe) + @Html.LabelFor(m => m.RememberMe) + </div> + </div> + </div> + <div class="form-group"> + <div class="col-md-offset-2 col-md-10"> + <input type="submit" value="Log in" class="btn btn-default" /> + </div> + </div> + <p> + @Html.ActionLink("Register as a new user", "Register") + </p> + <p> + @Html.ActionLink("Forgot your password?", "ForgotPassword") + </p> + } + </section> + </div> + <div class="col-md-4"> + <section id="socialLoginForm"> + @Html.Partial("_ExternalLoginsListPartial", new ExternalLoginListViewModel { ReturnUrl = ViewBag.ReturnUrl }) + </section> + </div> +</div> + +@section Scripts { + @Scripts.Render("~/bundles/jqueryval") +}
\ No newline at end of file |
