From 89865044ec21644dd6a0b79edc2bc2b20ca6f5d2 Mon Sep 17 00:00:00 2001 From: twanariens Date: Fri, 29 May 2020 13:56:24 +0200 Subject: [PATCH 1/6] Fixed logout button. Fixed menu displacement --- src/Ombi/ClientApp/src/app/my-nav/my-nav.component.html | 2 +- src/Ombi/ClientApp/src/app/my-nav/my-nav.component.scss | 2 +- src/Ombi/ClientApp/src/app/my-nav/nav-search.component.scss | 4 ++++ src/Ombi/ClientApp/src/styles/shared.scss | 4 ++++ 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/Ombi/ClientApp/src/app/my-nav/my-nav.component.html b/src/Ombi/ClientApp/src/app/my-nav/my-nav.component.html index 01ad85faf..653f5ff56 100644 --- a/src/Ombi/ClientApp/src/app/my-nav/my-nav.component.html +++ b/src/Ombi/ClientApp/src/app/my-nav/my-nav.component.html @@ -9,7 +9,7 @@  {{nav.name | translate}} - exit_to_app diff --git a/src/Ombi/ClientApp/src/app/my-nav/my-nav.component.scss b/src/Ombi/ClientApp/src/app/my-nav/my-nav.component.scss index f6fcb0824..3396a06cc 100644 --- a/src/Ombi/ClientApp/src/app/my-nav/my-nav.component.scss +++ b/src/Ombi/ClientApp/src/app/my-nav/my-nav.component.scss @@ -61,7 +61,7 @@ }*/ // changed bottom to 10px so when you overlay a link it won't get blocked by URL -.bottom-nav-link { +#bottom-nav-link { bottom: 10px; position: absolute !important; //background-color:#E84C3D; diff --git a/src/Ombi/ClientApp/src/app/my-nav/nav-search.component.scss b/src/Ombi/ClientApp/src/app/my-nav/nav-search.component.scss index 2c71503d1..02361f366 100644 --- a/src/Ombi/ClientApp/src/app/my-nav/nav-search.component.scss +++ b/src/Ombi/ClientApp/src/app/my-nav/nav-search.component.scss @@ -29,4 +29,8 @@ $ombi-accent: #258a6d; .search-bar:focus { background-color: white; +} + +::ng-deep .mat-form-field-underline{ + bottom:0.5em; } \ No newline at end of file diff --git a/src/Ombi/ClientApp/src/styles/shared.scss b/src/Ombi/ClientApp/src/styles/shared.scss index 1bee8b8d4..01bc723ff 100644 --- a/src/Ombi/ClientApp/src/styles/shared.scss +++ b/src/Ombi/ClientApp/src/styles/shared.scss @@ -100,4 +100,8 @@ table { background-color: rgba(0, 0, 0, 0.18); color:#fff; border: 1px solid rgba(0, 0, 0, 0.18); +} + +::ng-deep .mat-toolbar.mat-primary{ + margin-bottom: 0.5em; } \ No newline at end of file From a696c8c4ec130180584506482471be32c6629e91 Mon Sep 17 00:00:00 2001 From: twanariens Date: Sat, 30 May 2020 12:40:00 +0200 Subject: [PATCH 2/6] New UI for Plex settings --- .../src/app/settings/plex/plex.component.html | 309 ++++++++---------- .../src/app/settings/plex/plex.component.scss | 33 +- 2 files changed, 142 insertions(+), 200 deletions(-) diff --git a/src/Ombi/ClientApp/src/app/settings/plex/plex.component.html b/src/Ombi/ClientApp/src/app/settings/plex/plex.component.html index 4fc63143b..227e215be 100644 --- a/src/Ombi/ClientApp/src/app/settings/plex/plex.component.html +++ b/src/Ombi/ClientApp/src/app/settings/plex/plex.component.html @@ -1,189 +1,158 @@ 
-
-
- Advanced - -
-
-
-
+
Plex Configuration - -
- -
-
- - +
+
+
+
+ Enable +
+
+ Advanced +
+
-
- - -
- -
-
-
- -
- -
- -
- -
-
- -
- -
- -
-
- -
- -
- -
-
- -
-
- - -
-
- - -
- -
- -
-
- -
- -
- -
-
-
- -
-
- -
- -
-
-
- -
-
- -
-
- -
+
+ + +
+


-
- -
-
- -
- -
- Note: if nothing is selected, we will monitor all libraries -
-
- -
-
-
-
-
-
- - +
+ + Plex Authorization Token + + + + + Machine Identifier + + +
+
+ +
+ + Username + + +
+
+ + Password + +
-
- -
- -
- +
+ +
+
+ +
+
+
+
+ +
+
+
+ + Server + + {{s.name}} + + +
+
+
+ +
+ Note: if nothing is selected, we will monitor all libraries +
+
+ +
+
+
+
+
+
+
+ {{lib.title}} +
+
+
+
+
+
+ + Episode Batch Size + + +
+
+
+ +
+
+
+
+
+ +
+
+ + + + + +
+
+
+
- -
-
- -
-
- -
- - - - - -
-
-
- -
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
\ No newline at end of file + \ No newline at end of file diff --git a/src/Ombi/ClientApp/src/app/settings/plex/plex.component.scss b/src/Ombi/ClientApp/src/app/settings/plex/plex.component.scss index 5bc0ad204..18f044f29 100644 --- a/src/Ombi/ClientApp/src/app/settings/plex/plex.component.scss +++ b/src/Ombi/ClientApp/src/app/settings/plex/plex.component.scss @@ -5,40 +5,13 @@ margin-top: 10px; } -.col-md-6 { - display: contents; +.col-8 { + display: inline-table; } - .col-md-5 { - display: contents; -} - -.control-label { - font-weight: 400; + display: inline-table; } .row { display: block; } - -.btn-danger-outline { - background-color: #E84C3D; -} - -.btn-success-outline { - background-color: #1b9d1b; -} - -::ng-deep .dark .btn:hover { - box-shadow: 0 5px 11px 0 rgba(255, 255, 255, 0.18), 0 4px 15px 0 rgba(255, 255, 255, 0.15); - color: inherit; -} - -@media (min-width:1440px) { - .col-md-6 { - display: inline-table; - } - .col-md-5 { - display: inline-table; - } -} \ No newline at end of file From 8d1b71b3bf292cba6ea81cac2cdb22c18e889ad3 Mon Sep 17 00:00:00 2001 From: twanariens Date: Sat, 30 May 2020 12:46:06 +0200 Subject: [PATCH 3/6] New UI for Sonarr settings --- .../app/settings/sonarr/sonarr.component.html | 281 +++++++++--------- .../app/settings/sonarr/sonarr.component.scss | 36 +-- .../app/settings/sonarr/sonarr.component.ts | 48 ++- src/Ombi/ClientApp/src/styles/shared.scss | 8 + 4 files changed, 195 insertions(+), 178 deletions(-) diff --git a/src/Ombi/ClientApp/src/app/settings/sonarr/sonarr.component.html b/src/Ombi/ClientApp/src/app/settings/sonarr/sonarr.component.html index e18b42fd1..6e3dc6720 100644 --- a/src/Ombi/ClientApp/src/app/settings/sonarr/sonarr.component.html +++ b/src/Ombi/ClientApp/src/app/settings/sonarr/sonarr.component.html @@ -2,168 +2,171 @@
Sonarr Settings -
-
- Advanced - -
- -
-
-
-
- - + +
+
+
+
+ V3 +
+
+ SSL
-
- -
-
-
- - +
+
+ Enable
-
-
- -
-
-
- - +
+ Advanced
-
-
- +
+
+
+ + Sonarr Hostname or IP + + The IP/Hostname is required + +
- -
+
+ + Port + + The Port is required + +
-
- +
+ + Sonarr API Key + + The API Key is required + +
- -
- - -
- - - -
-
- -
- +
+ + Sonarr Base URL + +
-
-
+
-
-