Add table-responsive
This commit is contained in:
@@ -29,6 +29,7 @@
|
|||||||
|
|
||||||
@if (Model.Items.Any())
|
@if (Model.Items.Any())
|
||||||
{
|
{
|
||||||
|
<div class="table-responsive">
|
||||||
@grid.Table(columns:
|
@grid.Table(columns:
|
||||||
grid.Columns(
|
grid.Columns(
|
||||||
grid.Column("Identifier", "Identifier"),
|
grid.Column("Identifier", "Identifier"),
|
||||||
@@ -40,6 +41,7 @@
|
|||||||
htmlAttributes: new {@class = "table table-striped table-bordered table-hover table-condensed"}
|
htmlAttributes: new {@class = "table table-striped table-bordered table-hover table-condensed"}
|
||||||
)
|
)
|
||||||
@grid.BootstrapPager()
|
@grid.BootstrapPager()
|
||||||
|
</div>
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -5,7 +5,8 @@
|
|||||||
var grid = new WebGrid(Model, rowsPerPage: 45);
|
var grid = new WebGrid(Model, rowsPerPage: 45);
|
||||||
}
|
}
|
||||||
|
|
||||||
@grid.Table(columns:
|
<div class="table-responsive">
|
||||||
|
@grid.Table(columns:
|
||||||
grid.Columns(
|
grid.Columns(
|
||||||
grid.Column("Identifier", "Identifier"),
|
grid.Column("Identifier", "Identifier"),
|
||||||
grid.Column("SiteId", "Site Id"),
|
grid.Column("SiteId", "Site Id"),
|
||||||
@@ -15,6 +16,7 @@
|
|||||||
),
|
),
|
||||||
htmlAttributes: new { @class = "table table-striped table-bordered table-hover table-condensed" }
|
htmlAttributes: new { @class = "table table-striped table-bordered table-hover table-condensed" }
|
||||||
)
|
)
|
||||||
|
</div>
|
||||||
@grid.BootstrapPager()
|
@grid.BootstrapPager()
|
||||||
|
|
||||||
@helper ChartLink(LeafInput leafInput)
|
@helper ChartLink(LeafInput leafInput)
|
||||||
|
|||||||
Reference in New Issue
Block a user