From 36d889212160a8f8350982e1029a92fd32b334a8 Mon Sep 17 00:00:00 2001 From: sephrat <34862846+sephrat@users.noreply.github.com> Date: Wed, 17 May 2023 17:11:42 +0200 Subject: [PATCH] fix: Fix various styling issues --- .../albums-grid/albums-grid.component.html | 12 +- .../movies-grid/movies-grid.component.html | 10 +- .../components/tv-grid/tv-grid.component.html | 12 +- .../failedrequests.component.html | 53 +++++---- .../failedrequests.component.ts | 1 + .../app/settings/issues/issues.component.html | 11 +- .../src/app/settings/jobs/jobs.component.html | 76 ++++++------- .../massemail/massemail.component.html | 60 +++++----- .../notifications/gotify.component.html | 44 ++++---- .../notifications/mattermost.component.html | 49 ++++---- .../notifications/mobile.component.html | 21 ++-- .../notifications/newsletter.component.html | 16 +-- .../notifications/pushbullet.component.html | 32 ++---- .../notifications/pushover.component.html | 105 +++++++++--------- .../notifications/slack.component.html | 72 ++++++------ .../notifications/telegram.component.html | 27 +++-- .../notifications/webhook.component.html | 29 ++--- .../usermanagement.component.html | 31 +++--- .../usermanagement-user.component.html | 10 +- 19 files changed, 330 insertions(+), 341 deletions(-) diff --git a/src/Ombi/ClientApp/src/app/requests-list/components/albums-grid/albums-grid.component.html b/src/Ombi/ClientApp/src/app/requests-list/components/albums-grid/albums-grid.component.html index 7e06a73364..c98270e7b2 100644 --- a/src/Ombi/ClientApp/src/app/requests-list/components/albums-grid/albums-grid.component.html +++ b/src/Ombi/ClientApp/src/app/requests-list/components/albums-grid/albums-grid.component.html @@ -5,13 +5,13 @@
- - + + + class="grow">{{'Requests.ProcessingRequests' | translate}} - + class="grow">{{'Requests.AvailableRequests' | translate}} +
@@ -69,4 +69,4 @@ - \ No newline at end of file + diff --git a/src/Ombi/ClientApp/src/app/requests-list/components/movies-grid/movies-grid.component.html b/src/Ombi/ClientApp/src/app/requests-list/components/movies-grid/movies-grid.component.html index 0e91ce5e3c..1111403215 100644 --- a/src/Ombi/ClientApp/src/app/requests-list/components/movies-grid/movies-grid.component.html +++ b/src/Ombi/ClientApp/src/app/requests-list/components/movies-grid/movies-grid.component.html @@ -5,13 +5,13 @@
- - + + + class="grow">{{'Requests.ProcessingRequests' | translate}} - + class="grow">{{'Requests.AvailableRequests' | translate}} +
diff --git a/src/Ombi/ClientApp/src/app/requests-list/components/tv-grid/tv-grid.component.html b/src/Ombi/ClientApp/src/app/requests-list/components/tv-grid/tv-grid.component.html index d7045665a3..3c03e06adc 100644 --- a/src/Ombi/ClientApp/src/app/requests-list/components/tv-grid/tv-grid.component.html +++ b/src/Ombi/ClientApp/src/app/requests-list/components/tv-grid/tv-grid.component.html @@ -5,13 +5,13 @@
- - + + + class="grow">{{'Requests.ProcessingRequests' | translate}} - + class="grow">{{'Requests.AvailableRequests' | translate}} +
@@ -63,7 +63,7 @@ - {{'Requests.Details' | translate}} + {{'Requests.Details' | translate}} diff --git a/src/Ombi/ClientApp/src/app/settings/failedrequests/failedrequests.component.html b/src/Ombi/ClientApp/src/app/settings/failedrequests/failedrequests.component.html index 2af9fbfdae..3eec0bffe4 100644 --- a/src/Ombi/ClientApp/src/app/settings/failedrequests/failedrequests.component.html +++ b/src/Ombi/ClientApp/src/app/settings/failedrequests/failedrequests.component.html @@ -2,26 +2,35 @@
- - - - - - - - - - - - - - - - - - - -
TitleTypeRetry CountError DescriptionDelete
- {{v.title}} - {{RequestType[v.type] | humanize}}{{v.retryCount}}
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Title{{v.title}}Type{{RequestType[v.type] | humanize}}Retry Count{{v.retryCount}}Error DescriptionDelete
diff --git a/src/Ombi/ClientApp/src/app/settings/failedrequests/failedrequests.component.ts b/src/Ombi/ClientApp/src/app/settings/failedrequests/failedrequests.component.ts index feae7cfaf1..dfe4920347 100644 --- a/src/Ombi/ClientApp/src/app/settings/failedrequests/failedrequests.component.ts +++ b/src/Ombi/ClientApp/src/app/settings/failedrequests/failedrequests.component.ts @@ -8,6 +8,7 @@ import { RequestRetryService } from "../../services"; }) export class FailedRequestsComponent implements OnInit { + public columnsToDisplay = ["title", "type", "retryCount", "errorDescription", "deleteBtn"]; public vm: IFailedRequestsViewModel[]; public RequestType = RequestType; diff --git a/src/Ombi/ClientApp/src/app/settings/issues/issues.component.html b/src/Ombi/ClientApp/src/app/settings/issues/issues.component.html index 59da74a2e3..bd05f9ee0e 100644 --- a/src/Ombi/ClientApp/src/app/settings/issues/issues.component.html +++ b/src/Ombi/ClientApp/src/app/settings/issues/issues.component.html @@ -48,12 +48,11 @@
-
- -
- + + Add Category + +
@@ -74,4 +73,4 @@
-
\ No newline at end of file +
diff --git a/src/Ombi/ClientApp/src/app/settings/jobs/jobs.component.html b/src/Ombi/ClientApp/src/app/settings/jobs/jobs.component.html index 47e7ef1cde..28bb71bb83 100644 --- a/src/Ombi/ClientApp/src/app/settings/jobs/jobs.component.html +++ b/src/Ombi/ClientApp/src/app/settings/jobs/jobs.component.html @@ -6,83 +6,83 @@
Changes require a restart.

You can generate valid CRON Expressions here: https://www.cronmaker.com/ -

+
- Sonarr Sync + Sonarr Sync The Sonarr Sync is required - - + +
- SickRage Sync + SickRage Sync The SickRage Sync is required - +
- Radarr Sync + Radarr Sync The Radarr Sync is required - +
- Lidarr Sync + Lidarr Sync The Lidarr Sync is required - +
- +
- CouchPotato Sync + CouchPotato Sync The CouchPotato Sync is required - +
- +
- Automatic Update + Automatic Update The Automatic Update is required - +
- Retry Failed Requests + Retry Failed Requests The Retry Requests is required - +
- Plex Sync + Plex Sync The Plex Sync is required - +
- Plex Recently Added Sync + Plex Recently Added Sync The Plex Sync is required - +
- Plex Watchlist Import + Plex Watchlist Import The Plex Watchlist Import is required - +
@@ -90,15 +90,15 @@ Emby Sync The Emby Sync is required - +
- Emby Recently Added Sync + Emby Recently Added Sync The Emby Recently Added Sync is required - +
@@ -106,7 +106,7 @@ Jellyfin Sync The Jellyfin Sync is required - +
@@ -114,31 +114,31 @@ User Importer The User Importer is required - +
- Newsletter + Newsletter The Newsletter is required - +
- Issue Purge/Delete + Issue Purge/Delete The Issues Purge is required - +
- Media Data Refresh + Media Data Refresh The Media Database Refresh is required - +
@@ -146,15 +146,15 @@ Auto Available Request Deletion Auto Available Request Deletion is required - +
- +
-
\ No newline at end of file + diff --git a/src/Ombi/ClientApp/src/app/settings/massemail/massemail.component.html b/src/Ombi/ClientApp/src/app/settings/massemail/massemail.component.html index fb6ab0ad0e..2126b96f64 100644 --- a/src/Ombi/ClientApp/src/app/settings/massemail/massemail.component.html +++ b/src/Ombi/ClientApp/src/app/settings/massemail/massemail.component.html @@ -5,34 +5,42 @@ Mass Email
-
- - Hey! We need a subject! -
-
- -
+
+ + Subject + + Hey! We need a subject! + +
-
- -
- May appear differently on email clients -
-
-
-
- This will send out the Mass email BCC'ing all of the selected users rather than sending individual messages -
- BCC -
-
-
-
-
- -
-
+
+ + Content + + +
+ +
+ +
+ May appear differently on email clients + +
+ +
+ + This will send out the Mass email BCC'ing all of the selected users rather than sending individual messages +
+ BCC +
+
+
+
+
+ +
+
diff --git a/src/Ombi/ClientApp/src/app/settings/notifications/gotify.component.html b/src/Ombi/ClientApp/src/app/settings/notifications/gotify.component.html index 9b2a7c938e..39017b3a91 100644 --- a/src/Ombi/ClientApp/src/app/settings/notifications/gotify.component.html +++ b/src/Ombi/ClientApp/src/app/settings/notifications/gotify.component.html @@ -7,42 +7,42 @@
-
- - -
+ Enabled
- - - - The Base URL is required + + Base URL + +
- - - - The Application Token is required + + Application Token + +
- + + Priority + + + Normal + High + Low + Lowest + +
-
- @@ -53,7 +53,7 @@
- +
@@ -64,4 +64,4 @@
-
\ No newline at end of file +
diff --git a/src/Ombi/ClientApp/src/app/settings/notifications/mattermost.component.html b/src/Ombi/ClientApp/src/app/settings/notifications/mattermost.component.html index d7998c417f..293ac8c015 100644 --- a/src/Ombi/ClientApp/src/app/settings/notifications/mattermost.component.html +++ b/src/Ombi/ClientApp/src/app/settings/notifications/mattermost.component.html @@ -7,47 +7,42 @@
-
- - -
+ Enabled
Mattermost > Integrations > Incoming Webhook > Add Incoming Webhook. You will then have a Webhook - - - - The Webhook Url is required -
+ + Incoming Webhook Url + + +
-
- -
- -
+
+ + Channel Override + +
- -
- -
+ + Username Override + +
- -
- -
+ + Icon Override + +
- -
- @@ -58,7 +53,7 @@
- +
@@ -69,4 +64,4 @@
-
\ No newline at end of file +
diff --git a/src/Ombi/ClientApp/src/app/settings/notifications/mobile.component.html b/src/Ombi/ClientApp/src/app/settings/notifications/mobile.component.html index c5573c57eb..c46b0705a1 100644 --- a/src/Ombi/ClientApp/src/app/settings/notifications/mobile.component.html +++ b/src/Ombi/ClientApp/src/app/settings/notifications/mobile.component.html @@ -36,30 +36,29 @@
- -
- -
+ + Users + + {{x.username}} + +
- +
- +
- +
@@ -72,4 +71,4 @@ - \ No newline at end of file + diff --git a/src/Ombi/ClientApp/src/app/settings/notifications/newsletter.component.html b/src/Ombi/ClientApp/src/app/settings/notifications/newsletter.component.html index 9aea59448e..afa0e5ffb9 100644 --- a/src/Ombi/ClientApp/src/app/settings/notifications/newsletter.component.html +++ b/src/Ombi/ClientApp/src/app/settings/notifications/newsletter.component.html @@ -11,7 +11,7 @@ Enable - +
Disable TV @@ -46,11 +46,11 @@
- - - + + - +
@@ -73,7 +73,7 @@
- +
@@ -83,10 +83,10 @@ {{email}}
- +
- \ No newline at end of file + diff --git a/src/Ombi/ClientApp/src/app/settings/notifications/pushbullet.component.html b/src/Ombi/ClientApp/src/app/settings/notifications/pushbullet.component.html index e8115e4f58..073acc13dd 100644 --- a/src/Ombi/ClientApp/src/app/settings/notifications/pushbullet.component.html +++ b/src/Ombi/ClientApp/src/app/settings/notifications/pushbullet.component.html @@ -7,32 +7,24 @@
-
- - -
+ Enabled
You can find this here: https://www.pushbullet.com/#settings/account -
- - - - The Access Token is required -
-
- -
- -
-
+ + Access Token + + - + + Channel Tag + +
- @@ -43,7 +35,7 @@
- +
@@ -54,4 +46,4 @@
-
\ No newline at end of file + diff --git a/src/Ombi/ClientApp/src/app/settings/notifications/pushover.component.html b/src/Ombi/ClientApp/src/app/settings/notifications/pushover.component.html index 926b344e0b..6b94220f2b 100644 --- a/src/Ombi/ClientApp/src/app/settings/notifications/pushover.component.html +++ b/src/Ombi/ClientApp/src/app/settings/notifications/pushover.component.html @@ -7,74 +7,71 @@
-
- - -
+ Enabled
- +
- - - - The Access Token is required + + Access Token + +
- -
- -
+ + User Token + +
- -
- -
+ + Priority + + Normal + High + Low + Lowest + +
- -
- -
-
+ + Sound + + Pushover + Bike + Bugle + Cash Register + Classical + Cosmic + Falling + Gamelan + Incoming + Intermission + Magic + Mechanical + Piano Bar + Siren + Space Alarm + Tug Boat + Alien Alarm (long) + Climb (long) + Persistent (long) + Pushover Echo (long) + Up Down (long) + None + + + + -
- @@ -85,7 +82,7 @@
- +
@@ -96,4 +93,4 @@
-
\ No newline at end of file + diff --git a/src/Ombi/ClientApp/src/app/settings/notifications/slack.component.html b/src/Ombi/ClientApp/src/app/settings/notifications/slack.component.html index 378e480609..7d921c870b 100644 --- a/src/Ombi/ClientApp/src/app/settings/notifications/slack.component.html +++ b/src/Ombi/ClientApp/src/app/settings/notifications/slack.component.html @@ -7,57 +7,51 @@
- -
- - -
+ Enabled
- -
- - -
- - Click Here and follow the guide. You will then have a Webhook Url - - The Webhook Url is required -
-
- -
- -
-
-
- -
- -
+ + Click Here and follow the guide. You will then have a Webhook Url + + Webhook Url + +
- -
- -
+ + Username Override + +
- -
- -
+ + Channel Override + +
- + +
+ + Emoji Icon Override + + +
+
+ + Url Icon Override + + +
+ You can find more details about the Slack API Here - +
- @@ -68,7 +62,7 @@
- +
@@ -79,4 +73,4 @@
-
\ No newline at end of file + diff --git a/src/Ombi/ClientApp/src/app/settings/notifications/telegram.component.html b/src/Ombi/ClientApp/src/app/settings/notifications/telegram.component.html index 51e4c36d41..2f1bba1e2f 100644 --- a/src/Ombi/ClientApp/src/app/settings/notifications/telegram.component.html +++ b/src/Ombi/ClientApp/src/app/settings/notifications/telegram.component.html @@ -7,27 +7,26 @@
-
- - -
+ Enabled
+
- - - The Bot API is required + + Bot API + + You need a bot for Telegram notifications, You can find out how to create a bot here.
-
- - - The Chat Id is required + + Chat Id + + This is the Chat ID from Telegram. You can get the Chat Id from here. This also supports Group Chat Id's.
@@ -43,7 +42,7 @@
- @@ -52,7 +51,7 @@
- +
@@ -63,4 +62,4 @@
-
\ No newline at end of file + diff --git a/src/Ombi/ClientApp/src/app/settings/notifications/webhook.component.html b/src/Ombi/ClientApp/src/app/settings/notifications/webhook.component.html index aab095953b..5ec6038632 100644 --- a/src/Ombi/ClientApp/src/app/settings/notifications/webhook.component.html +++ b/src/Ombi/ClientApp/src/app/settings/notifications/webhook.component.html @@ -7,31 +7,26 @@
-
- - -
+ Enabled
- - - - The Webhook URL is required + + Base URL + +
- - - - The Application Token is required + + Application Token + +
- @@ -40,10 +35,10 @@
- +
-
\ No newline at end of file + diff --git a/src/Ombi/ClientApp/src/app/settings/usermanagement/usermanagement.component.html b/src/Ombi/ClientApp/src/app/settings/usermanagement/usermanagement.component.html index 7512294df7..d97714be61 100644 --- a/src/Ombi/ClientApp/src/app/settings/usermanagement/usermanagement.component.html +++ b/src/Ombi/ClientApp/src/app/settings/usermanagement/usermanagement.component.html @@ -55,7 +55,7 @@

Default Roles

-
+
@@ -67,13 +67,13 @@

Default Roles

Default Request Limits

-
+
- -
- -
+ + Movie Request Limit + +
Movie Request Limit Type @@ -84,23 +84,24 @@

Default Request Limits

- -
- -
- + + Episode Request Limit + +
+ Episode Request Limit Type {{RequestLimitType[value]}} +
- -
- -
+ + Music Request Limit + +
Music Request Limit Type 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 fa79862fc2..f754e05661 100644 --- a/src/Ombi/ClientApp/src/app/usermanagement/usermanagement-user.component.html +++ b/src/Ombi/ClientApp/src/app/usermanagement/usermanagement-user.component.html @@ -178,11 +178,11 @@
- - - + + - +
@@ -196,4 +196,4 @@ -
\ No newline at end of file +