From 2a21098c4799dc4245d9079e9235e950ec37318a Mon Sep 17 00:00:00 2001 From: Sudarshan Kumar Date: Thu, 26 Mar 2020 14:06:00 +0530 Subject: Fixed Portal-SDK Role Active-Inactive toggle Issue Fixed Portal-SDK Role Active-Inactive toggle Issue Issue-ID: PORTAL-861 Change-Id: I29cedf9c1035f951be88fae040c530ea6b239bf0 Signed-off-by: Sudarshan Kumar --- .../ngapp/src/app/pages/admin/roles/roles.component.html | 11 +++++++++-- .../ngapp/src/app/pages/admin/roles/roles.component.scss | 5 +++++ .../webapp/ngapp/src/app/pages/admin/roles/roles.component.ts | 4 ++++ 3 files changed, 18 insertions(+), 2 deletions(-) (limited to 'ecomp-sdk/epsdk-app-overlay/src') diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/admin/roles/roles.component.html b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/admin/roles/roles.component.html index 4d8fcec8..17ceff86 100644 --- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/admin/roles/roles.component.html +++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/admin/roles/roles.component.html @@ -41,11 +41,18 @@

Roles

Please go to portal to Manage Roles. - - Click on a Role to view its details. + + + diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/admin/roles/roles.component.scss b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/admin/roles/roles.component.scss index ddbbf15d..fa026996 100644 --- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/admin/roles/roles.component.scss +++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/admin/roles/roles.component.scss @@ -99,4 +99,9 @@ body { .icon-trash{ cursor: pointer; +} + +.new-role-button{ + margin-left: 15px; + float: right; } \ No newline at end of file diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/admin/roles/roles.component.ts b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/admin/roles/roles.component.ts index ada77e3d..b2d8fed4 100644 --- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/admin/roles/roles.component.ts +++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/admin/roles/roles.component.ts @@ -204,4 +204,8 @@ export class RolesComponent implements OnInit { }) } + + applyFilter(filterValue: string) { + this.dataSource.filter = filterValue.trim().toLowerCase(); + } } \ No newline at end of file -- cgit 1.2.3-korg