Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Commit

Permalink
Added progress bar directive, with tests and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveWM committed Dec 30, 2014
1 parent 96d0a11 commit 483a9d6
Show file tree
Hide file tree
Showing 105 changed files with 1,680 additions and 1,232 deletions.
2,303 changes: 1,211 additions & 1,092 deletions dist/angular-strap.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/angular-strap.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/angular-strap.min.js.map

Large diffs are not rendered by default.

41 changes: 24 additions & 17 deletions dist/angular-strap.tpl.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* angular-strap
* @version v2.1.5 - 2014-12-23
* @version v2.1.5 - 2014-12-30
* @link http://mgcrea.github.io/angular-strap
* @author Olivier Louvignes ([email protected])
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand All @@ -15,13 +15,6 @@ angular.module('mgcrea.ngStrap.alert').run(['$templateCache', function($template

}]);

// Source: aside.tpl.js
angular.module('mgcrea.ngStrap.aside').run(['$templateCache', function($templateCache) {

$templateCache.put('aside/aside.tpl.html', '<div class="aside" tabindex="-1" role="dialog"><div class="aside-dialog"><div class="aside-content"><div class="aside-header" ng-show="title"><button type="button" class="close" ng-click="$hide()">&times;</button><h4 class="aside-title" ng-bind="title"></h4></div><div class="aside-body" ng-bind="content"></div><div class="aside-footer"><button type="button" class="btn btn-default" ng-click="$hide()">Close</button></div></div></div></div>');

}]);

// Source: datepicker.tpl.js
angular.module('mgcrea.ngStrap.datepicker').run(['$templateCache', function($templateCache) {

Expand All @@ -36,17 +29,24 @@ angular.module('mgcrea.ngStrap.dropdown').run(['$templateCache', function($templ

}]);

// Source: aside.tpl.js
angular.module('mgcrea.ngStrap.aside').run(['$templateCache', function($templateCache) {

$templateCache.put('aside/aside.tpl.html', '<div class="aside" tabindex="-1" role="dialog"><div class="aside-dialog"><div class="aside-content"><div class="aside-header" ng-show="title"><button type="button" class="close" ng-click="$hide()">&times;</button><h4 class="aside-title" ng-bind="title"></h4></div><div class="aside-body" ng-bind="content"></div><div class="aside-footer"><button type="button" class="btn btn-default" ng-click="$hide()">Close</button></div></div></div></div>');

}]);

// Source: modal.tpl.js
angular.module('mgcrea.ngStrap.modal').run(['$templateCache', function($templateCache) {

$templateCache.put('modal/modal.tpl.html', '<div class="modal" tabindex="-1" role="dialog"><div class="modal-dialog"><div class="modal-content"><div class="modal-header" ng-show="title"><button type="button" class="close" ng-click="$hide()">&times;</button><h4 class="modal-title" ng-bind="title"></h4></div><div class="modal-body" ng-bind="content"></div><div class="modal-footer"><button type="button" class="btn btn-default" ng-click="$hide()">Close</button></div></div></div></div>');

}]);

// Source: popover.tpl.js
angular.module('mgcrea.ngStrap.popover').run(['$templateCache', function($templateCache) {
// Source: progressbar.tpl.js
angular.module('mgcrea.ngStrap.progressbar').run(['$templateCache', function($templateCache) {

$templateCache.put('popover/popover.tpl.html', '<div class="popover"><div class="arrow"></div><h3 class="popover-title" ng-bind="title" ng-show="title"></h3><div class="popover-content" ng-bind="content"></div></div>');
$templateCache.put('progressbar/progressbar.tpl.html', '<div class="progress"><div class="progress-bar" ng-class="barClass" role="progressbar" aria-valuenow="{{value}}" aria-valuemin="0" aria-valuemax="100" ng-style="{width: value + \'%\', \'webkit-transition\': animate() ? null : \'none\', \'transition\': animate() ? null : \'none\'}"><span class="sr-only">{{value}}%</span><ng-transclude></ng-transclude></div></div>');

}]);

Expand All @@ -64,17 +64,17 @@ angular.module('mgcrea.ngStrap.tab').run(['$templateCache', function($templateCa

}]);

// Source: tooltip.tpl.js
angular.module('mgcrea.ngStrap.tooltip').run(['$templateCache', function($templateCache) {
// Source: popover.tpl.js
angular.module('mgcrea.ngStrap.popover').run(['$templateCache', function($templateCache) {

$templateCache.put('tooltip/tooltip.tpl.html', '<div class="tooltip in" ng-show="title"><div class="tooltip-arrow"></div><div class="tooltip-inner" ng-bind="title"></div></div>');
$templateCache.put('popover/popover.tpl.html', '<div class="popover"><div class="arrow"></div><h3 class="popover-title" ng-bind="title" ng-show="title"></h3><div class="popover-content" ng-bind="content"></div></div>');

}]);

// Source: typeahead.tpl.js
angular.module('mgcrea.ngStrap.typeahead').run(['$templateCache', function($templateCache) {
// Source: tooltip.tpl.js
angular.module('mgcrea.ngStrap.tooltip').run(['$templateCache', function($templateCache) {

$templateCache.put('typeahead/typeahead.tpl.html', '<ul tabindex="-1" class="typeahead dropdown-menu" ng-show="$isVisible()" role="select"><li role="presentation" ng-repeat="match in $matches" ng-class="{active: $index == $activeIndex}"><a role="menuitem" tabindex="-1" ng-click="$select($index, $event)" ng-bind="match.label"></a></li></ul>');
$templateCache.put('tooltip/tooltip.tpl.html', '<div class="tooltip in" ng-show="title"><div class="tooltip-arrow"></div><div class="tooltip-inner" ng-bind="title"></div></div>');

}]);

Expand All @@ -85,5 +85,12 @@ angular.module('mgcrea.ngStrap.timepicker').run(['$templateCache', function($tem

}]);

// Source: typeahead.tpl.js
angular.module('mgcrea.ngStrap.typeahead').run(['$templateCache', function($templateCache) {

$templateCache.put('typeahead/typeahead.tpl.html', '<ul tabindex="-1" class="typeahead dropdown-menu" ng-show="$isVisible()" role="select"><li role="presentation" ng-repeat="match in $matches" ng-class="{active: $index == $activeIndex}"><a role="menuitem" tabindex="-1" ng-click="$select($index, $event)" ng-bind="match.label"></a></li></ul>');

}]);


})(window, document);
4 changes: 2 additions & 2 deletions dist/angular-strap.tpl.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/modules/affix.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* angular-strap
* @version v2.1.5 - 2014-12-23
* @version v2.1.5 - 2014-12-30
* @link http://mgcrea.github.io/angular-strap
* @author Olivier Louvignes ([email protected])
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion dist/modules/affix.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/modules/affix.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/modules/alert.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* angular-strap
* @version v2.1.5 - 2014-12-23
* @version v2.1.5 - 2014-12-30
* @link http://mgcrea.github.io/angular-strap
* @author Olivier Louvignes ([email protected])
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion dist/modules/alert.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/modules/alert.min.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/modules/alert.tpl.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* angular-strap
* @version v2.1.5 - 2014-12-23
* @version v2.1.5 - 2014-12-30
* @link http://mgcrea.github.io/angular-strap
* @author Olivier Louvignes ([email protected])
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion dist/modules/alert.tpl.min.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* angular-strap
* @version v2.1.5 - 2014-12-23
* @version v2.1.5 - 2014-12-30
* @link http://mgcrea.github.io/angular-strap
* @author Olivier Louvignes ([email protected])
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion dist/modules/aside.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* angular-strap
* @version v2.1.5 - 2014-12-23
* @version v2.1.5 - 2014-12-30
* @link http://mgcrea.github.io/angular-strap
* @author Olivier Louvignes ([email protected])
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion dist/modules/aside.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 483a9d6

Please sign in to comment.