Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit 5bcff62

Browse files
bekospkozlowski-opensource
authored andcommittedDec 28, 2013
feat(progressbar): update to bootstrap3
1 parent dfc3b0b commit 5bcff62

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed
 

‎src/progressbar/docs/demo.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ <h3>Static</h3>
77
<div class="span4"><progressbar class="progress-striped active" max="200" value="166" type="danger"><i>166 / 200</i></progressbar></div>
88
</div>
99

10-
<h3>Dynamic <button class="btn btn-small btn-primary" type="button" ng-click="random()">Randomize</button></h3>
10+
<h3>Dynamic <button class="btn btn-sm btn-primary" type="button" ng-click="random()">Randomize</button></h3>
1111
<progressbar max="max" value="dynamic"><span style="color:black; white-space:nowrap;">{{dynamic}} / {{max}}</span></progressbar>
1212

1313
<small><em>No animation</em></small>
@@ -17,7 +17,7 @@ <h3>Dynamic <button class="btn btn-small btn-primary" type="button" ng-click="ra
1717
<progressbar class="progress-striped active" value="dynamic" type="{{type}}">{{type}} <i ng-show="showWarning">!!! Watch out !!!</i></progressbar>
1818

1919

20-
<h3>Stacked <button class="btn btn-small btn-primary" type="button" ng-click="randomStacked()">Randomize</button></h3>
20+
<h3>Stacked <button class="btn btn-sm btn-primary" type="button" ng-click="randomStacked()">Randomize</button></h3>
2121
<progress><bar ng-repeat="bar in stacked" value="bar.value" type="{{bar.type}}"><span ng-hide="bar.value < 5">{{bar.value}}%</span></bar></progress>
2222

2323
</div>

‎src/progressbar/test/progressbar.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ describe('progressbar directive', function () {
1010
$rootScope.$digest();
1111
}));
1212

13-
var BAR_CLASS = 'bar';
13+
var BAR_CLASS = 'progress-bar';
1414

1515
function getBar(i) {
1616
return element.children().eq(i);

‎template/progressbar/bar.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<div class="bar" ng-class="type && 'bar-' + type" ng-transclude></div>
1+
<div class="progress-bar" ng-class="type && 'progress-bar-' + type" ng-transclude></div>

‎template/progressbar/progressbar.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<div class="progress"><div class="bar" ng-class="type && 'bar-' + type" ng-transclude></div></div>
1+
<div class="progress"><div class="progress-bar" ng-class="type && 'progress-bar-' + type" ng-transclude></div></div>

0 commit comments

Comments
 (0)