21 lines
768 B
Plaintext
21 lines
768 B
Plaintext
@model IEnumerable<LeafWeb.Web.ViewModels.LeafOutput.LeafOutputViewModel>
|
|
|
|
@{
|
|
ViewBag.Title = "Results";
|
|
var grid = new WebGrid(Model, rowsPerPage: 45);
|
|
}
|
|
|
|
<h1>Result Status</h1>
|
|
|
|
@grid.GetHtml(columns:
|
|
grid.Columns(
|
|
grid.Column("LeafInputIdentifier", "Identifier"),
|
|
grid.Column("LeafInputSiteId", "Site Id"),
|
|
grid.Column("LeafInputFilename", "Filename"),
|
|
grid.Column("LeafInputName", "Submitted By"),
|
|
grid.Column("CurrentStatus", "Status"),
|
|
grid.Column("Chart", "Chart", item => @Html.ActionLink("Chart", "Index", "LeafCharter", new { leafInputFileId = item.LeafInputFileId}, new {}))
|
|
),
|
|
htmlAttributes: new { @class = "table table-striped table-bordered table-hover table-condensed" }
|
|
)
|