From d211e1b8564042947b3f0f8002e9cf5e4b78cf34 Mon Sep 17 00:00:00 2001 From: Ludek Novy <13610612+ludeknovy@users.noreply.github.com> Date: Tue, 8 Mar 2022 10:10:37 +0100 Subject: [PATCH] filter label settings (#242) --- src/app/scenario.service.model.ts | 1 + .../scenario-settings.component.css | 8 + .../scenario-settings.component.html | 243 ++++++++++++------ .../scenario-settings.component.ts | 39 ++- src/app/scenario/scenario.module.ts | 4 +- 5 files changed, 201 insertions(+), 94 deletions(-) diff --git a/src/app/scenario.service.model.ts b/src/app/scenario.service.model.ts index 5cdccd01..da4983ca 100644 --- a/src/app/scenario.service.model.ts +++ b/src/app/scenario.service.model.ts @@ -9,4 +9,5 @@ export interface Scenario { throughput: number; erroRate: number; }; + labelFilterSettings: [{ operator: string, labelTerm: string }] } diff --git a/src/app/scenario/scenario-settings/scenario-settings.component.css b/src/app/scenario/scenario-settings/scenario-settings.component.css index 8a5233dd..04a7c313 100644 --- a/src/app/scenario/scenario-settings/scenario-settings.component.css +++ b/src/app/scenario/scenario-settings/scenario-settings.component.css @@ -9,3 +9,11 @@ .desc { padding-bottom: 10px; } + +.form-settings { + padding-top: 30px; +} + +table { + margin-top: 30px; +} \ No newline at end of file diff --git a/src/app/scenario/scenario-settings/scenario-settings.component.html b/src/app/scenario/scenario-settings/scenario-settings.component.html index 3684985e..d6837181 100644 --- a/src/app/scenario/scenario-settings/scenario-settings.component.html +++ b/src/app/scenario/scenario-settings/scenario-settings.component.html @@ -6,105 +6,178 @@ -
-