Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
5d1b4206
Commit
5d1b4206
authored
12 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
Fixes #5986: single toggle button html examples
parent
8df2811d
4 merge requests
!6060
Waits to tigger the hidden event
,
!6055
Typeahead complex source
,
!6061
Sorry, close this. I pulled to the wrong branch!
,
!5984
Shifting focus to parent and adding aria menuitem for dropdown
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/javascript.html
+7
-7
docs/javascript.html
docs/templates/pages/javascript.mustache
+7
-7
docs/templates/pages/javascript.mustache
with
14 additions
and
14 deletions
+14
-14
docs/javascript.html
+
7
-
7
View file @
5d1b4206
...
...
@@ -1137,7 +1137,7 @@ $('#my-alert').bind('closed', function () {
<div
class=
"bs-docs-example"
style=
"padding-bottom: 24px;"
>
<button
type=
"button"
class=
"btn btn-primary"
data-toggle=
"button"
>
Single Toggle
</button>
</div>
<pre
class=
"prettyprint linenums"
>
<
button type="button" class="btn" data-toggle="button"
>
Single Toggle
<
/button
>
</pre>
<pre
class=
"prettyprint linenums"
>
<
button type="button" class="btn
btn-primary
" data-toggle="button"
>
Single Toggle
<
/button
>
</pre>
<h4>
Checkbox
</h4>
<p>
Add data-toggle="buttons-checkbox" for checkbox style toggling on btn-group.
</p>
...
...
@@ -1150,9 +1150,9 @@ $('#my-alert').bind('closed', function () {
</div>
<pre
class=
"prettyprint linenums"
>
<
div class="btn-group" data-toggle="buttons-checkbox"
>
<
button type="button" class="btn"
>
Left
<
/button
>
<
button type="button" class="btn"
>
Middle
<
/button
>
<
button type="button" class="btn"
>
Right
<
/button
>
<
button type="button" class="btn
btn-primary
"
>
Left
<
/button
>
<
button type="button" class="btn
btn-primary
"
>
Middle
<
/button
>
<
button type="button" class="btn
btn-primary
"
>
Right
<
/button
>
<
/div
>
</pre>
...
...
@@ -1167,9 +1167,9 @@ $('#my-alert').bind('closed', function () {
</div>
<pre
class=
"prettyprint linenums"
>
<
div class="btn-group" data-toggle="buttons-radio"
>
<
button type="button" class="btn"
>
Left
<
/button
>
<
button type="button" class="btn"
>
Middle
<
/button
>
<
button type="button" class="btn"
>
Right
<
/button
>
<
button type="button" class="btn
btn-primary
"
>
Left
<
/button
>
<
button type="button" class="btn
btn-primary
"
>
Middle
<
/button
>
<
button type="button" class="btn
btn-primary
"
>
Right
<
/button
>
<
/div
>
</pre>
...
...
This diff is collapsed.
Click to expand it.
docs/templates/pages/javascript.mustache
+
7
-
7
View file @
5d1b4206
...
...
@@ -1067,7 +1067,7 @@ $('#my-alert').bind('closed', function () {
<div
class=
"bs-docs-example"
style=
"padding-bottom: 24px;"
>
<button
type=
"button"
class=
"btn btn-primary"
data-toggle=
"button"
>
{{
_i
}}
Single Toggle
{{/
i
}}
</button>
</div>
{{! /example }}
<pre
class=
"prettyprint linenums"
>
<
button type="button" class="btn" data-toggle="button"
>
Single Toggle
<
/button
>
</pre>
<pre
class=
"prettyprint linenums"
>
<
button type="button" class="btn
btn-primary
" data-toggle="button"
>
Single Toggle
<
/button
>
</pre>
<h4>
{{
_i
}}
Checkbox
{{/
i
}}
</h4>
<p>
{{
_i
}}
Add data-toggle="buttons-checkbox" for checkbox style toggling on btn-group.
{{/
i
}}
</p>
...
...
@@ -1080,9 +1080,9 @@ $('#my-alert').bind('closed', function () {
</div>
{{! /example }}
<pre
class=
"prettyprint linenums"
>
<
div class="btn-group" data-toggle="buttons-checkbox"
>
<
button type="button" class="btn"
>
Left
<
/button
>
<
button type="button" class="btn"
>
Middle
<
/button
>
<
button type="button" class="btn"
>
Right
<
/button
>
<
button type="button" class="btn
btn-primary
"
>
Left
<
/button
>
<
button type="button" class="btn
btn-primary
"
>
Middle
<
/button
>
<
button type="button" class="btn
btn-primary
"
>
Right
<
/button
>
<
/div
>
</pre>
...
...
@@ -1097,9 +1097,9 @@ $('#my-alert').bind('closed', function () {
</div>
{{! /example }}
<pre
class=
"prettyprint linenums"
>
<
div class="btn-group" data-toggle="buttons-radio"
>
<
button type="button" class="btn"
>
Left
<
/button
>
<
button type="button" class="btn"
>
Middle
<
/button
>
<
button type="button" class="btn"
>
Right
<
/button
>
<
button type="button" class="btn
btn-primary
"
>
Left
<
/button
>
<
button type="button" class="btn
btn-primary
"
>
Middle
<
/button
>
<
button type="button" class="btn
btn-primary
"
>
Right
<
/button
>
<
/div
>
</pre>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets