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
5a3f273b
Unverified
Commit
5a3f273b
authored
4 years ago
by
XhmikosR
Committed by
GitHub
4 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Move `href` attribute first (#31835)
parent
afc0e83e
No related merge requests found
Changes
16
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
js/tests/integration/index.html
+1
-1
js/tests/integration/index.html
js/tests/visual/alert.html
+1
-1
js/tests/visual/alert.html
js/tests/visual/button.html
+1
-1
js/tests/visual/button.html
js/tests/visual/carousel.html
+1
-1
js/tests/visual/carousel.html
js/tests/visual/collapse.html
+1
-1
js/tests/visual/collapse.html
js/tests/visual/dropdown.html
+1
-1
js/tests/visual/dropdown.html
js/tests/visual/modal.html
+1
-1
js/tests/visual/modal.html
js/tests/visual/popover.html
+1
-1
js/tests/visual/popover.html
js/tests/visual/scrollspy.html
+1
-1
js/tests/visual/scrollspy.html
js/tests/visual/tab.html
+1
-1
js/tests/visual/tab.html
js/tests/visual/toast.html
+1
-1
js/tests/visual/toast.html
js/tests/visual/tooltip.html
+1
-1
js/tests/visual/tooltip.html
site/content/docs/5.0/getting-started/download.md
+1
-1
site/content/docs/5.0/getting-started/download.md
site/content/docs/5.0/getting-started/introduction.md
+2
-2
site/content/docs/5.0/getting-started/introduction.md
site/layouts/partials/home/masthead-followup.html
+1
-1
site/layouts/partials/home/masthead-followup.html
site/layouts/partials/stylesheet.html
+1
-1
site/layouts/partials/stylesheet.html
with
17 additions
and
17 deletions
+17
-17
js/tests/integration/index.html
+
1
-
1
View file @
5a3f273b
...
...
@@ -6,7 +6,7 @@
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<!-- Bootstrap CSS -->
<link
rel=
"stylesheet"
href=
"../../../dist/css/bootstrap.min.css"
>
<link
href=
"../../../dist/css/bootstrap.min.css"
rel=
"stylesheet"
>
<title>
Hello, world!
</title>
</head>
...
...
This diff is collapsed.
Click to expand it.
js/tests/visual/alert.html
+
1
-
1
View file @
5a3f273b
...
...
@@ -3,7 +3,7 @@
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<link
rel=
"stylesheet"
href=
"../../../dist/css/bootstrap.min.css"
>
<link
href=
"../../../dist/css/bootstrap.min.css"
rel=
"stylesheet"
>
<title>
Alert
</title>
</head>
<body>
...
...
This diff is collapsed.
Click to expand it.
js/tests/visual/button.html
+
1
-
1
View file @
5a3f273b
...
...
@@ -3,7 +3,7 @@
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<link
rel=
"stylesheet"
href=
"../../../dist/css/bootstrap.min.css"
>
<link
href=
"../../../dist/css/bootstrap.min.css"
rel=
"stylesheet"
>
<title>
Button
</title>
</head>
<body>
...
...
This diff is collapsed.
Click to expand it.
js/tests/visual/carousel.html
+
1
-
1
View file @
5a3f273b
...
...
@@ -3,7 +3,7 @@
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<link
rel=
"stylesheet"
href=
"../../../dist/css/bootstrap.min.css"
>
<link
href=
"../../../dist/css/bootstrap.min.css"
rel=
"stylesheet"
>
<title>
Carousel
</title>
<style>
.carousel-item
{
...
...
This diff is collapsed.
Click to expand it.
js/tests/visual/collapse.html
+
1
-
1
View file @
5a3f273b
...
...
@@ -3,7 +3,7 @@
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<link
rel=
"stylesheet"
href=
"../../../dist/css/bootstrap.min.css"
>
<link
href=
"../../../dist/css/bootstrap.min.css"
rel=
"stylesheet"
>
<title>
Collapse
</title>
</head>
<body>
...
...
This diff is collapsed.
Click to expand it.
js/tests/visual/dropdown.html
+
1
-
1
View file @
5a3f273b
...
...
@@ -3,7 +3,7 @@
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<link
rel=
"stylesheet"
href=
"../../../dist/css/bootstrap.min.css"
>
<link
href=
"../../../dist/css/bootstrap.min.css"
rel=
"stylesheet"
>
<title>
Dropdown
</title>
</head>
<body>
...
...
This diff is collapsed.
Click to expand it.
js/tests/visual/modal.html
+
1
-
1
View file @
5a3f273b
...
...
@@ -3,7 +3,7 @@
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<link
rel=
"stylesheet"
href=
"../../../dist/css/bootstrap.min.css"
>
<link
href=
"../../../dist/css/bootstrap.min.css"
rel=
"stylesheet"
>
<title>
Modal
</title>
<style>
#tall
{
...
...
This diff is collapsed.
Click to expand it.
js/tests/visual/popover.html
+
1
-
1
View file @
5a3f273b
...
...
@@ -3,7 +3,7 @@
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<link
rel=
"stylesheet"
href=
"../../../dist/css/bootstrap.min.css"
>
<link
href=
"../../../dist/css/bootstrap.min.css"
rel=
"stylesheet"
>
<title>
Popover
</title>
</head>
<body>
...
...
This diff is collapsed.
Click to expand it.
js/tests/visual/scrollspy.html
+
1
-
1
View file @
5a3f273b
...
...
@@ -3,7 +3,7 @@
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<link
rel=
"stylesheet"
href=
"../../../dist/css/bootstrap.min.css"
>
<link
href=
"../../../dist/css/bootstrap.min.css"
rel=
"stylesheet"
>
<title>
Scrollspy
</title>
<style>
body
{
padding-top
:
70px
;
}
...
...
This diff is collapsed.
Click to expand it.
js/tests/visual/tab.html
+
1
-
1
View file @
5a3f273b
...
...
@@ -3,7 +3,7 @@
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<link
rel=
"stylesheet"
href=
"../../../dist/css/bootstrap.min.css"
>
<link
href=
"../../../dist/css/bootstrap.min.css"
rel=
"stylesheet"
>
<title>
Tab
</title>
<style>
h4
{
...
...
This diff is collapsed.
Click to expand it.
js/tests/visual/toast.html
+
1
-
1
View file @
5a3f273b
...
...
@@ -3,7 +3,7 @@
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<link
rel=
"stylesheet"
href=
"../../../dist/css/bootstrap.min.css"
>
<link
href=
"../../../dist/css/bootstrap.min.css"
rel=
"stylesheet"
>
<title>
Toast
</title>
<style>
.notifications
{
...
...
This diff is collapsed.
Click to expand it.
js/tests/visual/tooltip.html
+
1
-
1
View file @
5a3f273b
...
...
@@ -3,7 +3,7 @@
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<link
rel=
"stylesheet"
href=
"../../../dist/css/bootstrap.min.css"
>
<link
href=
"../../../dist/css/bootstrap.min.css"
rel=
"stylesheet"
>
<title>
Tooltip
</title>
<style>
#target
{
...
...
This diff is collapsed.
Click to expand it.
site/content/docs/5.0/getting-started/download.md
+
1
-
1
View file @
5a3f273b
...
...
@@ -39,7 +39,7 @@ If you want to download and examine our [examples]({{< docsref "/examples" >}}),
Skip the download with
[
jsDelivr
](
https://www.jsdelivr.com/
)
to deliver cached version of Bootstrap's compiled CSS and JS to your project.
```
html
<link
rel=
"stylesheet"
href=
"{{< param "
cdn.css
"
>
}}" integrity="{{
<
param
"
cdn.css_hash
"
>
}}" crossorigin="anonymous">
<link
href=
"{{< param "
cdn.css
"
>
}}"
rel="stylesheet"
integrity="{{
<
param
"
cdn.css_hash
"
>
}}" crossorigin="anonymous">
<script
src=
"{{< param "
cdn.js_bundle
"
>
}}
"
integrity=
"
{{
<
param
"
cdn.js_bundle_hash
"
>
}}
"
crossorigin=
"
anonymous
"
>
</script>
```
...
...
This diff is collapsed.
Click to expand it.
site/content/docs/5.0/getting-started/introduction.md
+
2
-
2
View file @
5a3f273b
...
...
@@ -19,7 +19,7 @@ Looking to quickly add Bootstrap to your project? Use jsDelivr, a free open sour
Copy-paste the stylesheet
`<link>`
into your
`<head>`
before all other stylesheets to load our CSS.
```
html
<link
rel=
"stylesheet"
href=
"{{< param "
cdn.css
"
>
}}" integrity="{{
<
param
"
cdn.css_hash
"
>
}}" crossorigin="anonymous">
<link
href=
"{{< param "
cdn.css
"
>
}}"
rel="stylesheet"
integrity="{{
<
param
"
cdn.css_hash
"
>
}}" crossorigin="anonymous">
```
### JS
...
...
@@ -66,7 +66,7 @@ Be sure to have your pages set up with the latest design and development standar
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<!-- Bootstrap CSS -->
<link
rel=
"stylesheet"
href=
"{{< param "
cdn.css
"
>
}}" integrity="{{
<
param
"
cdn.css_hash
"
>
}}" crossorigin="anonymous">
<link
href=
"{{< param "
cdn.css
"
>
}}"
rel="stylesheet"
integrity="{{
<
param
"
cdn.css_hash
"
>
}}" crossorigin="anonymous">
<title>
Hello, world!
</title>
</head>
...
...
This diff is collapsed.
Click to expand it.
site/layouts/partials/home/masthead-followup.html
+
1
-
1
View file @
5a3f273b
...
...
@@ -33,7 +33,7 @@
</div>
<div
class=
"col-md-7 pl-md-5"
>
{{ highlight (printf (`
<!-- CSS only -->
<link
rel=
"stylesheet"
href=
"%s"
integrity=
%q
crossorigin=
"anonymous"
>
`) .Site.Params.cdn.css (.Site.Params.cdn.css_hash | safeHTMLAttr)) "html" "" }}
<link
href=
"%s"
rel=
"stylesheet"
integrity=
%q
crossorigin=
"anonymous"
>
`) .Site.Params.cdn.css (.Site.Params.cdn.css_hash | safeHTMLAttr)) "html" "" }}
{{ highlight (printf (`
<!-- JavaScript Bundle with Popper.js -->
<script
src=
"%s"
integrity=
%q
crossorigin=
"anonymous"
></script>
`) .Site.Params.cdn.js_bundle (.Site.Params.cdn.js_bundle_hash | safeHTMLAttr)) "html" "" }}
</div>
...
...
This diff is collapsed.
Click to expand it.
site/layouts/partials/stylesheet.html
+
1
-
1
View file @
5a3f273b
...
...
@@ -16,5 +16,5 @@
{{- $style := resources.Get "scss/docs.scss" | toCSS $sassOptions | postCSS $postcssOptions }}
<link
rel=
"stylesheet"
href=
"{{ $style.Permalink | relURL }}"
>
<link
href=
"{{ $style.Permalink | relURL }}"
rel=
"stylesheet"
>
{{- end }}
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