Leaf Input Details
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
@model IEnumerable<LeafWeb.WebCms.Models.LeafInputStatusViewModel>
|
||||
@{
|
||||
Layout = "~/Views/Shared/DisplayTemplates/_FieldLayout.cshtml";
|
||||
var grid = new WebGrid(Model, rowsPerPage: 45);
|
||||
grid.SortColumn = "DateTime";
|
||||
grid.SortDirection = SortDirection.Descending;
|
||||
}
|
||||
|
||||
@grid.GetHtml(columns:
|
||||
grid.Columns(
|
||||
grid.Column("DateTime", "Time"),
|
||||
grid.Column("Status"),
|
||||
grid.Column("Description"),
|
||||
grid.Column("Details")
|
||||
),
|
||||
htmlAttributes: new { @class = "table table-striped table-bordered table-hover table-condensed" }
|
||||
)
|
||||
Reference in New Issue
Block a user