From 0a6a8b1eeb67207c86d19f3f8f8162d778af2071 Mon Sep 17 00:00:00 2001 From: Dragos Date: Mon, 31 May 2021 17:19:33 +0300 Subject: [PATCH] TRIX-22 fixed illegible memory/disk filters --- .../instance-wizard.component.html | 74 +++++++------------ .../instance-wizard.component.ts | 2 + .../app/instances/instances.component.html | 17 +++-- .../app/instances/instances.component.scss | 5 ++ 4 files changed, 44 insertions(+), 54 deletions(-) diff --git a/app/src/app/instances/instance-wizard/instance-wizard.component.html b/app/src/app/instances/instance-wizard/instance-wizard.component.html index 03f7540..6fbaecc 100644 --- a/app/src/app/instances/instance-wizard/instance-wizard.component.html +++ b/app/src/app/instances/instance-wizard/instance-wizard.component.html @@ -142,7 +142,8 @@
- @@ -192,60 +193,37 @@
-
-
-
Place close to
- -
-
- - -
- -
- - -
-
+
+
- -
-
Place far from
- -
-
- - -
- -
- - -
-
+
+
- -
-
- - -
+
+ +
+
+
diff --git a/app/src/app/instances/instance-wizard/instance-wizard.component.ts b/app/src/app/instances/instance-wizard/instance-wizard.component.ts index 0889be8..f7282bd 100644 --- a/app/src/app/instances/instance-wizard/instance-wizard.component.ts +++ b/app/src/app/instances/instance-wizard/instance-wizard.component.ts @@ -372,6 +372,8 @@ export class InstanceWizardComponent implements OnInit, OnDestroy mountpoint: volume.mountpoint })); + console.log(this.editorForm.get('affinity')); + this.instancesService.add(instance) .subscribe(x => { diff --git a/app/src/app/instances/instances.component.html b/app/src/app/instances/instances.component.html index 50ebdb3..3cfd595 100644 --- a/app/src/app/instances/instances.component.html +++ b/app/src/app/instances/instances.component.html @@ -276,7 +276,7 @@
-
+
- - + + + + - - + + + + - diff --git a/app/src/app/instances/instances.component.scss b/app/src/app/instances/instances.component.scss index 7285ab6..4363ec5 100644 --- a/app/src/app/instances/instances.component.scss +++ b/app/src/app/instances/instances.component.scss @@ -109,6 +109,11 @@ .filters { width: 240px; + + .btn-group + * + { + margin-top: 1rem; + } } .form-check-label