mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-21 08:07:59 +01:00
Add Oidc more info link in configration
Signed-off-by: Yogi_Wang <yawang@vmware.com>
This commit is contained in:
parent
67c5542dd8
commit
cd42637f51
@ -12,12 +12,12 @@
|
||||
<option value="oidc_auth">{{'CONFIG.AUTH_MODE_OIDC' | translate }}</option>
|
||||
</select>
|
||||
</div>
|
||||
<a href="{{currentConfig?.auth_mode?.value==='oidc_auth'?'https://openid.net/connect/':'/'}}"
|
||||
target="{{currentConfig?.auth_mode?.value==='oidc_auth'?'_blank':''}}" role="tooltip" (click)="allowGoOidc($event)"
|
||||
aria-haspopup="true" class="tooltip tooltip-lg tooltip-top-right top-1">
|
||||
<a href="javascript:void(0)" role="tooltip" aria-haspopup="true" class="tooltip tooltip-lg tooltip-top-right top-1">
|
||||
<clr-icon shape="info-circle" size="24" class="info-tips-icon"></clr-icon>
|
||||
<span class="tooltip-content">{{'CONFIG.TOOLTIP.AUTH_MODE' | translate}}</span>
|
||||
</a>
|
||||
<a href="https://openid.net/connect/" *ngIf="currentConfig?.auth_mode?.value==='oidc_auth'" target="_blank"
|
||||
class="more-info-link">{{ 'BUTTON.MORE_INFO' | translate }}</a>
|
||||
</div>
|
||||
</section>
|
||||
<section class="form-block" *ngIf="showUAA">
|
||||
|
@ -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;
|
||||
}
|
@ -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';
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user