diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index 4148e5ee9..086c8db29 100644 Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ diff --git a/docs/components.html b/docs/components.html index a3a389c98..809f4d40e 100644 --- a/docs/components.html +++ b/docs/components.html @@ -134,34 +134,34 @@
Here's how the HTML looks for a standard button group built with anchor tag buttons:
<div class="btn-group"> - <a class="btn" href="#">1</a> - <a class="btn" href="#">2</a> - <a class="btn" href="#">3</a> + <button class="btn">1</button> + <button class="btn">2</button> + <button class="btn">3</button> </div>
Combine sets of <div class="btn-group"> into a <div class="btn-toolbar"> for more complex components.
@@ -198,7 +198,7 @@
Use any button to trigger a dropdown menu by placing it within a .btn-group and providing the proper menu markup.
- Action
+
- Action
- Another action
@@ -208,7 +208,7 @@
- Action
+
- Action
- Another action
@@ -218,7 +218,7 @@
- Danger
+
- Action
- Another action
@@ -230,7 +230,7 @@
- Warning
+
- Action
- Another action
@@ -240,7 +240,7 @@
- Success
+
- Action
- Another action
@@ -250,7 +250,7 @@
- Info
+
- Action
- Another action
@@ -260,7 +260,7 @@
- Inverse
+
- Action
- Another action
@@ -300,8 +300,8 @@
Building on the button group styles and markup, we can easily create a split button. Split buttons feature a standard action on the left and a dropdown toggle on the right with contextual links.
- Inverse
-
+
+
- Action
- Another action
@@ -385,8 +385,8 @@
Add .pull-right to the .dropdown-menu of any button dropdown for right aligned menus.
- Right
-
+
+
- Action
- Another action
@@ -410,10 +410,10 @@
We expand on the normal button dropdowns to provide a second button action that operates as a separate dropdown trigger.
<div class="btn-group">
- <a class="btn" href="#">Action</a>
- <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
+ <button class="btn">Action</button>
+ <button class="btn dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span>
- </a>
+ </button>
<ul class="dropdown-menu">
<!-- dropdown menu links -->
</ul>
@@ -423,8 +423,8 @@
Dropdown menus can also be toggled from the bottom up by adding a single class to the immediate parent of .dropdown-menu. It will flip the direction of the .caret and reposition the menu itself to move from the bottom up instead of top down.
<div class="btn-group dropup">
- <a class="btn" href="#">Dropup</a>
- <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
+ <button class="btn">Dropup</button>
+ <button class="btn dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span>
- </a>
+ </button>
<ul class="dropdown-menu">
<!-- dropdown menu links -->
</ul>
diff --git a/docs/templates/pages/components.mustache b/docs/templates/pages/components.mustache
index f38969567..354c4d54d 100644
--- a/docs/templates/pages/components.mustache
+++ b/docs/templates/pages/components.mustache
@@ -58,34 +58,34 @@
{{_i}}Here's how the HTML looks for a standard button group built with anchor tag buttons:{{/i}}
<div class="btn-group">
- <a class="btn" href="#">1</a>
- <a class="btn" href="#">2</a>
- <a class="btn" href="#">3</a>
+ <button class="btn">1</button>
+ <button class="btn">2</button>
+ <button class="btn">3</button>
</div>
{{_i}}Toolbar example{{/i}}
{{_i}}Combine sets of <div class="btn-group"> into a <div class="btn-toolbar"> for more complex components.{{/i}}
@@ -122,7 +122,7 @@
{{_i}}Use any button to trigger a dropdown menu by placing it within a .btn-group and providing the proper menu markup.{{/i}}
- {{_i}}Action{{/i}}
+
- {{_i}}Action{{/i}}
- {{_i}}Another action{{/i}}
@@ -132,7 +132,7 @@
- {{_i}}Action{{/i}}
+
- {{_i}}Action{{/i}}
- {{_i}}Another action{{/i}}
@@ -142,7 +142,7 @@
- {{_i}}Danger{{/i}}
+
- {{_i}}Action{{/i}}
- {{_i}}Another action{{/i}}
@@ -154,7 +154,7 @@
- {{_i}}Warning{{/i}}
+
- {{_i}}Action{{/i}}
- {{_i}}Another action{{/i}}
@@ -164,7 +164,7 @@
- {{_i}}Success{{/i}}
+
- {{_i}}Action{{/i}}
- {{_i}}Another action{{/i}}
@@ -174,7 +174,7 @@
- {{_i}}Info{{/i}}
+
- {{_i}}Action{{/i}}
- {{_i}}Another action{{/i}}
@@ -184,7 +184,7 @@
- {{_i}}Inverse{{/i}}
+
- {{_i}}Action{{/i}}
- {{_i}}Another action{{/i}}
@@ -224,8 +224,8 @@
{{_i}}Building on the button group styles and markup, we can easily create a split button. Split buttons feature a standard action on the left and a dropdown toggle on the right with contextual links.{{/i}}
- {{_i}}Inverse{{/i}}
-
+
+
- {{_i}}Action{{/i}}
- {{_i}}Another action{{/i}}
@@ -309,8 +309,8 @@
{{_i}}Add .pull-right to the .dropdown-menu of any button dropdown for right aligned menus.{{/i}}
- {{_i}}Right{{/i}}
-
+
+
- {{_i}}Action{{/i}}
- {{_i}}Another action{{/i}}
@@ -334,10 +334,10 @@
{{_i}}We expand on the normal button dropdowns to provide a second button action that operates as a separate dropdown trigger.{{/i}}
<div class="btn-group">
- <a class="btn" href="#">{{_i}}Action{{/i}}</a>
- <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
+ <button class="btn">{{_i}}Action{{/i}}</button>
+ <button class="btn dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span>
- </a>
+ </button>
<ul class="dropdown-menu">
<!-- {{_i}}dropdown menu links{{/i}} -->
</ul>
@@ -347,8 +347,8 @@
{{_i}}Dropdown menus can also be toggled from the bottom up by adding a single class to the immediate parent of .dropdown-menu. It will flip the direction of the .caret and reposition the menu itself to move from the bottom up instead of top down.{{/i}}
- {{_i}}Right dropup{{/i}}
-
+
+
- {{_i}}Action{{/i}}
- {{_i}}Another action{{/i}}
@@ -371,10 +371,10 @@
<div class="btn-group dropup">
- <a class="btn" href="#">{{_i}}Dropup{{/i}}</a>
- <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
+ <button class="btn">{{_i}}Dropup{{/i}}</button>
+ <button class="btn dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span>
- </a>
+ </button>
<ul class="dropdown-menu">
<!-- {{_i}}dropdown menu links{{/i}} -->
</ul>