From d11934f3d820188065519c7e32a8d1502ee1007d Mon Sep 17 00:00:00 2001 From: Erazor2 Date: Tue, 4 Jan 2022 22:04:53 +0000 Subject: Added URL-Button --- ui/src/app/app.component.html | 4 ++++ ui/src/app/app.component.ts | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'ui/src/app') diff --git a/ui/src/app/app.component.html b/ui/src/app/app.component.html index cebd97f..74da172 100644 --- a/ui/src/app/app.component.html +++ b/ui/src/app/app.component.html @@ -87,6 +87,7 @@ {{ download.value.speed | speed }} {{ download.value.eta | eta }} + @@ -123,6 +124,9 @@ + + + diff --git a/ui/src/app/app.component.ts b/ui/src/app/app.component.ts index 8f7d965..2ae880b 100644 --- a/ui/src/app/app.component.ts +++ b/ui/src/app/app.component.ts @@ -1,6 +1,6 @@ import { Component, ViewChild, ElementRef, AfterViewInit } from '@angular/core'; import { faTrashAlt, faCheckCircle, faTimesCircle } from '@fortawesome/free-regular-svg-icons'; -import { faRedoAlt, faSun, faMoon } from '@fortawesome/free-solid-svg-icons'; +import { faRedoAlt, faSun, faMoon, faExternalLinkAlt } from '@fortawesome/free-solid-svg-icons'; import { CookieService } from 'ngx-cookie-service'; import { DownloadsService, Status } from './downloads.service'; @@ -33,7 +33,8 @@ export class AppComponent implements AfterViewInit { faTimesCircle = faTimesCircle; faRedoAlt = faRedoAlt; faSun = faSun; - faMoon = faMoon; + faMoon = faMoon; + faExternalLinkAlt = faExternalLinkAlt; constructor(public downloads: DownloadsService, private cookieService: CookieService) { this.format = cookieService.get('metube_format') || 'any'; -- cgit From 4eb3916546602d2cb25e06de26ffb8b8683b46d0 Mon Sep 17 00:00:00 2001 From: Erazor2 Date: Tue, 4 Jan 2022 22:05:33 +0000 Subject: Fixed retry for all Sites --- ui/src/app/app.component.html | 2 +- ui/src/app/app.component.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'ui/src/app') diff --git a/ui/src/app/app.component.html b/ui/src/app/app.component.html index 74da172..c0957af 100644 --- a/ui/src/app/app.component.html +++ b/ui/src/app/app.component.html @@ -122,7 +122,7 @@ {{ download.value.title }} - + diff --git a/ui/src/app/app.component.ts b/ui/src/app/app.component.ts index 2ae880b..a9b46a3 100644 --- a/ui/src/app/app.component.ts +++ b/ui/src/app/app.component.ts @@ -130,8 +130,8 @@ export class AppComponent implements AfterViewInit { }); } - retryDownload(key: string, quality: string, format: string) { - this.addDownload(key, quality, format); + retryDownload(key: string, url: string, quality: string, format: string) { + this.addDownload(url, quality, format); this.downloads.delById('done', [key]).subscribe(); } -- cgit From d060421c15394d19d5c3294634bc20e953634af0 Mon Sep 17 00:00:00 2001 From: Erazor2 Date: Tue, 4 Jan 2022 22:10:23 +0000 Subject: Updated layout for new Button --- ui/src/app/app.component.html | 1 + 1 file changed, 1 insertion(+) (limited to 'ui/src/app') diff --git a/ui/src/app/app.component.html b/ui/src/app/app.component.html index c0957af..59d2c75 100644 --- a/ui/src/app/app.component.html +++ b/ui/src/app/app.component.html @@ -75,6 +75,7 @@ Speed ETA + -- cgit From 57bf8a3f3b2fcd25ccb390697a38dd4d8407f2d3 Mon Sep 17 00:00:00 2001 From: Erazor2 Date: Tue, 4 Jan 2022 22:16:42 +0000 Subject: Updated layout for new Button --- ui/src/app/app.component.html | 1 + 1 file changed, 1 insertion(+) (limited to 'ui/src/app') diff --git a/ui/src/app/app.component.html b/ui/src/app/app.component.html index 59d2c75..f681f79 100644 --- a/ui/src/app/app.component.html +++ b/ui/src/app/app.component.html @@ -107,6 +107,7 @@ + -- cgit