|
|
|
@ -10,17 +10,30 @@ |
|
|
|
</abp-style-bundle> |
|
|
|
} |
|
|
|
|
|
|
|
@section scripts { |
|
|
|
<abp-script-bundle> |
|
|
|
@*<abp-script src="/libs/highlight.js/lib/highlight.js" /> |
|
|
|
<abp-script src="/Pages/Components/highlightCode.js" />*@ |
|
|
|
</abp-script-bundle> |
|
|
|
} |
|
|
|
|
|
|
|
<link rel="stylesheet" |
|
|
|
href="http://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.13.1/styles/default.min.css"> |
|
|
|
<script src="http://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.13.1/highlight.min.js"></script> |
|
|
|
<script>hljs.initHighlightingOnLoad();</script> |
|
|
|
|
|
|
|
|
|
|
|
<h2>Tables</h2> |
|
|
|
|
|
|
|
<p>Based on <a href="https://getbootstrap.com/docs/4.1/content/Tables/" target="_blank"> Bootstrap Tables</a>.</p> |
|
|
|
|
|
|
|
<h4># Tables Examples</h4> |
|
|
|
<h4>Examples</h4> |
|
|
|
|
|
|
|
<div class="demo-with-code"> |
|
|
|
<div class="demo-area"> |
|
|
|
|
|
|
|
<abp-table striped-rows="true" hoverable-rows="true" responsive-sm="true"> |
|
|
|
<thead theme="Dark"> |
|
|
|
<abp-table hoverable-rows="true" responsive-sm="true"> |
|
|
|
<thead> |
|
|
|
<tr> |
|
|
|
<th scope="Column">#</th> |
|
|
|
<th scope="Column">First</th> |
|
|
|
@ -33,9 +46,9 @@ |
|
|
|
<th scope="Row">1</th> |
|
|
|
<td>Mark</td> |
|
|
|
<td>Otto</td> |
|
|
|
<td abp-table-style="Danger">mdo</td> |
|
|
|
<td table-style="Danger">mdo</td> |
|
|
|
</tr> |
|
|
|
<tr abp-table-style="Warning"> |
|
|
|
<tr table-style="Warning"> |
|
|
|
<th scope="Row">2</th> |
|
|
|
<td>Jacob</td> |
|
|
|
<td>Thornton</td> |
|
|
|
@ -43,46 +56,413 @@ |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<th scope="Row">3</th> |
|
|
|
<td abp-table-style="Success">Larry</td> |
|
|
|
<td table-style="Success">Larry</td> |
|
|
|
<td>the Bird</td> |
|
|
|
<td>twitter</td> |
|
|
|
</tr> |
|
|
|
</tbody> |
|
|
|
</abp-table> |
|
|
|
|
|
|
|
</div> |
|
|
|
<div class="code-area"> |
|
|
|
<pre> |
|
|
|
<abp-table striped-rows="true" small="true" hoverable-rows="true" responsive-sm="true"> |
|
|
|
<thead theme="Dark"> |
|
|
|
<abp-tabs> |
|
|
|
<abp-tab title="Tag Helper" active="true"> |
|
|
|
<pre><code> |
|
|
|
<abp-table hoverable-rows="true" responsive-sm="true"> |
|
|
|
<thead> |
|
|
|
<tr> |
|
|
|
<th scope="Column">#</th> |
|
|
|
<th scope="Column">First</th> |
|
|
|
<th scope="Column">Last</th> |
|
|
|
<th scope="Column">Handle</th> |
|
|
|
</tr> |
|
|
|
</thead> |
|
|
|
<tbody> |
|
|
|
<tr> |
|
|
|
<th scope="Row">1</th> |
|
|
|
<td>Mark</td> |
|
|
|
<td>Otto</td> |
|
|
|
<td table-style="Danger">mdo</td> |
|
|
|
</tr> |
|
|
|
<tr table-style="Warning"> |
|
|
|
<th scope="Row">2</th> |
|
|
|
<td>Jacob</td> |
|
|
|
<td>Thornton</td> |
|
|
|
<td>fat</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<th scope="Row">3</th> |
|
|
|
<td table-style="Success">Larry</td> |
|
|
|
<td>the Bird</td> |
|
|
|
<td>twitter</td> |
|
|
|
</tr> |
|
|
|
</tbody> |
|
|
|
</abp-table> |
|
|
|
</code></pre> |
|
|
|
</abp-tab> |
|
|
|
<abp-tab title="Rendered"> |
|
|
|
<pre><code> |
|
|
|
<div class="table-responsive-sm"> |
|
|
|
<table class="table table-hover"> |
|
|
|
<thead> |
|
|
|
<tr> |
|
|
|
<th scope="Column">#</th> |
|
|
|
<th scope="Column">First</th> |
|
|
|
<th scope="Column">Last</th> |
|
|
|
<th scope="Column">Handle</th> |
|
|
|
<th scope="col">#</th> |
|
|
|
<th scope="col">First</th> |
|
|
|
<th scope="col">Last</th> |
|
|
|
<th scope="col">Handle</th> |
|
|
|
</tr> |
|
|
|
</thead> |
|
|
|
<tbody> |
|
|
|
<tr> |
|
|
|
<th scope="Row">1</th> |
|
|
|
<th scope="row">1</th> |
|
|
|
<td>Mark</td> |
|
|
|
<td>Otto</td> |
|
|
|
<td abp-table-style="Danger">mdo</td> |
|
|
|
<td class="table-danger">mdo</td> |
|
|
|
</tr> |
|
|
|
<tr abp-table-style="Warning"> |
|
|
|
<th scope="Row">2</th> |
|
|
|
<tr class="table-warning"> |
|
|
|
<th scope="row">2</th> |
|
|
|
<td>Jacob</td> |
|
|
|
<td>Thornton</td> |
|
|
|
<td>fat</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<th scope="Row">3</th> |
|
|
|
<td abp-table-style="Success">Larry</td> |
|
|
|
<th scope="row">3</th> |
|
|
|
<td class="table-success">Larry</td> |
|
|
|
<td>the Bird</td> |
|
|
|
<td>twitter</td> |
|
|
|
</tr> |
|
|
|
</tbody> |
|
|
|
</abp-table> |
|
|
|
</pre> |
|
|
|
</table> |
|
|
|
</div> |
|
|
|
</code></pre> |
|
|
|
</abp-tab> |
|
|
|
</abp-tabs> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="demo-with-code"> |
|
|
|
<div class="demo-area"> |
|
|
|
|
|
|
|
<abp-table small="true" striped-rows="true" border-style="Bordered"> |
|
|
|
<thead Theme="Dark"> |
|
|
|
<tr> |
|
|
|
<th scope="Column">#</th> |
|
|
|
<th scope="Column">First</th> |
|
|
|
<th scope="Column">Last</th> |
|
|
|
<th scope="Column">Handle</th> |
|
|
|
</tr> |
|
|
|
</thead> |
|
|
|
<tbody> |
|
|
|
<tr> |
|
|
|
<th scope="Row">1</th> |
|
|
|
<td>Mark</td> |
|
|
|
<td>Otto</td> |
|
|
|
<td>mdo</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<th scope="Row">2</th> |
|
|
|
<td>Jacob</td> |
|
|
|
<td>Thornton</td> |
|
|
|
<td>fat</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<th scope="Row">3</th> |
|
|
|
<td>Larry</td> |
|
|
|
<td>the Bird</td> |
|
|
|
<td>twitter</td> |
|
|
|
</tr> |
|
|
|
</tbody> |
|
|
|
</abp-table> |
|
|
|
</div> |
|
|
|
<div class="code-area"> |
|
|
|
<abp-tabs> |
|
|
|
<abp-tab title="Tag Helper" active="true"> |
|
|
|
<pre><code> |
|
|
|
<abp-table small="true" striped-rows="true" border-style="Bordered"> |
|
|
|
<thead Theme="Dark"> |
|
|
|
<tr> |
|
|
|
<th scope="Column">#</th> |
|
|
|
<th scope="Column">First</th> |
|
|
|
<th scope="Column">Last</th> |
|
|
|
<th scope="Column">Handle</th> |
|
|
|
</tr> |
|
|
|
</thead> |
|
|
|
<tbody> |
|
|
|
<tr> |
|
|
|
<th scope="Row">1</th> |
|
|
|
<td>Mark</td> |
|
|
|
<td>Otto</td> |
|
|
|
<td>mdo</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<th scope="Row">2</th> |
|
|
|
<td>Jacob</td> |
|
|
|
<td>Thornton</td> |
|
|
|
<td>fat</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<th scope="Row">3</th> |
|
|
|
<td>Larry</td> |
|
|
|
<td>the Bird</td> |
|
|
|
<td>twitter</td> |
|
|
|
</tr> |
|
|
|
</tbody> |
|
|
|
</abp-table> |
|
|
|
</code></pre> |
|
|
|
</abp-tab> |
|
|
|
<abp-tab title="Rendered"> |
|
|
|
<pre><code> |
|
|
|
<table class="table table-sm table-striped table-bordered"> |
|
|
|
<thead class="thead-dark"> |
|
|
|
<tr> |
|
|
|
<th scope="col">#</th> |
|
|
|
<th scope="col">First</th> |
|
|
|
<th scope="col">Last</th> |
|
|
|
<th scope="col">Handle</th> |
|
|
|
</tr> |
|
|
|
</thead> |
|
|
|
<tbody> |
|
|
|
<tr> |
|
|
|
<th scope="row">1</th> |
|
|
|
<td>Mark</td> |
|
|
|
<td>Otto</td> |
|
|
|
<td>mdo</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<th scope="row">2</th> |
|
|
|
<td>Jacob</td> |
|
|
|
<td>Thornton</td> |
|
|
|
<td>fat</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<th scope="row">3</th> |
|
|
|
<td>Larry</td> |
|
|
|
<td>the Bird</td> |
|
|
|
<td>twitter</td> |
|
|
|
</tr> |
|
|
|
</tbody> |
|
|
|
</table> |
|
|
|
</code></pre> |
|
|
|
</abp-tab> |
|
|
|
</abp-tabs> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="demo-with-code"> |
|
|
|
<div class="demo-area"> |
|
|
|
|
|
|
|
<abp-table striped-rows="true" dark-theme="true"> |
|
|
|
<caption>List of users</caption> |
|
|
|
<thead> |
|
|
|
<tr> |
|
|
|
<th scope="Column">#</th> |
|
|
|
<th scope="Column">First</th> |
|
|
|
<th scope="Column">Last</th> |
|
|
|
<th scope="Column">Handle</th> |
|
|
|
</tr> |
|
|
|
</thead> |
|
|
|
<tbody> |
|
|
|
<tr> |
|
|
|
<th scope="Row">1</th> |
|
|
|
<td>Mark</td> |
|
|
|
<td>Otto</td> |
|
|
|
<td>mdo</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<th scope="Row">2</th> |
|
|
|
<td>Jacob</td> |
|
|
|
<td>Thornton</td> |
|
|
|
<td>fat</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<th scope="Row">3</th> |
|
|
|
<td>Larry</td> |
|
|
|
<td>the Bird</td> |
|
|
|
<td>twitter</td> |
|
|
|
</tr> |
|
|
|
</tbody> |
|
|
|
</abp-table> |
|
|
|
</div> |
|
|
|
<div class="code-area"> |
|
|
|
<abp-tabs> |
|
|
|
<abp-tab title="Tag Helper" active="true"> |
|
|
|
<pre><code> |
|
|
|
<abp-table striped-rows="true" dark-theme="true"> |
|
|
|
<caption>List of users</caption> |
|
|
|
<thead> |
|
|
|
<tr> |
|
|
|
<th scope="Column">#</th> |
|
|
|
<th scope="Column">First</th> |
|
|
|
<th scope="Column">Last</th> |
|
|
|
<th scope="Column">Handle</th> |
|
|
|
</tr> |
|
|
|
</thead> |
|
|
|
<tbody> |
|
|
|
<tr> |
|
|
|
<th scope="Row">1</th> |
|
|
|
<td>Mark</td> |
|
|
|
<td>Otto</td> |
|
|
|
<td>mdo</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<th scope="Row">2</th> |
|
|
|
<td>Jacob</td> |
|
|
|
<td>Thornton</td> |
|
|
|
<td>fat</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<th scope="Row">3</th> |
|
|
|
<td>Larry</td> |
|
|
|
<td>the Bird</td> |
|
|
|
<td>twitter</td> |
|
|
|
</tr> |
|
|
|
</tbody> |
|
|
|
</abp-table> |
|
|
|
</code></pre> |
|
|
|
</abp-tab> |
|
|
|
<abp-tab title="Rendered"> |
|
|
|
<pre><code> |
|
|
|
<table class="table table-dark table-striped"> |
|
|
|
<caption>List of users</caption> |
|
|
|
<thead> |
|
|
|
<tr> |
|
|
|
<th scope="col">#</th> |
|
|
|
<th scope="col">First</th> |
|
|
|
<th scope="col">Last</th> |
|
|
|
<th scope="col">Handle</th> |
|
|
|
</tr> |
|
|
|
</thead> |
|
|
|
<tbody> |
|
|
|
<tr> |
|
|
|
<th scope="row">1</th> |
|
|
|
<td>Mark</td> |
|
|
|
<td>Otto</td> |
|
|
|
<td>mdo</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<th scope="row">2</th> |
|
|
|
<td>Jacob</td> |
|
|
|
<td>Thornton</td> |
|
|
|
<td>fat</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<th scope="row">3</th> |
|
|
|
<td>Larry</td> |
|
|
|
<td>the Bird</td> |
|
|
|
<td>twitter</td> |
|
|
|
</tr> |
|
|
|
</tbody> |
|
|
|
</table> |
|
|
|
</code></pre> |
|
|
|
</abp-tab> |
|
|
|
</abp-tabs> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="demo-with-code"> |
|
|
|
<div class="demo-area"> |
|
|
|
|
|
|
|
<abp-table border-style="Borderless"> |
|
|
|
<thead> |
|
|
|
<tr> |
|
|
|
<th scope="Column">#</th> |
|
|
|
<th scope="Column">First</th> |
|
|
|
<th scope="Column">Last</th> |
|
|
|
<th scope="Column">Handle</th> |
|
|
|
</tr> |
|
|
|
</thead> |
|
|
|
<tbody> |
|
|
|
<tr> |
|
|
|
<th scope="Row">1</th> |
|
|
|
<td>Mark</td> |
|
|
|
<td>Otto</td> |
|
|
|
<td>mdo</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<th scope="Row">2</th> |
|
|
|
<td>Jacob</td> |
|
|
|
<td>Thornton</td> |
|
|
|
<td>fat</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<th scope="Row">3</th> |
|
|
|
<td>Larry</td> |
|
|
|
<td>the Bird</td> |
|
|
|
<td>twitter</td> |
|
|
|
</tr> |
|
|
|
</tbody> |
|
|
|
</abp-table> |
|
|
|
</div> |
|
|
|
<div class="code-area"> |
|
|
|
<abp-tabs> |
|
|
|
<abp-tab title="Tag Helper" active="true"> |
|
|
|
<pre><code> |
|
|
|
<abp-table border-style="Borderless"> |
|
|
|
<thead> |
|
|
|
<tr> |
|
|
|
<th scope="Column">#</th> |
|
|
|
<th scope="Column">First</th> |
|
|
|
<th scope="Column">Last</th> |
|
|
|
<th scope="Column">Handle</th> |
|
|
|
</tr> |
|
|
|
</thead> |
|
|
|
<tbody> |
|
|
|
<tr> |
|
|
|
<th scope="Row">1</th> |
|
|
|
<td>Mark</td> |
|
|
|
<td>Otto</td> |
|
|
|
<td>mdo</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<th scope="Row">2</th> |
|
|
|
<td>Jacob</td> |
|
|
|
<td>Thornton</td> |
|
|
|
<td>fat</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<th scope="Row">3</th> |
|
|
|
<td>Larry</td> |
|
|
|
<td>the Bird</td> |
|
|
|
<td>twitter</td> |
|
|
|
</tr> |
|
|
|
</tbody> |
|
|
|
</abp-table> |
|
|
|
</code></pre> |
|
|
|
</abp-tab> |
|
|
|
<abp-tab title="Rendered"> |
|
|
|
<pre><code> |
|
|
|
<table class="table table-borderless"> |
|
|
|
<thead> |
|
|
|
<tr> |
|
|
|
<th scope="col">#</th> |
|
|
|
<th scope="col">First</th> |
|
|
|
<th scope="col">Last</th> |
|
|
|
<th scope="col">Handle</th> |
|
|
|
</tr> |
|
|
|
</thead> |
|
|
|
<tbody> |
|
|
|
<tr> |
|
|
|
<th scope="row">1</th> |
|
|
|
<td>Mark</td> |
|
|
|
<td>Otto</td> |
|
|
|
<td>mdo</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<th scope="row">2</th> |
|
|
|
<td>Jacob</td> |
|
|
|
<td>Thornton</td> |
|
|
|
<td>fat</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<th scope="row">3</th> |
|
|
|
<td>Larry</td> |
|
|
|
<td>the Bird</td> |
|
|
|
<td>twitter</td> |
|
|
|
</tr> |
|
|
|
</tbody> |
|
|
|
</table> |
|
|
|
</code></pre> |
|
|
|
</abp-tab> |
|
|
|
</abp-tabs> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|