From 0efdd3fa60d00e5eadc24b1e42935fde1d764480 Mon Sep 17 00:00:00 2001 From: tidusjar Date: Mon, 8 Mar 2021 23:19:05 +0000 Subject: [PATCH] Small automation changes --- .../src/app/login/login.component.html | 2 +- .../src/app/login/login.component.ts | 6 ++--- .../tv-information-panel.component.html | 4 ++-- .../tv-request-grid.component.html | 2 +- .../components/tv/tv-details.component.html | 10 ++++----- .../usermanagement-user.component.html | 22 +++++++++---------- .../usermanagement.component.html | 12 +++++----- 7 files changed, 29 insertions(+), 29 deletions(-) diff --git a/src/Ombi/ClientApp/src/app/login/login.component.html b/src/Ombi/ClientApp/src/app/login/login.component.html index 8aa0faf94..0e1107008 100644 --- a/src/Ombi/ClientApp/src/app/login/login.component.html +++ b/src/Ombi/ClientApp/src/app/login/login.component.html @@ -27,7 +27,7 @@ {{'Login.RememberMe' | translate}} - + diff --git a/src/Ombi/ClientApp/src/app/login/login.component.ts b/src/Ombi/ClientApp/src/app/login/login.component.ts index 5a85783ae..5245b8239 100644 --- a/src/Ombi/ClientApp/src/app/login/login.component.ts +++ b/src/Ombi/ClientApp/src/app/login/login.component.ts @@ -73,7 +73,7 @@ export class LoginComponent implements OnDestroy, OnInit { }); this.form = this.fb.group({ - username: [""], + username: ["", Validators.required], password: [""], rememberMe: [false], }); @@ -112,7 +112,7 @@ export class LoginComponent implements OnDestroy, OnInit { public onSubmit(form: FormGroup) { if (form.invalid) { this.notify.open(this.errorValidation, "OK", { - duration: 3000 + duration: 300000 }); return; } @@ -139,7 +139,7 @@ export class LoginComponent implements OnDestroy, OnInit { }, err => { this.notify.open(this.errorBody, "OK", { - duration: 3000 + duration: 3000000 }) }); }); diff --git a/src/Ombi/ClientApp/src/app/media-details/components/tv/panels/tv-information-panel/tv-information-panel.component.html b/src/Ombi/ClientApp/src/app/media-details/components/tv/panels/tv-information-panel/tv-information-panel.component.html index 2997cda3c..3e0cd1952 100644 --- a/src/Ombi/ClientApp/src/app/media-details/components/tv/panels/tv-information-panel/tv-information-panel.component.html +++ b/src/Ombi/ClientApp/src/app/media-details/components/tv/panels/tv-information-panel/tv-information-panel.component.html @@ -21,8 +21,8 @@
- {{'MediaDetails.Status' | translate }}: - {{tv.status}} + {{'MediaDetails.Status' | translate }}: + {{tv.status}}
First Aired: {{tv.firstAired | date: 'mediumDate'}} diff --git a/src/Ombi/ClientApp/src/app/media-details/components/tv/panels/tv-request-grid/tv-request-grid.component.html b/src/Ombi/ClientApp/src/app/media-details/components/tv/panels/tv-request-grid/tv-request-grid.component.html index 91e4b2d8f..d6dbc9cab 100644 --- a/src/Ombi/ClientApp/src/app/media-details/components/tv/panels/tv-request-grid/tv-request-grid.component.html +++ b/src/Ombi/ClientApp/src/app/media-details/components/tv/panels/tv-request-grid/tv-request-grid.component.html @@ -67,7 +67,7 @@ --> - diff --git a/src/Ombi/ClientApp/src/app/media-details/components/tv/tv-details.component.html b/src/Ombi/ClientApp/src/app/media-details/components/tv/tv-details.component.html index 141c48b79..66dc83f3d 100644 --- a/src/Ombi/ClientApp/src/app/media-details/components/tv/tv-details.component.html +++ b/src/Ombi/ClientApp/src/app/media-details/components/tv/tv-details.component.html @@ -46,24 +46,24 @@
- - - - - diff --git a/src/Ombi/ClientApp/src/app/usermanagement/usermanagement-user.component.html b/src/Ombi/ClientApp/src/app/usermanagement/usermanagement-user.component.html index 64f5d76d2..74770a3d8 100644 --- a/src/Ombi/ClientApp/src/app/usermanagement/usermanagement-user.component.html +++ b/src/Ombi/ClientApp/src/app/usermanagement/usermanagement-user.component.html @@ -4,18 +4,18 @@
- +
-
- +
@@ -28,12 +28,12 @@
- +
- +
@@ -44,17 +44,17 @@
- +
- +
- +
@@ -117,13 +117,13 @@
- {{c.value | humanize}} + {{c.value | humanize}}
- {{c.value | humanize}} + {{c.value | humanize}}
@@ -134,7 +134,7 @@
- +
diff --git a/src/Ombi/ClientApp/src/app/usermanagement/usermanagement.component.html b/src/Ombi/ClientApp/src/app/usermanagement/usermanagement.component.html index b17b35dfd..1dcbf29c0 100644 --- a/src/Ombi/ClientApp/src/app/usermanagement/usermanagement.component.html +++ b/src/Ombi/ClientApp/src/app/usermanagement/usermanagement.component.html @@ -73,10 +73,10 @@ Last Logged In - + {{u.lastLoggedIn | amLocal | amDateFormat: 'l LT'}} - + Not logged in yet! @@ -92,10 +92,10 @@ Jellyfin User - + Roles - +
{{claim.value}}
@@ -105,7 +105,7 @@ - + @@ -115,7 +115,7 @@
- +