26ff8d9b4f
Set up repository with legacy .NET Framework 4.8 source (OLD/), new .NET 10 Blazor solution (NEW/), OpenSpec specifications, documentation, and project configuration.
124 lines
3.7 KiB
Plaintext
Executable File
124 lines
3.7 KiB
Plaintext
Executable File
@model WebInterface.Models.RefreshStatusModel
|
|
|
|
@{
|
|
ViewBag.Title = "Cache Refresh Status";
|
|
Layout = "~/Views/Shared/_Layout.cshtml";
|
|
}
|
|
|
|
<style>
|
|
.table tbody tr th {
|
|
vertical-align: bottom;
|
|
text-align: center;
|
|
}
|
|
|
|
.table tbody tr td {
|
|
vertical-align: middle;
|
|
text-align: center;
|
|
}
|
|
</style>
|
|
|
|
<div class="form-horizontal panel panel-default" style="margin-top: 25px;">
|
|
<div class="panel-heading">
|
|
@ViewBag.Title
|
|
</div>
|
|
|
|
@using (Html.BeginForm())
|
|
{
|
|
<div class="panel-body container">
|
|
<div class="col-md-4">
|
|
@Html.LabelFor(model => model.MinDT, "Start Time", new { @class = "control-label" })
|
|
@Html.EditorFor(model => model.MinDT, new { htmlAttributes = new { @class = "form-control" } })
|
|
@Html.ValidationMessageFor(model => model.MinDT, "", new { @class = "text-danger" })
|
|
</div>
|
|
|
|
<div class="col-md-4">
|
|
@Html.LabelFor(model => model.MaxDT, "End Time", new { @class = "control-label" })
|
|
@Html.EditorFor(model => model.MaxDT, new { htmlAttributes = new { @class = "form-control" } })
|
|
@Html.ValidationMessageFor(model => model.MaxDT, "", new { @class = "text-danger" })
|
|
</div>
|
|
|
|
<div class="col-md-2">
|
|
<input type="submit" value="Filter" class="btn btn-default" />
|
|
</div>
|
|
</div>
|
|
}
|
|
</div>
|
|
|
|
|
|
<table class="table">
|
|
<tr>
|
|
<th rowspan="2">Start</th>
|
|
<th rowspan="2">End</th>
|
|
<th colspan="12">Number Of Records Updated</th>
|
|
<th rowspan="2">
|
|
Was Successful?
|
|
</th>
|
|
</tr>
|
|
<tr>
|
|
<th>Branch</th>
|
|
<th>Profit Center</th>
|
|
<th>Work Center</th>
|
|
<th>Org Hierarchy</th>
|
|
<th>Status Code</th>
|
|
<th>User</th>
|
|
<th>Item</th>
|
|
<th>Lot</th>
|
|
<th>Work Order</th>
|
|
<th>Work Order Step</th>
|
|
<th>Work Order Component</th>
|
|
</tr>
|
|
|
|
@foreach (var item in Model.Results.OrderByDescending(i => i.StartDT))
|
|
{
|
|
<tr>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.StartDT)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.EndDT)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.BranchRecords)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.ProfitCenterRecords)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.WorkCenterRecords)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.OrgHierarchyRecords)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.StatusCodeRecords)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.UserRecords)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.ItemRecords)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.LotRecords)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.WorkOrderRecords)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.WorkOrderStepRecords)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.WorkOrderComponentRecords)
|
|
</td>
|
|
@if (item.WasSuccessful)
|
|
{
|
|
<td class="bg-success">YES</td>
|
|
}
|
|
else
|
|
{
|
|
<td class="bg-danger">NO</td>
|
|
}
|
|
</tr>
|
|
}
|
|
</table>
|