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
66e140db
Commit
66e140db
authored
Oct 26, 2014
by
Heinrich Fenkart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Docs: progress bars' animation now needs to be manually toggled
Refs #14409
parent
5eb08f5d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
docs/_includes/components/progress-bars.html
docs/_includes/components/progress-bars.html
+3
-2
docs/assets/js/src/application.js
docs/assets/js/src/application.js
+5
-1
No files found.
docs/_includes/components/progress-bars.html
View file @
66e140db
...
@@ -168,12 +168,13 @@
...
@@ -168,12 +168,13 @@
<p>
Add
<code>
.active
</code>
to
<code>
.progress-bar-striped
</code>
to animate the stripes right to left. Not available in IE9 and below.
</p>
<p>
Add
<code>
.active
</code>
to
<code>
.progress-bar-striped
</code>
to animate the stripes right to left. Not available in IE9 and below.
</p>
<div
class=
"bs-example"
>
<div
class=
"bs-example"
>
<div
class=
"progress"
>
<div
class=
"progress"
>
<div
class=
"progress-bar progress-bar-striped
active
"
role=
"progressbar"
aria-valuenow=
"45"
aria-valuemin=
"0"
aria-valuemax=
"100"
style=
"width: 45%"
><span
class=
"sr-only"
>
45% Complete
</span></div>
<div
class=
"progress-bar progress-bar-striped"
role=
"progressbar"
aria-valuenow=
"45"
aria-valuemin=
"0"
aria-valuemax=
"100"
style=
"width: 45%"
><span
class=
"sr-only"
>
45% Complete
</span></div>
</div>
</div>
<button
type=
"button"
class=
"btn btn-default bs-docs-activate-animated-progressbar"
data-toggle=
"button"
aria-pressed=
"false"
autocomplete=
"off"
>
Toggle animation
</button>
</div>
</div>
{% highlight html %}
{% highlight html %}
<div
class=
"progress"
>
<div
class=
"progress"
>
<div
class=
"progress-bar progress-bar-striped active"
role=
"progressbar"
aria-valuenow=
"45"
aria-valuemin=
"0"
aria-valuemax=
"100"
style=
"width: 45%"
>
<div
class=
"progress-bar progress-bar-striped active"
role=
"progressbar"
aria-valuenow=
"45"
aria-valuemin=
"0"
aria-valuemax=
"100"
style=
"width: 45%"
>
<span
class=
"sr-only"
>
45% Complete
</span>
<span
class=
"sr-only"
>
45% Complete
</span>
</div>
</div>
</div>
</div>
...
...
docs/assets/js/src/application.js
View file @
66e140db
...
@@ -101,7 +101,7 @@
...
@@ -101,7 +101,7 @@
$
(
'
.bs-docs-popover
'
).
popover
()
$
(
'
.bs-docs-popover
'
).
popover
()
// Button state demo
// Button state demo
$
(
'
#loading-example-btn
'
).
click
(
function
()
{
$
(
'
#loading-example-btn
'
).
on
(
'
click
'
,
function
()
{
var
btn
=
$
(
this
)
var
btn
=
$
(
this
)
btn
.
button
(
'
loading
'
)
btn
.
button
(
'
loading
'
)
setTimeout
(
function
()
{
setTimeout
(
function
()
{
...
@@ -109,6 +109,10 @@
...
@@ -109,6 +109,10 @@
},
3000
)
},
3000
)
})
})
// Activate animated progress bar
$
(
'
.bs-docs-activate-animated-progressbar
'
).
on
(
'
click
'
,
function
()
{
$
(
this
).
siblings
(
'
.progress
'
).
find
(
'
.progress-bar-striped
'
).
toggleClass
(
'
active
'
)
})
// Config ZeroClipboard
// Config ZeroClipboard
ZeroClipboard
.
config
({
ZeroClipboard
.
config
({
...
...
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