diff options
author | Alex <alexta69@gmail.com> | 2019-12-06 16:30:07 +0200 |
---|---|---|
committer | Alex <alexta69@gmail.com> | 2019-12-06 16:30:07 +0200 |
commit | 3cf7d25f4c54b6de9e1dd88e8d207100fcce8c11 (patch) | |
tree | 22286bf9f887905329e0fdca01af415361a26124 /ui | |
parent | fix broken PREFIX_URL feature (diff) | |
download | metube-3cf7d25f4c54b6de9e1dd88e8d207100fcce8c11.tar.gz metube-3cf7d25f4c54b6de9e1dd88e8d207100fcce8c11.tar.bz2 metube-3cf7d25f4c54b6de9e1dd88e8d207100fcce8c11.zip |
improved error handling
Diffstat (limited to 'ui')
-rw-r--r-- | ui/src/app/app.component.html | 4 | ||||
-rw-r--r-- | ui/src/app/downloads.service.ts | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/ui/src/app/app.component.html b/ui/src/app/app.component.html index 9e927ed..e0c67cd 100644 --- a/ui/src/app/app.component.html +++ b/ui/src/app/app.component.html @@ -81,11 +81,11 @@ <app-slave-checkbox [id]="download.key" [master]="doneMasterCheckbox" [checkable]="download.value"></app-slave-checkbox> </td> <td> - <div style="display: inline-block; width: 1.3rem;"> + <div style="display: inline-block; width: 1.5rem;"> <fa-icon *ngIf="download.value.status == 'finished'" [icon]="faCheckCircle" style="color: green;"></fa-icon> <fa-icon *ngIf="download.value.status == 'error'" [icon]="faTimesCircle" style="color: red;"></fa-icon> </div> - {{ download.value.title }} + <span ngbTooltip="{{download.value.msg}}">{{ download.value.title }}</span> </td> <td><button type="button" class="btn btn-link" (click)="delDownload('done', download.key)"><fa-icon [icon]="faTrashAlt"></fa-icon></button></td> </tr> diff --git a/ui/src/app/downloads.service.ts b/ui/src/app/downloads.service.ts index 823aa60..935feba 100644 --- a/ui/src/app/downloads.service.ts +++ b/ui/src/app/downloads.service.ts @@ -14,6 +14,7 @@ interface Download { title: string; url: string, status: string; + msg: string; percent: number; speed: number; eta: number; |