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
73a88dbe
Commit
73a88dbe
authored
Aug 21, 2015
by
Heinrich Fenkart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Docs: Update all dropdowns to new HTML structure
parent
70e4c720
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
68 additions
and
68 deletions
+68
-68
docs/_includes/nav-docs.html
docs/_includes/nav-docs.html
+1
-1
docs/components/button-group.md
docs/components/button-group.md
+20
-20
docs/components/input-group.md
docs/components/input-group.md
+28
-28
docs/components/scrollspy.md
docs/components/scrollspy.md
+6
-6
docs/examples/sticky-footer-navbar/index.html
docs/examples/sticky-footer-navbar/index.html
+9
-9
js/tests/visual/dropdown.html
js/tests/visual/dropdown.html
+4
-4
No files found.
docs/_includes/nav-docs.html
View file @
73a88dbe
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<form
class=
"bd-search hidden-sm-down"
>
<form
class=
"bd-search hidden-sm-down"
>
<input
type=
"text"
class=
"form-control"
id=
"search-input"
placeholder=
"Search..."
>
<input
type=
"text"
class=
"form-control"
id=
"search-input"
placeholder=
"Search..."
>
<
ul
class=
"dropdown-menu bd-search-results"
id=
"search-results"
></ul
>
<
div
class=
"dropdown-menu bd-search-results"
id=
"search-results"
></div
>
</form>
</form>
<nav
class=
"bd-links"
id=
"docsNavbarContent"
>
<nav
class=
"bd-links"
id=
"docsNavbarContent"
>
...
...
docs/components/button-group.md
View file @
73a88dbe
...
@@ -96,10 +96,10 @@ Place a `.btn-group` within another `.btn-group` when you want dropdown menus mi
...
@@ -96,10 +96,10 @@ Place a `.btn-group` within another `.btn-group` when you want dropdown menus mi
<button
id=
"btnGroupDrop1"
type=
"button"
class=
"btn btn-secondary dropdown-toggle"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
>
<button
id=
"btnGroupDrop1"
type=
"button"
class=
"btn btn-secondary dropdown-toggle"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
>
Dropdown
Dropdown
</button>
</button>
<
ul
class=
"dropdown-menu"
aria-labelledby=
"btnGroupDrop1"
>
<
div
class=
"dropdown-menu"
aria-labelledby=
"btnGroupDrop1"
>
<
li><a
href=
"#"
>
Dropdown link
</a></li
>
<
a
class=
"dropdown-item"
href=
"#"
>
Dropdown link
</a
>
<
li><a
href=
"#"
>
Dropdown link
</a></li
>
<
a
class=
"dropdown-item"
href=
"#"
>
Dropdown link
</a
>
</
ul
>
</
div
>
</div>
</div>
</div>
</div>
{% endexample %}
{% endexample %}
...
@@ -116,10 +116,10 @@ Make a set of buttons appear vertically stacked rather than horizontally. **Spli
...
@@ -116,10 +116,10 @@ Make a set of buttons appear vertically stacked rather than horizontally. **Spli
<button
id=
"btnGroupVerticalDrop1"
type=
"button"
class=
"btn btn-secondary dropdown-toggle"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
>
<button
id=
"btnGroupVerticalDrop1"
type=
"button"
class=
"btn btn-secondary dropdown-toggle"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
>
Dropdown
Dropdown
</button>
</button>
<
ul
class=
"dropdown-menu"
aria-labelledby=
"btnGroupVerticalDrop1"
>
<
div
class=
"dropdown-menu"
aria-labelledby=
"btnGroupVerticalDrop1"
>
<
li><a
href=
"#"
>
Dropdown link
</a></li
>
<
a
class=
"dropdown-item"
href=
"#"
>
Dropdown link
</a
>
<
li><a
href=
"#"
>
Dropdown link
</a></li
>
<
a
class=
"dropdown-item"
href=
"#"
>
Dropdown link
</a
>
</
ul
>
</
div
>
</div>
</div>
<button
type=
"button"
class=
"btn btn-secondary"
>
Button
</button>
<button
type=
"button"
class=
"btn btn-secondary"
>
Button
</button>
<button
type=
"button"
class=
"btn btn-secondary"
>
Button
</button>
<button
type=
"button"
class=
"btn btn-secondary"
>
Button
</button>
...
@@ -127,28 +127,28 @@ Make a set of buttons appear vertically stacked rather than horizontally. **Spli
...
@@ -127,28 +127,28 @@ Make a set of buttons appear vertically stacked rather than horizontally. **Spli
<button
id=
"btnGroupVerticalDrop2"
type=
"button"
class=
"btn btn-secondary dropdown-toggle"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
>
<button
id=
"btnGroupVerticalDrop2"
type=
"button"
class=
"btn btn-secondary dropdown-toggle"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
>
Dropdown
Dropdown
</button>
</button>
<
ul
class=
"dropdown-menu"
aria-labelledby=
"btnGroupVerticalDrop2"
>
<
div
class=
"dropdown-menu"
aria-labelledby=
"btnGroupVerticalDrop2"
>
<
li><a
href=
"#"
>
Dropdown link
</a></li
>
<
a
class=
"dropdown-item"
href=
"#"
>
Dropdown link
</a
>
<
li><a
href=
"#"
>
Dropdown link
</a></li
>
<
a
class=
"dropdown-item"
href=
"#"
>
Dropdown link
</a
>
</
ul
>
</
div
>
</div>
</div>
<div
class=
"btn-group"
role=
"group"
>
<div
class=
"btn-group"
role=
"group"
>
<button
id=
"btnGroupVerticalDrop3"
type=
"button"
class=
"btn btn-secondary dropdown-toggle"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
>
<button
id=
"btnGroupVerticalDrop3"
type=
"button"
class=
"btn btn-secondary dropdown-toggle"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
>
Dropdown
Dropdown
</button>
</button>
<
ul
class=
"dropdown-menu"
aria-labelledby=
"btnGroupVerticalDrop3"
>
<
div
class=
"dropdown-menu"
aria-labelledby=
"btnGroupVerticalDrop3"
>
<
li><a
href=
"#"
>
Dropdown link
</a></li
>
<
a
class=
"dropdown-item"
href=
"#"
>
Dropdown link
</a
>
<
li><a
href=
"#"
>
Dropdown link
</a></li
>
<
a
class=
"dropdown-item"
href=
"#"
>
Dropdown link
</a
>
</
ul
>
</
div
>
</div>
</div>
<div
class=
"btn-group"
role=
"group"
>
<div
class=
"btn-group"
role=
"group"
>
<button
id=
"btnGroupVerticalDrop4"
type=
"button"
class=
"btn btn-secondary dropdown-toggle"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
>
<button
id=
"btnGroupVerticalDrop4"
type=
"button"
class=
"btn btn-secondary dropdown-toggle"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
>
Dropdown
Dropdown
</button>
</button>
<
ul
class=
"dropdown-menu"
aria-labelledby=
"btnGroupVerticalDrop4"
>
<
div
class=
"dropdown-menu"
aria-labelledby=
"btnGroupVerticalDrop4"
>
<
li><a
href=
"#"
>
Dropdown link
</a></li
>
<
a
class=
"dropdown-item"
href=
"#"
>
Dropdown link
</a
>
<
li><a
href=
"#"
>
Dropdown link
</a></li
>
<
a
class=
"dropdown-item"
href=
"#"
>
Dropdown link
</a
>
</
ul
>
</
div
>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
docs/components/input-group.md
View file @
73a88dbe
...
@@ -120,13 +120,13 @@ Buttons in input groups are a bit different and require one extra level of nesti
...
@@ -120,13 +120,13 @@ Buttons in input groups are a bit different and require one extra level of nesti
<button
type=
"button"
class=
"btn btn-secondary dropdown-toggle"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
>
<button
type=
"button"
class=
"btn btn-secondary dropdown-toggle"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
>
Action
Action
</button>
</button>
<
ul
class=
"dropdown-menu"
>
<
div
class=
"dropdown-menu"
>
<
li><a
href=
"#"
>
Action
</a></li
>
<
a
class=
"dropdown-item"
href=
"#"
>
Action
</a
>
<
li><a
href=
"#"
>
Another action
</a></li
>
<
a
class=
"dropdown-item"
href=
"#"
>
Another action
</a
>
<
li><a
href=
"#"
>
Something else here
</a></li
>
<
a
class=
"dropdown-item"
href=
"#"
>
Something else here
</a
>
<
li
role=
"separator"
class=
"divider"
></li
>
<
div
role=
"separator"
class=
"dropdown-divider"
></div
>
<
li><a
href=
"#"
>
Separated link
</a></li
>
<
a
class=
"dropdown-item"
href=
"#"
>
Separated link
</a
>
</
ul
>
</
div
>
</div>
</div>
<input
type=
"text"
class=
"form-control"
aria-label=
"Text input with dropdown button"
>
<input
type=
"text"
class=
"form-control"
aria-label=
"Text input with dropdown button"
>
</div>
</div>
...
@@ -138,13 +138,13 @@ Buttons in input groups are a bit different and require one extra level of nesti
...
@@ -138,13 +138,13 @@ Buttons in input groups are a bit different and require one extra level of nesti
<button
type=
"button"
class=
"btn btn-secondary dropdown-toggle"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
>
<button
type=
"button"
class=
"btn btn-secondary dropdown-toggle"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
>
Action
Action
</button>
</button>
<
ul
class=
"dropdown-menu dropdown-menu-right"
>
<
div
class=
"dropdown-menu dropdown-menu-right"
>
<
li><a
href=
"#"
>
Action
</a></li
>
<
a
class=
"dropdown-item"
href=
"#"
>
Action
</a
>
<
li><a
href=
"#"
>
Another action
</a></li
>
<
a
class=
"dropdown-item"
href=
"#"
>
Another action
</a
>
<
li><a
href=
"#"
>
Something else here
</a></li
>
<
a
class=
"dropdown-item"
href=
"#"
>
Something else here
</a
>
<
li
role=
"separator"
class=
"divider"
></li
>
<
div
role=
"separator"
class=
"dropdown-divider"
></div
>
<
li><a
href=
"#"
>
Separated link
</a></li
>
<
a
class=
"dropdown-item"
href=
"#"
>
Separated link
</a
>
</
ul
>
</
div
>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -162,13 +162,13 @@ Buttons in input groups are a bit different and require one extra level of nesti
...
@@ -162,13 +162,13 @@ Buttons in input groups are a bit different and require one extra level of nesti
<button
type=
"button"
class=
"btn btn-secondary dropdown-toggle"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
>
<button
type=
"button"
class=
"btn btn-secondary dropdown-toggle"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
>
<span
class=
"sr-only"
>
Toggle Dropdown
</span>
<span
class=
"sr-only"
>
Toggle Dropdown
</span>
</button>
</button>
<
ul
class=
"dropdown-menu"
>
<
div
class=
"dropdown-menu"
>
<
li><a
href=
"#"
>
Action
</a></li
>
<
a
class=
"dropdown-item"
href=
"#"
>
Action
</a
>
<
li><a
href=
"#"
>
Another action
</a></li
>
<
a
class=
"dropdown-item"
href=
"#"
>
Another action
</a
>
<
li><a
href=
"#"
>
Something else here
</a></li
>
<
a
class=
"dropdown-item"
href=
"#"
>
Something else here
</a
>
<
li
role=
"separator"
class=
"divider"
></li
>
<
div
role=
"separator"
class=
"dropdown-divider"
></div
>
<
li><a
href=
"#"
>
Separated link
</a></li
>
<
a
class=
"dropdown-item"
href=
"#"
>
Separated link
</a
>
</
ul
>
</
div
>
</div>
</div>
<input
type=
"text"
class=
"form-control"
aria-label=
"Text input with segmented button dropdown"
>
<input
type=
"text"
class=
"form-control"
aria-label=
"Text input with segmented button dropdown"
>
</div>
</div>
...
@@ -181,13 +181,13 @@ Buttons in input groups are a bit different and require one extra level of nesti
...
@@ -181,13 +181,13 @@ Buttons in input groups are a bit different and require one extra level of nesti
<button
type=
"button"
class=
"btn btn-secondary dropdown-toggle"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
>
<button
type=
"button"
class=
"btn btn-secondary dropdown-toggle"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
>
<span
class=
"sr-only"
>
Toggle Dropdown
</span>
<span
class=
"sr-only"
>
Toggle Dropdown
</span>
</button>
</button>
<
ul
class=
"dropdown-menu dropdown-menu-right"
>
<
div
class=
"dropdown-menu dropdown-menu-right"
>
<
li><a
href=
"#"
>
Action
</a></li
>
<
a
class=
"dropdown-item"
href=
"#"
>
Action
</a
>
<
li><a
href=
"#"
>
Another action
</a></li
>
<
a
class=
"dropdown-item"
href=
"#"
>
Another action
</a
>
<
li><a
href=
"#"
>
Something else here
</a></li
>
<
a
class=
"dropdown-item"
href=
"#"
>
Something else here
</a
>
<
li
role=
"separator"
class=
"divider"
></li
>
<
div
role=
"separator"
class=
"dropdown-divider"
></div
>
<
li><a
href=
"#"
>
Separated link
</a></li
>
<
a
class=
"dropdown-item"
href=
"#"
>
Separated link
</a
>
</
ul
>
</
div
>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
docs/components/scrollspy.md
View file @
73a88dbe
...
@@ -21,12 +21,12 @@ The ScrollSpy plugin is for automatically updating nav targets based on scroll p
...
@@ -21,12 +21,12 @@ The ScrollSpy plugin is for automatically updating nav targets based on scroll p
<li
class=
"nav-item"
><a
class=
"nav-link"
href=
"#mdo"
>
@mdo
</a></li>
<li
class=
"nav-item"
><a
class=
"nav-link"
href=
"#mdo"
>
@mdo
</a></li>
<li
class=
"nav-item dropdown"
>
<li
class=
"nav-item dropdown"
>
<a
class=
"nav-link dropdown-toggle"
data-toggle=
"dropdown"
href=
"#"
role=
"button"
aria-haspopup=
"true"
aria-expanded=
"false"
>
Dropdown
</a>
<a
class=
"nav-link dropdown-toggle"
data-toggle=
"dropdown"
href=
"#"
role=
"button"
aria-haspopup=
"true"
aria-expanded=
"false"
>
Dropdown
</a>
<
ul
class=
"dropdown-menu"
>
<
div
class=
"dropdown-menu"
>
<
li><a
class=
"dropdown-item"
href=
"#one"
>
one
</a></li
>
<
a
class=
"dropdown-item"
href=
"#one"
>
one
</a
>
<
li><a
class=
"dropdown-item"
href=
"#two"
>
two
</a></li
>
<
a
class=
"dropdown-item"
href=
"#two"
>
two
</a
>
<
li
role=
"separator"
class=
"dropdown-divider"
></li
>
<
div
role=
"separator"
class=
"dropdown-divider"
></div
>
<
li><a
class=
"dropdown-item"
href=
"#three"
>
three
</a></li
>
<
a
class=
"dropdown-item"
href=
"#three"
>
three
</a
>
</
ul
>
</
div
>
</li>
</li>
</ul>
</ul>
</nav>
</nav>
...
...
docs/examples/sticky-footer-navbar/index.html
View file @
73a88dbe
...
@@ -42,15 +42,15 @@
...
@@ -42,15 +42,15 @@
<li><a
href=
"#contact"
>
Contact
</a></li>
<li><a
href=
"#contact"
>
Contact
</a></li>
<li
class=
"dropdown"
>
<li
class=
"dropdown"
>
<a
href=
"#"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
role=
"button"
aria-expanded=
"false"
>
Dropdown
</a>
<a
href=
"#"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
role=
"button"
aria-expanded=
"false"
>
Dropdown
</a>
<
ul
class=
"dropdown-menu"
>
<
div
class=
"dropdown-menu"
>
<
li><a
href=
"#"
>
Action
</a></li
>
<
a
class=
"dropdown-item"
href=
"#"
>
Action
</a
>
<
li><a
href=
"#"
>
Another action
</a></li
>
<
a
class=
"dropdown-item"
href=
"#"
>
Another action
</a
>
<
li><a
href=
"#"
>
Something else here
</a></li
>
<
a
class=
"dropdown-item"
href=
"#"
>
Something else here
</a
>
<
li
role=
"separator"
class=
"divider"
></li
>
<
div
role=
"separator"
class=
"dropdown-divider"
></div
>
<
li
class=
"dropdown-header"
>
Nav header
</li
>
<
h6
class=
"dropdown-header"
>
Nav header
</h6
>
<
li><a
href=
"#"
>
Separated link
</a></li
>
<
a
class=
"dropdown-item"
href=
"#"
>
Separated link
</a
>
<
li><a
href=
"#"
>
One more separated link
</a></li
>
<
a
class=
"dropdown-item"
href=
"#"
>
One more separated link
</a
>
</
ul
>
</
div
>
</li>
</li>
</ul>
</ul>
</div>
<!--/.nav-collapse -->
</div>
<!--/.nav-collapse -->
...
...
js/tests/visual/dropdown.html
View file @
73a88dbe
...
@@ -82,25 +82,25 @@
...
@@ -82,25 +82,25 @@
<a
id=
"drop4"
class=
"nav-link"
role=
"button"
data-toggle=
"dropdown"
href=
"#"
aria-haspopup=
"true"
aria-expanded=
"false"
>
<a
id=
"drop4"
class=
"nav-link"
role=
"button"
data-toggle=
"dropdown"
href=
"#"
aria-haspopup=
"true"
aria-expanded=
"false"
>
Dropdown
Dropdown
</a>
</a>
<
ul
id=
"menu1"
class=
"dropdown-menu"
aria-labelledby=
"drop4"
>
<
div
id=
"menu1"
class=
"dropdown-menu"
aria-labelledby=
"drop4"
>
<a
class=
"dropdown-item"
href=
"https://twitter.com/fat"
>
Action
</a>
<a
class=
"dropdown-item"
href=
"https://twitter.com/fat"
>
Action
</a>
<a
class=
"dropdown-item"
href=
"https://twitter.com/fat"
>
Another action
</a>
<a
class=
"dropdown-item"
href=
"https://twitter.com/fat"
>
Another action
</a>
<a
class=
"dropdown-item"
href=
"https://twitter.com/fat"
>
Something else here
</a>
<a
class=
"dropdown-item"
href=
"https://twitter.com/fat"
>
Something else here
</a>
<div
class=
"dropdown-divider"
></div>
<div
class=
"dropdown-divider"
></div>
<a
class=
"dropdown-item"
href=
"https://twitter.com/fat"
>
Separated link
</a>
<a
class=
"dropdown-item"
href=
"https://twitter.com/fat"
>
Separated link
</a>
</
ul
>
</
div
>
</li>
</li>
<li
class=
"dropdown nav-item"
>
<li
class=
"dropdown nav-item"
>
<a
id=
"drop5"
class=
"nav-link"
role=
"button"
data-toggle=
"dropdown"
href=
"#"
aria-haspopup=
"true"
aria-expanded=
"false"
>
<a
id=
"drop5"
class=
"nav-link"
role=
"button"
data-toggle=
"dropdown"
href=
"#"
aria-haspopup=
"true"
aria-expanded=
"false"
>
Dropdown 2
Dropdown 2
</a>
</a>
<
ul
id=
"menu2"
class=
"dropdown-menu"
aria-labelledby=
"drop5"
>
<
div
id=
"menu2"
class=
"dropdown-menu"
aria-labelledby=
"drop5"
>
<a
class=
"dropdown-item"
href=
"https://twitter.com/fat"
>
Action
</a>
<a
class=
"dropdown-item"
href=
"https://twitter.com/fat"
>
Action
</a>
<a
class=
"dropdown-item"
href=
"https://twitter.com/fat"
>
Another action
</a>
<a
class=
"dropdown-item"
href=
"https://twitter.com/fat"
>
Another action
</a>
<a
class=
"dropdown-item"
href=
"https://twitter.com/fat"
>
Something else here
</a>
<a
class=
"dropdown-item"
href=
"https://twitter.com/fat"
>
Something else here
</a>
<div
class=
"dropdown-divider"
></div>
<div
class=
"dropdown-divider"
></div>
<a
class=
"dropdown-item"
href=
"https://twitter.com/fat"
>
Separated link
</a>
<a
class=
"dropdown-item"
href=
"https://twitter.com/fat"
>
Separated link
</a>
</
ul
>
</
div
>
</li>
</li>
</ul>
</ul>
...
...
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