aboutsummaryrefslogtreecommitdiff
path: root/ui/src/app/app.component.html
diff options
context:
space:
mode:
authorasuyou <asuyou@users.noreply.github.com>2021-10-28 11:19:17 +0100
committerasuyou <asuyou@users.noreply.github.com>2021-10-28 11:19:17 +0100
commitd0518142599d326bac12a66e0173eb0e2da2c66d (patch)
tree636f6f54b93deda350af0389e93283e4a08af660 /ui/src/app/app.component.html
parentAdded simple MP3 support (diff)
downloadmetube-d0518142599d326bac12a66e0173eb0e2da2c66d.tar.gz
metube-d0518142599d326bac12a66e0173eb0e2da2c66d.tar.bz2
metube-d0518142599d326bac12a66e0173eb0e2da2c66d.zip
Added quality choice based on format
Diffstat (limited to 'ui/src/app/app.component.html')
-rw-r--r--ui/src/app/app.component.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/ui/src/app/app.component.html b/ui/src/app/app.component.html
index 20a78b4..1a90d5f 100644
--- a/ui/src/app/app.component.html
+++ b/ui/src/app/app.component.html
@@ -26,20 +26,20 @@
<div class="col-md-5 add-url-component">
<div class="input-group">
<div class="input-group-prepend">
- <span class="input-group-text">Video quality</span>
+ <span class="input-group-text">Format</span>
</div>
- <select class="custom-select" name="quality" [(ngModel)]="quality" (change)="qualityChanged()" [disabled]="addInProgress || downloads.loading">
- <option *ngFor="let q of qualities" [ngValue]="q.id">{{ q.text }}</option>
+ <select class="custom-select" name="format" [(ngModel)]="format" (change)="formatChanged()" [disabled]="addInProgress || downloads.loading">
+ <option *ngFor="let f of formats" [ngValue]="f.id">{{ f.text }}</option>
</select>
</div>
</div>
<div class="col-md-4 add-url-component">
<div class="input-group">
<div class="input-group-prepend">
- <span class="input-group-text">Format</span>
+ <span class="input-group-text">Quality</span>
</div>
- <select class="custom-select" name="format" [(ngModel)]="format" (change)="formatChanged()" [disabled]="addInProgress || downloads.loading">
- <option *ngFor="let f of formats" [ngValue]="f.id">{{ f.text }}</option>
+ <select class="custom-select" name="quality" [(ngModel)]="quality" (change)="qualityChanged()" [disabled]="addInProgress || downloads.loading">
+ <option *ngFor="let q of qualities" [ngValue]="q.id">{{ q.text }}</option>
</select>
</div>
</div>
bgstack15