Nearing feature complete for driver auth

This commit is contained in:
2013-01-09 21:33:57 -05:00
parent 0b4c7914b3
commit bc019923d2
49 changed files with 609 additions and 335 deletions
+2 -2
View File
@@ -65,7 +65,8 @@
@Html.HiddenFor(model => model.LogType.Value)
@Html.DisplayFor(model => model.CityName)
@Html.HiddenFor(model => model.CityName)
@* // Html.HiddenFor(model => model.CityName) is losing capitalization *@
<input type="hidden" name="CityName" value="@Model.CityName"/>
<dl class="dl-horizontal gas">
<dt>
@@ -84,7 +85,6 @@
</dl>
@Html.HiddenFor(model => model.GasPurchased)
<dl class="dl-horizontal date">
<dt>
@Html.DisplayNameFor(m => m.Date)
+4
View File
@@ -19,3 +19,7 @@
</div>
</fieldset>
}
<div id="RecentLogs" class="center-content well">
</div>
+2 -9
View File
@@ -4,7 +4,7 @@
@if (Model.Any())
{
<h5>Recent Logs for @ViewData["employeeName"]</h5>
<h5>Recent Logs for @ViewData["name"]</h5>
<table class="table">
<thead>
<tr>
@@ -43,12 +43,5 @@
}
else
{
if (!string.IsNullOrEmpty(ViewData["employeeName"].ToString()))
{
<h5>Mileage history not found for employee "@ViewData["employeeName"]"</h5>
}
else
{
<h5>Please enter employee name</h5>
}
<p>Mileage history not found for <strong>@ViewData["name"]</strong></p>
}