Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
5d1b4206
Commit
5d1b4206
authored
Nov 22, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #5986: single toggle button html examples
parent
8df2811d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
14 deletions
+14
-14
docs/javascript.html
docs/javascript.html
+7
-7
docs/templates/pages/javascript.mustache
docs/templates/pages/javascript.mustache
+7
-7
No files found.
docs/javascript.html
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>
...
...
docs/templates/pages/javascript.mustache
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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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