Format the criteria for the reports

This commit is contained in:
2012-12-16 13:45:01 -05:00
parent 19705f8f38
commit fbe55081f5
4 changed files with 47 additions and 12 deletions
+8
View File
@@ -66,6 +66,14 @@ footer {
background-position: 0 0;
}
dl.inline, dl.inline dt, dl.inline dd {
float: left;
}
dl.inline {
margin-right: 30px;
}
@media print {
header,
footer,
+4
View File
@@ -53,4 +53,8 @@ body {
.employeeName input {
width: 120px;
}
.form-horizontal .control-group.endOdometer {
margin-bottom: 0;
}
}
+17 -6
View File
@@ -14,12 +14,23 @@
<h2>@ViewBag.Title</h2>
@Html.DisplayFor(m => m.Query.Year)
@Html.DisplayFor(m => m.Query.Month)
@if (Model.Query.LogType.HasValue)
{
@Html.DisplayFor(m => m.Query.LogType)
}
<div>
<dl class="inline">
<dt>Year</dt>
<dd>@Html.Encode(Model.Query.Year)</dd>
</dl>
<dl class="inline">
<dt>Month</dt>
<dd>@Html.Encode(Model.Query.Month)</dd>
</dl>
@if (Model.Query.LogType.HasValue)
{
<dl class="inline">
<dt>Type</dt>
<dd>@Html.Encode(Model.Query.LogType)</dd>
</dl>
}
</div>
<table class="table">
<tr>
+15 -3
View File
@@ -15,12 +15,24 @@
<h2>@ViewBag.Title</h2>
@Html.DisplayFor(m => m.Query.Year)
@Html.DisplayFor(m => m.Query.Month)
<div>
<dl class="inline">
<dt>Year</dt>
<dd>@Html.Encode(Model.Query.Year)</dd>
</dl>
<dl class="inline">
<dt>Month</dt>
<dd>@Html.Encode(Model.Query.Month)</dd>
</dl>
@if (Model.Query.LogType.HasValue)
{
@Html.DisplayFor(m => m.Query.LogType)
<dl class="inline">
<dt>Type</dt>
<dd>@Html.Encode(Model.Query.LogType)</dd>
</dl>
}
</div>
<table class="table">
<tr>
<th>