fixed things

This commit is contained in:
nelsonlaquet 2013-09-01 02:55:14 -05:00
parent 7be342af20
commit 1c2e19afec
2 changed files with 8 additions and 1 deletions

View file

@ -61,6 +61,7 @@
height: 10px; height: 10px;
z-index: -1; z-index: -1;
background: @pfm-purple; background: @pfm-purple;
display: none;
} }
&.has-error { &.has-error {
@ -71,6 +72,12 @@
} }
} }
&.uploading {
.bar {
display: block;
}
}
&.is-processing { &.is-processing {
border-color: @blue; border-color: @blue;

View file

@ -4,7 +4,7 @@
</div> </div>
<ul class="uploads"> <ul class="uploads">
<li ng-repeat="upload in data.queue" ng-class="{'has-error': upload.error != null, 'is-processing': upload.isUploading && upload.error == null && upload.progress >= 100}" ng-animate="'upload-queue'"> <li ng-repeat="upload in data.queue" ng-class="{'uploading': upload.isUploading, 'has-error': upload.error != null, 'is-processing': upload.isUploading && upload.error == null && upload.progress >= 100}" ng-animate="'upload-queue'">
<p> <p>
<span ng-show="!upload.success"> <span ng-show="!upload.success">
<strong ng-show="upload.isUploading && upload.error == null && upload.progress >= 100">Processing</strong> <strong ng-show="upload.isUploading && upload.error == null && upload.progress >= 100">Processing</strong>