From 6955c59680ba51f50a84cdfc380cdfb3473c251c Mon Sep 17 00:00:00 2001 From: tidusjar Date: Sat, 27 Mar 2021 22:46:33 +0000 Subject: [PATCH] Fixed up the reset password pages and some small tweaks --- .../app/login/resetpassword.component.html | 51 +++++++------ .../src/app/login/resetpassword.component.ts | 2 + .../login/tokenresetpassword.component.html | 72 +++++++++++++------ .../movie-advanced-options.component.html | 9 ++- .../tv-advanced-options.component.html | 13 ++-- src/Ombi/wwwroot/translations/en.json | 1 + 6 files changed, 95 insertions(+), 53 deletions(-) diff --git a/src/Ombi/ClientApp/src/app/login/resetpassword.component.html b/src/Ombi/ClientApp/src/app/login/resetpassword.component.html index c1c013719..9fbeb7eda 100644 --- a/src/Ombi/ClientApp/src/app/login/resetpassword.component.html +++ b/src/Ombi/ClientApp/src/app/login/resetpassword.component.html @@ -1,21 +1,32 @@ - -
-
-
-
- -
-
-

+ +
+ +
+
+
+ +
-
-
\ No newline at end of file + + {{'PasswordReset.EmailAddressPlaceholder' | translate}} + + + {{'PasswordReset.EmailAddressPlaceholder' | translate}} is required + + + + + + + + + + +
+
diff --git a/src/Ombi/ClientApp/src/app/login/resetpassword.component.ts b/src/Ombi/ClientApp/src/app/login/resetpassword.component.ts index 7c228e962..104d77c68 100644 --- a/src/Ombi/ClientApp/src/app/login/resetpassword.component.ts +++ b/src/Ombi/ClientApp/src/app/login/resetpassword.component.ts @@ -2,12 +2,14 @@ import { Component, OnInit, Inject } from "@angular/core"; import { FormBuilder, FormGroup, Validators } from "@angular/forms"; import { DomSanitizer } from "@angular/platform-browser"; +import { fadeInOutAnimation } from "../animations/fadeinout"; import { ICustomizationSettings } from "../interfaces"; import { IdentityService, ImageService, NotificationService, SettingsService } from "../services"; @Component({ templateUrl: "./resetpassword.component.html", + animations: [fadeInOutAnimation], styleUrls: ["./login.component.scss"], }) export class ResetPasswordComponent implements OnInit { diff --git a/src/Ombi/ClientApp/src/app/login/tokenresetpassword.component.html b/src/Ombi/ClientApp/src/app/login/tokenresetpassword.component.html index fdedfb900..6a1c2567f 100644 --- a/src/Ombi/ClientApp/src/app/login/tokenresetpassword.component.html +++ b/src/Ombi/ClientApp/src/app/login/tokenresetpassword.component.html @@ -1,30 +1,56 @@ -
-
-
-
- -
-
-

+ +
+ +
+
+
+ + +
-
- -
\ No newline at end of file diff --git a/src/Ombi/ClientApp/src/app/media-details/components/movie/panels/movie-advanced-options/movie-advanced-options.component.html b/src/Ombi/ClientApp/src/app/media-details/components/movie/panels/movie-advanced-options/movie-advanced-options.component.html index b7d3d6b40..dc21e18c4 100644 --- a/src/Ombi/ClientApp/src/app/media-details/components/movie/panels/movie-advanced-options/movie-advanced-options.component.html +++ b/src/Ombi/ClientApp/src/app/media-details/components/movie/panels/movie-advanced-options/movie-advanced-options.component.html @@ -1,6 +1,5 @@ -

- - Advanced Options

+

{{'MediaDetails.AdvancedOptions' | translate }}

+
{{'MediaDetails.QualityProfilesSelect' | translate }} @@ -18,6 +17,6 @@
- - + +
\ No newline at end of file diff --git a/src/Ombi/ClientApp/src/app/media-details/components/tv/panels/tv-advanced-options/tv-advanced-options.component.html b/src/Ombi/ClientApp/src/app/media-details/components/tv/panels/tv-advanced-options/tv-advanced-options.component.html index 14e6629f1..13c39a111 100644 --- a/src/Ombi/ClientApp/src/app/media-details/components/tv/panels/tv-advanced-options/tv-advanced-options.component.html +++ b/src/Ombi/ClientApp/src/app/media-details/components/tv/panels/tv-advanced-options/tv-advanced-options.component.html @@ -1,7 +1,10 @@ -

- - Advanced Options

+

{{'MediaDetails.AdvancedOptions' | translate }}

+
+ {{'MediaDetails.QualityProfilesSelect' | translate }} @@ -18,6 +21,6 @@
- - + +
\ No newline at end of file diff --git a/src/Ombi/wwwroot/translations/en.json b/src/Ombi/wwwroot/translations/en.json index 28565d0f7..cf865fce7 100644 --- a/src/Ombi/wwwroot/translations/en.json +++ b/src/Ombi/wwwroot/translations/en.json @@ -254,6 +254,7 @@ "AdvancedOptions":"Advanced Options", "AutoApproveOptions":"You can configure the request here, once requested it will be send to your DVR application and will be auto approved!", "AutoApproveOptionsTv":"You can configure the request here, once requested it will be send to your DVR application and will be auto approved! If the request is already in Sonarr, we will not change the root folder or quality profile if you set it!", + "AutoApproveOptionsTvShort":"You can configure the request here, once requested it will be send to your DVR application! If the request is already in Sonarr, we will not change the root folder or quality profile if you set it!", "QualityProfilesSelect":"Select A Quality Profile", "RootFolderSelect":"Select A Root Folder", "Status":"Status",