From 7e07fd63fe222eeb197998cb2ffa813b4ba05ea0 Mon Sep 17 00:00:00 2001 From: yekalkan Date: Thu, 3 May 2018 16:17:26 +0300 Subject: [PATCH] Tab Tag Helper examples --- .../Pages/Components/Tabs.cshtml | 106 +++++++++++++----- 1 file changed, 76 insertions(+), 30 deletions(-) diff --git a/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Tabs.cshtml b/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Tabs.cshtml index 4286599ddb..90de65127a 100644 --- a/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Tabs.cshtml +++ b/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Tabs.cshtml @@ -8,61 +8,107 @@

Based on Bootstrap tab.

-

# Example

+

# Tab Example

- - - + - ..asdasd. + Content_Home - ..wqewda. + Content_Profile - ..dsadwa. + Content_Contact +
+
+
+<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>
+
+
+
+ +

# Pill Example

+ +
+
+ + + Content_Home + + + Content_Profile + + + Content_Contact + +
-
-    
+<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>
 
- -@*

# Example

+

# Vertical Example

-
- -
-
- -
-
+ + + + Content_Home + + + Content_Profile + + + Content_Contact + + + +
-    
+<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>
 
-*@ +