Restyle login, change password works

This commit is contained in:
2012-12-22 10:48:34 -05:00
parent f129142dab
commit c1944f6262
54 changed files with 327 additions and 255 deletions
@@ -1,4 +1,7 @@
<label class="checkbox">
@{
Layout = "~/Views/Shared/EditorTemplates/_FieldLayout.cshtml";
}
<label class="checkbox">
@Html.CheckBox("", ViewData.TemplateInfo.FormattedModelValue)
@Html.LabelForModel()
</label>
@@ -1,6 +1,6 @@
@using MileageTraker.Web.Models
@using MileageTraker.Web.Utility
@model MileageTraker.Web.ViewModels.LogResultsViewModel
@model MileageTraker.Web.ViewModels.Log.LogResultsViewModel
@Html.DropDownList("Year", new SelectList(Model.Years, Model.SelectedYear), new { @class = "input-small" })
@Html.DropDownList("Month", new SelectList(Model.Months, Model.SelectedMonth), new { @class = "input-mini" })
+1 -1
View File
@@ -18,7 +18,7 @@
<li>@Html.ActionLink("Enter Mileage Log", "Index", "CreateLog")</li>
</ul>
<section id="account-management">
@Html.Partial("_Layout.authentication.cshtml")
@Html.Partial("_Layout.authentication")
</section>
</div>
</div>
@@ -6,7 +6,7 @@
<li>
@using (Html.BeginForm("LogOff", "Account", FormMethod.Post, new { id = "form-logout" })) {
@Html.AntiForgeryToken()
<button type="submit" class="btn-link">
<button type="submit" class="btn-link logoff">
Log Off
</button>
}
-1
View File
@@ -10,7 +10,6 @@
</head>
<body>
<div class="container-fluid">
@RenderBody()
</div>
@@ -0,0 +1,7 @@
@if (ViewData.ModelState[""] != null && ViewData.ModelState[""].Errors.Any())
{
<div class="alert alert-error">
<a class="close" data-dismiss="alert">×</a>
@Html.ValidationSummary(true)
</div>
}