Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(uploads): add callbacks for success and error
- Loading branch information
Rob McGuinness
committed
Jan 17, 2018
1 parent
23ebf45
commit 0bed02f
Showing
2 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<div ng-class="completed ? 'progress progress-complete' : 'progress'"> | ||
<div class="progress-bar" role="progressbar" aria-valuenow="{{percentage}}" aria-valuemin="0" aria-valuemax="100" ng-style="{'width': percentage + '%'}"> | ||
<div ng-class="{progress: true, 'progress-complete': completed}"> | ||
<div ng-class="{'progress-bar progress-bar-success': true, 'progress-bar-danger': error}" role="progressbar" aria-valuenow="{{percentage}}" aria-valuemin="0" aria-valuemax="100" ng-style="{'width': percentage + '%'}"> | ||
<span class="sr-only">{{percentage}}% Complete</span> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters