diff --git a/ui/src/app/metadata/configuration/component/filter-version-list.component.html b/ui/src/app/metadata/configuration/component/filter-version-list.component.html index 95cb28700..4047f7483 100644 --- a/ui/src/app/metadata/configuration/component/filter-version-list.component.html +++ b/ui/src/app/metadata/configuration/component/filter-version-list.component.html @@ -1,42 +1,108 @@
- Order + Order + Option {{ date | date:'medium' }}
-
- -
-
- {{ i + 1 }} -
-
-
-

{{ filter.name }}

-

{{ filter.type }}

+ +
+ +
+
+ {{ i + 1 }} +
+
+
+

{{ filter.name }}

+

{{ filter.type }}

+
+
-
-
-
-
-
- -
+ +
+
+ +
+ + +
+ Type + EntityAttributesFilter + EntityAttributesFilter +
+
+ Name + Test Filter 1 + Renamed Filter +
+
+ Target Type + Entity ID + Entity ID +
+
+ Target Value + http://idp.unicon.net/idp/shibboleth + http://idp.unicon.net/idp/shibboleth +
+
+ Enabled? + false + true +
+
+ +
+

No Filters

diff --git a/ui/src/app/metadata/configuration/component/filter-version-list.component.ts b/ui/src/app/metadata/configuration/component/filter-version-list.component.ts index 0781b8293..2411aa872 100644 --- a/ui/src/app/metadata/configuration/component/filter-version-list.component.ts +++ b/ui/src/app/metadata/configuration/component/filter-version-list.component.ts @@ -1,7 +1,7 @@ import { Component } from '@angular/core'; const data = { - dates: ['2019-08-02T12:50:54.282', '2019-08-02T12:12:54.282'], + dates: ['2019-08-08T08:40:32.015', '2019-08-08T08:40:19.266'], filters: [ [ { @@ -56,11 +56,16 @@ export class FilterVersionListComponent { filters = data; selected: string; + comparing: string; constructor() { } + compare(id: string): void { + this.comparing = id; + } + get width(): string { const columns = this.filters.dates.length; return `${Math.floor(100 / (columns + 1))}`;