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
+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>
+18 -6
View File
@@ -15,12 +15,24 @@
<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>
<th>