Pagination styling

This commit is contained in:
2017-01-04 10:10:43 -05:00
parent 9e710effc1
commit d14e40a36b
18 changed files with 2230 additions and 8 deletions
+1
View File
@@ -14,6 +14,7 @@
TempData["StatusMessage-Type"] = "alert-success";
}
Html.RequiresCss("~/Content/bootstrap_leafweb.css");
Html.RequiresCss("~/Content/font-awesome.css");
Html.RequiresCss("~/Content/site.css");
Html.RequiresCss("~/Content/style.css");
Html.RequiresCss("~/css/rte.css");
+2 -1
View File
@@ -4,7 +4,7 @@
var grid = new WebGrid(Model, rowsPerPage: 45);
}
@grid.GetHtml(columns:
@grid.Table(columns:
grid.Columns(
grid.Column("LeafInputIdentifier", "Identifier"),
grid.Column("LeafInputSiteId", "Site Id"),
@@ -13,6 +13,7 @@
grid.Column("Total Results: " + Model.Count(), format: item => Btns(item))),
htmlAttributes: new { @class = "table table-striped table-bordered table-hover table-condensed" }
)
@grid.BootstrapPager()
@helper Btns(dynamic item)
{
+2 -1
View File
@@ -4,7 +4,7 @@
var grid = new WebGrid(Model, rowsPerPage: 45);
}
@grid.GetHtml(columns:
@grid.Table(columns:
grid.Columns(
grid.Column("LeafInputIdentifier", "Identifier"),
grid.Column("LeafInputSiteId", "Site Id"),
@@ -14,6 +14,7 @@
),
htmlAttributes: new { @class = "table table-striped table-bordered table-hover table-condensed" }
)
@grid.BootstrapPager()
@helper ChartLink(dynamic item)
{
+1
View File
@@ -21,6 +21,7 @@
<add namespace="Umbraco.Web.Mvc" />
<add namespace="umbraco" />
<add namespace="Examine" />
<add namespace="WebGridBootstrapPager" />
<add namespace="Umbraco.Web.PublishedContentModels" />
</namespaces>
</pages>