From cd42637f51e6a5026758f19eb30b07da0e8b7ed9 Mon Sep 17 00:00:00 2001 From: Yogi_Wang Date: Fri, 10 May 2019 00:02:46 +0800 Subject: [PATCH] Add Oidc more info link in configration Signed-off-by: Yogi_Wang --- src/portal/src/app/config/auth/config-auth.component.html | 6 +++--- src/portal/src/app/config/auth/config-auth.component.scss | 5 ++++- src/portal/src/app/config/auth/config-auth.component.ts | 3 --- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/portal/src/app/config/auth/config-auth.component.html b/src/portal/src/app/config/auth/config-auth.component.html index 1c637df9f..0f1a9a9d4 100644 --- a/src/portal/src/app/config/auth/config-auth.component.html +++ b/src/portal/src/app/config/auth/config-auth.component.html @@ -12,12 +12,12 @@ - + {{'CONFIG.TOOLTIP.AUTH_MODE' | translate}} + {{ 'BUTTON.MORE_INFO' | translate }}
diff --git a/src/portal/src/app/config/auth/config-auth.component.scss b/src/portal/src/app/config/auth/config-auth.component.scss index 3a0ff7f5b..074671baa 100644 --- a/src/portal/src/app/config/auth/config-auth.component.scss +++ b/src/portal/src/app/config/auth/config-auth.component.scss @@ -16,5 +16,8 @@ clr-tooltip { top: -5px; } .oidc-tip { - color: rgb(10, 74, 112); + color: rgb(10, 10, 10); } +.more-info-link { + color: #101010; +} \ No newline at end of file diff --git a/src/portal/src/app/config/auth/config-auth.component.ts b/src/portal/src/app/config/auth/config-auth.component.ts index 4dc279213..9737cb26f 100644 --- a/src/portal/src/app/config/auth/config-auth.component.ts +++ b/src/portal/src/app/config/auth/config-auth.component.ts @@ -251,8 +251,5 @@ export class ConfigurationAuthComponent implements OnChanges, OnInit { console.error('Nothing changed'); } } - public allowGoOidc(event) { - return this.currentConfig.auth_mode && this.currentConfig.auth_mode.value === 'oidc_auth'; - } }