aboutsummaryrefslogtreecommitdiff
path: root/ui/src/app/app.component.html
diff options
context:
space:
mode:
authorAlex <alexta69@gmail.com>2019-12-13 22:43:58 +0200
committerAlex <alexta69@gmail.com>2019-12-13 22:43:58 +0200
commit13e690dd63af0102cf682af79cdceb782da82abf (patch)
tree9e33d5fa85bf0f2ba353a91eae19d6a3af5f1869 /ui/src/app/app.component.html
parentrecursive add (download entire channels) (diff)
downloadmetube-13e690dd63af0102cf682af79cdceb782da82abf.tar.gz
metube-13e690dd63af0102cf682af79cdceb782da82abf.tar.bz2
metube-13e690dd63af0102cf682af79cdceb782da82abf.zip
add quality selection
Diffstat (limited to 'ui/src/app/app.component.html')
-rw-r--r--ui/src/app/app.component.html11
1 files changed, 7 insertions, 4 deletions
diff --git a/ui/src/app/app.component.html b/ui/src/app/app.component.html
index e0c67cd..e1f29d6 100644
--- a/ui/src/app/app.component.html
+++ b/ui/src/app/app.component.html
@@ -19,11 +19,14 @@
<div class="input-group add-url-box">
<input type="text" class="form-control" placeholder="Video or playlist URL" name="addUrl" [(ngModel)]="addUrl" [disabled]="addInProgress || downloads.loading">
<div class="input-group-append">
- <button class="btn btn-primary" type="submit" (click)="addDownload()" [disabled]="addInProgress || downloads.loading">
- <span class="spinner-border spinner-border-sm" role="status" id="add-spinner" *ngIf="addInProgress"></span>
- {{ addInProgress ? "Adding..." : "Add" }}
- </button>
+ <select class="custom-select" name="quality" [(ngModel)]="quality" [disabled]="addInProgress || downloads.loading">
+ <option *ngFor="let q of qualities" [ngValue]="q.id">{{ q.text }}</option>
+ </select>
</div>
+ <button class="btn btn-primary add-url" type="submit" (click)="addDownload()" [disabled]="addInProgress || downloads.loading">
+ <span class="spinner-border spinner-border-sm" role="status" id="add-spinner" *ngIf="addInProgress"></span>
+ {{ addInProgress ? "Adding..." : "Add" }}
+ </button>
</div>
</form>
bgstack15