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
bdd822a9
Commit
bdd822a9
authored
10 years ago
by
Chris Rebert
Browse files
Options
Download
Email Patches
Plain Diff
regenerate minified docs JS & CSS
parent
7d0f7e84
5 merge requests
!28721
Hot test
,
!13463
add button to toggle the optional theme when viewing the docs
,
!16605
Test pull please ignore
,
!22103
test
,
!25326
Adjust examples
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
docs/_includes/header.html
+1
-1
docs/_includes/header.html
docs/assets/css/docs.min.css
+1
-1
docs/assets/css/docs.min.css
docs/assets/js/_src/application.js
+6
-5
docs/assets/js/_src/application.js
docs/assets/js/docs.min.js
+1
-1
docs/assets/js/docs.min.js
with
9 additions
and
8 deletions
+9
-8
docs/_includes/header.html
+
1
-
1
View file @
bdd822a9
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
<link
href=
"../dist/css/bootstrap.min.css"
rel=
"stylesheet"
>
<link
href=
"../dist/css/bootstrap.min.css"
rel=
"stylesheet"
>
{% if page.slug == "css" or page.slug == "components" or page.slug == "js" %}
{% if page.slug == "css" or page.slug == "components" or page.slug == "js" %}
<!-- Optional Bootstrap Theme -->
<!-- Optional Bootstrap Theme -->
<link
href=
""
data-href=
"../dist/css/bootstrap-theme.min.css"
rel=
"stylesheet"
id=
"bs-theme-stylesheet"
>
<link
href=
"
data:text/css;charset=utf-8,
"
data-href=
"../dist/css/bootstrap-theme.min.css"
rel=
"stylesheet"
id=
"bs-theme-stylesheet"
>
{% endif %}
{% endif %}
<!-- Documentation extras -->
<!-- Documentation extras -->
...
...
This diff is collapsed.
Click to expand it.
docs/assets/css/docs.min.css
+
1
-
1
View file @
bdd822a9
This diff is collapsed.
Click to expand it.
docs/assets/js/_src/application.js
+
6
-
5
View file @
bdd822a9
...
@@ -58,14 +58,15 @@
...
@@ -58,14 +58,15 @@
var
stylesheetLink
=
$
(
'
#bs-theme-stylesheet
'
)
var
stylesheetLink
=
$
(
'
#bs-theme-stylesheet
'
)
var
themeBtn
=
$
(
'
#bs-theme-btn
'
)
var
themeBtn
=
$
(
'
#bs-theme-btn
'
)
themeBtn
.
click
(
function
()
{
themeBtn
.
click
(
function
()
{
if
(
stylesheetLink
.
attr
(
'
href
'
))
{
var
href
=
stylesheetLink
.
attr
(
'
href
'
);
stylesheetLink
.
attr
(
'
href
'
,
''
)
if
(
!
href
||
href
.
indexOf
(
'
data
'
)
===
0
)
{
themeBtn
.
text
(
'
Activate Theme
'
)
}
else
{
stylesheetLink
.
attr
(
'
href
'
,
stylesheetLink
.
attr
(
'
data-href
'
))
stylesheetLink
.
attr
(
'
href
'
,
stylesheetLink
.
attr
(
'
data-href
'
))
themeBtn
.
text
(
'
Deactivate Theme
'
)
themeBtn
.
text
(
'
Deactivate Theme
'
)
}
}
else
{
stylesheetLink
.
attr
(
'
href
'
,
''
)
themeBtn
.
text
(
'
Activate Theme
'
)
}
})
})
})();
})();
...
...
This diff is collapsed.
Click to expand it.
docs/assets/js/docs.min.js
+
1
-
1
View file @
bdd822a9
...
@@ -13,4 +13,4 @@ var Holder=Holder||{};!function(a,b){function c(a,b,c){b=parseInt(b,10),a=parseI
...
@@ -13,4 +13,4 @@ var Holder=Holder||{};!function(a,b){function c(a,b,c){b=parseInt(b,10),a=parseI
* Licensed under the Creative Commons Attribution 3.0 Unported License. For
* Licensed under the Creative Commons Attribution 3.0 Unported License. For
* details, see http://creativecommons.org/licenses/by/3.0/.
* details, see http://creativecommons.org/licenses/by/3.0/.
*/
*/
!
function
(
a
){
a
(
function
(){
var
b
=
a
(
window
),
c
=
a
(
document
.
body
);
c
.
scrollspy
({
target
:
"
.bs-docs-sidebar
"
}),
b
.
on
(
"
load
"
,
function
(){
c
.
scrollspy
(
"
refresh
"
)}),
a
(
"
.bs-docs-container [href=#]
"
).
click
(
function
(
a
){
a
.
preventDefault
()}),
setTimeout
(
function
(){
var
b
=
a
(
"
.bs-docs-sidebar
"
);
b
.
affix
({
offset
:{
top
:
function
(){
var
c
=
b
.
offset
().
top
,
d
=
parseInt
(
b
.
children
(
0
).
css
(
"
margin-top
"
),
10
),
e
=
a
(
"
.bs-docs-nav
"
).
height
();
return
this
.
top
=
c
-
e
-
d
},
bottom
:
function
(){
return
this
.
bottom
=
a
(
"
.bs-docs-footer
"
).
outerHeight
(
!
0
)}}})},
100
),
setTimeout
(
function
(){
a
(
"
.bs-top
"
).
affix
()},
100
),
a
(
"
.tooltip-demo
"
).
tooltip
({
selector
:
'
[data-toggle="tooltip"]
'
,
container
:
"
body
"
}),
a
(
"
.tooltip-test
"
).
tooltip
(),
a
(
"
.popover-test
"
).
popover
(),
a
(
"
.bs-docs-navbar
"
).
tooltip
({
selector
:
'
a[data-toggle="tooltip"]
'
,
container
:
"
.bs-docs-navbar .nav
"
}),
a
(
"
.bs-docs-popover
"
).
popover
(),
a
(
"
.bs-docs-popover-dismiss
"
).
popover
({
trigger
:
"
focus
"
}),
a
(
"
#loading-example-btn
"
).
click
(
function
(){
var
b
=
a
(
this
);
b
.
button
(
"
loading
"
),
setTimeout
(
function
(){
b
.
button
(
"
reset
"
)},
3
e3
)})})}(
jQuery
);
!
function
(
a
){
a
(
function
(){
var
b
=
a
(
window
),
c
=
a
(
document
.
body
);
c
.
scrollspy
({
target
:
"
.bs-docs-sidebar
"
}),
b
.
on
(
"
load
"
,
function
(){
c
.
scrollspy
(
"
refresh
"
)}),
a
(
"
.bs-docs-container [href=#]
"
).
click
(
function
(
a
){
a
.
preventDefault
()}),
setTimeout
(
function
(){
var
b
=
a
(
"
.bs-docs-sidebar
"
);
b
.
affix
({
offset
:{
top
:
function
(){
var
c
=
b
.
offset
().
top
,
d
=
parseInt
(
b
.
children
(
0
).
css
(
"
margin-top
"
),
10
),
e
=
a
(
"
.bs-docs-nav
"
).
height
();
return
this
.
top
=
c
-
e
-
d
},
bottom
:
function
(){
return
this
.
bottom
=
a
(
"
.bs-docs-footer
"
).
outerHeight
(
!
0
)}}})},
100
),
setTimeout
(
function
(){
a
(
"
.bs-top
"
).
affix
()},
100
),
function
(){
var
b
=
a
(
"
#bs-theme-stylesheet
"
),
c
=
a
(
"
#bs-theme-btn
"
);
c
.
click
(
function
(){
var
a
=
b
.
attr
(
"
href
"
);
a
&&
0
!==
a
.
indexOf
(
"
data
"
)?(
b
.
attr
(
"
href
"
,
""
),
c
.
text
(
"
Activate Theme
"
)):(
b
.
attr
(
"
href
"
,
b
.
attr
(
"
data-href
"
)),
c
.
text
(
"
Deactivate Theme
"
))})}(),
a
(
"
.tooltip-demo
"
).
tooltip
({
selector
:
'
[data-toggle="tooltip"]
'
,
container
:
"
body
"
}),
a
(
"
.tooltip-test
"
).
tooltip
(),
a
(
"
.popover-test
"
).
popover
(),
a
(
"
.bs-docs-navbar
"
).
tooltip
({
selector
:
'
a[data-toggle="tooltip"]
'
,
container
:
"
.bs-docs-navbar .nav
"
}),
a
(
"
.bs-docs-popover
"
).
popover
(),
a
(
"
.bs-docs-popover-dismiss
"
).
popover
({
trigger
:
"
focus
"
}),
a
(
"
#loading-example-btn
"
).
click
(
function
(){
var
b
=
a
(
this
);
b
.
button
(
"
loading
"
),
setTimeout
(
function
(){
b
.
button
(
"
reset
"
)},
3
e3
)})})}(
jQuery
);
\ No newline at end of file
\ No newline at end of file
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