From: Zac Echola Date: Tue, 28 Apr 2015 15:58:42 +0000 (-0500) Subject: Adds documentation for buttons in link groups X-Git-Tag: v3.3.5~41^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa2cdd44bc0f0d739bcf91683f0288b0adc2bed1;p=thirdparty%2Fbootstrap.git Adds documentation for buttons in link groups Mostly a duplication of the *Linked items* section, but for buttons. Includes a note not to use the standard btn classes. --- diff --git a/docs/_includes/components/list-group.html b/docs/_includes/components/list-group.html index e95c9d4859..607b1e6614 100644 --- a/docs/_includes/components/list-group.html +++ b/docs/_includes/components/list-group.html @@ -74,6 +74,27 @@ Porta ac consectetur ac Vestibulum at eros +{% endhighlight %} + +

Button items

+

List group items may be buttons instead of list items (that also means a parent <div> instead of an <ul>). No need for individual parents around each element. Don't use the standard .btn classes here.

+
+
+ + + + + +
+
+{% highlight html %} +
+ + + + + +
{% endhighlight %}

Disabled items

diff --git a/docs/_includes/nav/components.html b/docs/_includes/nav/components.html index 49c8040c53..9c91bdada1 100644 --- a/docs/_includes/nav/components.html +++ b/docs/_includes/nav/components.html @@ -124,6 +124,7 @@
  • Basic example
  • Badges
  • Linked items
  • +
  • Button items
  • Disabled items
  • Contextual classes
  • Custom content