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

Commit

Permalink
feat(progressbar): update to bootstrap3
Browse files Browse the repository at this point in the history
  • Loading branch information
bekos authored and pkozlowski-opensource committed Dec 28, 2013
1 parent dfc3b0b commit 5bcff62
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/progressbar/docs/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ <h3>Static</h3>
<div class="span4"><progressbar class="progress-striped active" max="200" value="166" type="danger"><i>166 / 200</i></progressbar></div>
</div>

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

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


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

</div>
2 changes: 1 addition & 1 deletion src/progressbar/test/progressbar.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe('progressbar directive', function () {
$rootScope.$digest();
}));

var BAR_CLASS = 'bar';
var BAR_CLASS = 'progress-bar';

function getBar(i) {
return element.children().eq(i);
Expand Down
2 changes: 1 addition & 1 deletion template/progressbar/bar.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<div class="bar" ng-class="type && 'bar-' + type" ng-transclude></div>
<div class="progress-bar" ng-class="type && 'progress-bar-' + type" ng-transclude></div>
2 changes: 1 addition & 1 deletion template/progressbar/progressbar.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<div class="progress"><div class="bar" ng-class="type && 'bar-' + type" ng-transclude></div></div>
<div class="progress"><div class="progress-bar" ng-class="type && 'progress-bar-' + type" ng-transclude></div></div>

0 comments on commit 5bcff62

Please sign in to comment.