Format the criteria for the reports
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -53,4 +53,8 @@ body {
|
||||
.employeeName input {
|
||||
width: 120px;
|
||||
}
|
||||
|
||||
.form-horizontal .control-group.endOdometer {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
@@ -14,12 +14,23 @@
|
||||
|
||||
<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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user