Replace WebGridBootstrapPager

Improve Leaf details page
This commit is contained in:
2020-06-28 17:37:06 -04:00
parent 6f907bd1c6
commit 2b5de1c4cd
13 changed files with 93 additions and 119 deletions
+2 -2
View File
@@ -16,15 +16,15 @@
),
htmlAttributes: new { @class = "table table-sm table-striped table-bordered table-hover" }
)
@grid.PagerList()
</div>
@grid.BootstrapPager()
@helper ChartLink(LeafInput leafInput)
{
var cssClass = CssClassUtil.CreateCssClassDataDictionary("btn", " btn-outline-secondary", "btn-sm");
if (!leafInput.HasLeafChart)
{
cssClass.SetButtonDisabled();
cssClass.SetCssDisabled();
}
@Html.Partial("DisplayTemplates/_ChartButton", leafInput.Id, cssClass)
}