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
0fcb0af1
Commit
0fcb0af1
authored
5 years ago
by
Mark Otto
Committed by
Mark Otto
5 years ago
Browse files
Options
Download
Email Patches
Plain Diff
no need for checks or conditions
parent
39e46157
2 merge requests
!31948
Examples/Floating-labels: fix bad behavior with autofill
,
!30064
test
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
site/layouts/partials/docs-subnav.html
+6
-15
site/layouts/partials/docs-subnav.html
with
6 additions
and
15 deletions
+6
-15
site/layouts/partials/docs-subnav.html
+
6
-
15
View file @
0fcb0af1
<nav
class=
"bd-subnavbar pt-2 pb-3 pb-md-2"
>
<div
class=
"container d-flex align-items-md-center flex-wrap"
>
<div
class=
"d-flex align-items-center mr-m
d
-auto order-2 order-md-0"
>
<div
class=
"d-flex align-items-center mr-
s
m-auto order-2 order-md-0"
>
<div
class=
"d-none d-md-block"
>
<a
class=
"link-dark"
href=
"/"
onclick=
"ga('send', 'event', 'Subnav', 'click', 'Bootstrap');"
>
Bootstrap
</a>
{{ partial "icons/booticon-chevron-right.svg" (dict "class" "booticon d-inline-block mx-2 flex-shrink-0" "width" "12px" "height" "12px") }}
</div>
{{ if (eq .Page.Layout "docs") or (eq .Page.Layout "single") }}
<a
class=
"link-dark"
href=
"/docs/{{ .Site.Params.docs_version }}/getting-started/introduction/"
onclick=
"ga('send', 'event', 'Subnav', 'click', 'Documentation');"
>
Documentation
</a>
{{ partial "icons/booticon-chevron-right.svg" (dict "class" "booticon d-inline-block mx-2 flex-shrink-0" "width" "12px" "height" "12px") }}
{{ end }}
<a
class=
"link-dark"
href=
"/docs/{{ .Site.Params.docs_version }}/getting-started/introduction/"
onclick=
"ga('send', 'event', 'Subnav', 'click', 'Documentation');"
>
Documentation
</a>
{{ partial "icons/booticon-chevron-right.svg" (dict "class" "booticon d-inline-block mx-2 flex-shrink-0" "width" "12px" "height" "12px") }}
{{ partial "docs-versions" . }}
{{ if eq .Page.Title "Examples" }}
{{ partial "icons/booticon-chevron-right.svg" (dict "class" "booticon d-inline-block mx-2 flex-shrink-0" "width" "12px" "height" "12px") }}
<span
class=
"text-muted"
>
Examples
</span>
{{ end }}
</div>
<form
class=
"bd-search d-flex align-items-center mb-2 mb-md-0"
>
<input
type=
"search"
class=
"form-control"
id=
"search-input"
placeholder=
"Search..."
aria-label=
"Search for..."
autocomplete=
"off"
data-docs-version=
"{{ .Site.Params.docs_version }}"
>
</form>
{{ if eq .Page.Layout "docs" }}
<button
class=
"btn btn-link bd-search-docs-toggle d-md-none p-0 ml-3 order-3 ml-auto"
type=
"button"
data-toggle=
"collapse"
data-target=
"#bd-docs-nav"
aria-controls=
"bd-docs-nav"
aria-expanded=
"false"
aria-label=
"Toggle docs navigation"
>
{{ partial "icons/menu.svg" (dict "width" "30" "height" "30") }}
</button>
{{ end }}
<button
class=
"btn btn-link bd-search-docs-toggle d-md-none p-0 ml-3 order-3 ml-auto"
type=
"button"
data-toggle=
"collapse"
data-target=
"#bd-docs-nav"
aria-controls=
"bd-docs-nav"
aria-expanded=
"false"
aria-label=
"Toggle docs navigation"
>
{{ partial "icons/menu.svg" (dict "width" "30" "height" "30") }}
</button>
</div>
</nav>
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