mirror of https://github.com/abpframework/abp
Merge branch 'master' of https://github.com/aspnetzero/abp
commit
4e1b9950fd
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,114 @@
|
||||
@page
|
||||
@model Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo.Pages.Components.TabsModel
|
||||
@{
|
||||
ViewData["Title"] = "Tabs";
|
||||
}
|
||||
|
||||
<h2>Tabs</h2>
|
||||
|
||||
<p>Based on <a href="http://getbootstrap.com/docs/4.1/components/navs/#tabs" target="_blank"> Bootstrap tab</a>.</p>
|
||||
|
||||
<h4># Tab Example</h4>
|
||||
|
||||
<div class="demo-with-code">
|
||||
<div class="demo-area">
|
||||
<abp-tabs name="TabId">
|
||||
|
||||
<abp-tab-item name="nav-home" active="true" title="Home">
|
||||
Content_Home
|
||||
</abp-tab-item>
|
||||
<abp-tab-item name="nav-profile" title="profile">
|
||||
Content_Profile
|
||||
</abp-tab-item>
|
||||
<abp-tab-item name="nav-contact" title="Contact">
|
||||
Content_Contact
|
||||
</abp-tab-item>
|
||||
|
||||
</abp-tabs>
|
||||
</div>
|
||||
<div class="code-area">
|
||||
<pre>
|
||||
<abp-tabs name="TabId">
|
||||
<abp-tab-item name="nav-home" active="true" title="Home">
|
||||
Content_Home
|
||||
</abp-tab-item>
|
||||
<abp-tab-item name="nav-profile" title="profile">
|
||||
Content_Profile
|
||||
</abp-tab-item>
|
||||
<abp-tab-item name="nav-contact" title="Contact">
|
||||
Content_Contact
|
||||
</abp-tab-item>
|
||||
</abp-tabs>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h4># Pill Example</h4>
|
||||
|
||||
<div class="demo-with-code">
|
||||
<div class="demo-area">
|
||||
<abp-tabs name="PillId" tab-style="Pill">
|
||||
|
||||
<abp-tab-item name="nav-home-pill" active="true" title="Home">
|
||||
Content_Home
|
||||
</abp-tab-item>
|
||||
<abp-tab-item name="nav-profile-pill" title="profile">
|
||||
Content_Profile
|
||||
</abp-tab-item>
|
||||
<abp-tab-item name="nav-contact-pill" title="Contact">
|
||||
Content_Contact
|
||||
</abp-tab-item>
|
||||
|
||||
</abp-tabs>
|
||||
</div>
|
||||
<div class="code-area">
|
||||
<pre>
|
||||
<abp-tabs name="TabId" tab-style="Pill" >
|
||||
<abp-tab-item name="nav-home" active="true" title="Home">
|
||||
Content_Home
|
||||
</abp-tab-item>
|
||||
<abp-tab-item name="nav-profile" title="profile">
|
||||
Content_Profile
|
||||
</abp-tab-item>
|
||||
<abp-tab-item name="nav-contact" title="Contact">
|
||||
Content_Contact
|
||||
</abp-tab-item>
|
||||
</abp-tabs>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h4># Vertical Example</h4>
|
||||
|
||||
<div class="demo-with-code">
|
||||
<div class="demo-area">
|
||||
<abp-tabs name="PillVerticalId" tab-style="PillVertical" vertical-header-size="_2">
|
||||
|
||||
<abp-tab-item name="nav-home-pill-vertical" active="true" title="Home">
|
||||
Content_Home
|
||||
</abp-tab-item>
|
||||
<abp-tab-item name="nav-profile-pill-vertical" title="profile">
|
||||
Content_Profile
|
||||
</abp-tab-item>
|
||||
<abp-tab-item name="nav-contact-pill-vertical" title="Contact">
|
||||
Content_Contact
|
||||
</abp-tab-item>
|
||||
|
||||
</abp-tabs>
|
||||
</div>
|
||||
<div class="code-area">
|
||||
<pre>
|
||||
<abp-tabs name="TabId" tab-style="Pill" vertical-header-size="_2" >
|
||||
<abp-tab-item name="nav-home" active="true" title="Home">
|
||||
Content_Home
|
||||
</abp-tab-item>
|
||||
<abp-tab-item name="nav-profile" title="profile">
|
||||
Content_Profile
|
||||
</abp-tab-item>
|
||||
<abp-tab-item name="nav-contact" title="Contact">
|
||||
Content_Contact
|
||||
</abp-tab-item>
|
||||
</abp-tabs>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in new issue