Updated favicon, added progress bar functionality

This commit is contained in:
Isaac Grynsztein
2018-01-17 14:35:47 -05:00
parent 917235189a
commit 2a80ea92cc
6 changed files with 155 additions and 21 deletions

View File

@@ -33,7 +33,12 @@
</mat-card>
<br/>
<div class="centered big" id="bar_div" *ngIf="downloadingfile;else nofile">
<mat-progress-bar mode="indeterminate"></mat-progress-bar>
<div *ngIf="determinateProgress;else indeterminateprogress">
<mat-progress-bar mode="determinate" value="{{percentDownloaded}}"></mat-progress-bar>
</div>
<ng-template #indeterminateprogress>
<mat-progress-bar mode="indeterminate"></mat-progress-bar>
</ng-template>
</div>
<ng-template #nofile>