feat(console): gitlab, gitlab self hosted - templates (#5422)

gitlab provider
This commit is contained in:
Max Peintner
2023-03-15 07:49:32 +00:00
committed by GitHub
parent 0aaaf209be
commit 0d832ef67f
26 changed files with 1283 additions and 3 deletions
@@ -59,6 +59,14 @@
<mat-icon class="idp-icon" svgIcon="mdi_jwt" alt="jwt" />
Generic JWT
</div>
<div class="idp-table-provider-type" *ngSwitchCase="ProviderType.PROVIDER_TYPE_GITLAB">
<img class="idp-logo" src="../../../assets/images/idp/gitlab.svg" alt="gitlab" />
Gitlab
</div>
<div class="idp-table-provider-type" *ngSwitchCase="ProviderType.PROVIDER_TYPE_GITLAB_SELF_HOSTED">
<img class="idp-logo" src="../../../assets/images/idp/gitlab.svg" alt="gitlab self hosted" />
Gitlab Self Hosted
</div>
<div class="idp-table-provider-type" *ngSwitchCase="ProviderType.PROVIDER_TYPE_GITHUB_ES">
<img class="idp-logo dark" src="../../../assets/images/idp/github-dark.svg" alt="github" />
<img class="idp-logo light" src="../../../assets/images/idp/github.svg" alt="github" />
@@ -236,6 +236,15 @@ export class IdpTableComponent implements OnInit {
return [row.owner === IDPOwnerType.IDP_OWNER_TYPE_SYSTEM ? '/instance' : '/org', 'provider', 'jwt', row.id];
case ProviderType.PROVIDER_TYPE_GOOGLE:
return [row.owner === IDPOwnerType.IDP_OWNER_TYPE_SYSTEM ? '/instance' : '/org', 'provider', 'google', row.id];
case ProviderType.PROVIDER_TYPE_GITLAB:
return [row.owner === IDPOwnerType.IDP_OWNER_TYPE_SYSTEM ? '/instance' : '/org', 'provider', 'gitlab', row.id];
case ProviderType.PROVIDER_TYPE_GITLAB_SELF_HOSTED:
return [
row.owner === IDPOwnerType.IDP_OWNER_TYPE_SYSTEM ? '/instance' : '/org',
'provider',
'gitlab-self-hosted',
row.id,
];
case ProviderType.PROVIDER_TYPE_GITHUB:
return [row.owner === IDPOwnerType.IDP_OWNER_TYPE_SYSTEM ? '/instance' : '/org', 'provider', 'github', row.id];
}