+
+
+
{{ 'IDP.CREATE.GITLABSELFHOSTED.TITLE' | translate }}
+
+
+
+
+ {{ !provider ? ('IDP.CREATE.GITLABSELFHOSTED.DESCRIPTION' | translate) : ('IDP.DETAIL.DESCRIPTION' | translate) }}
+
+
+
+
+
diff --git a/console/src/app/modules/providers/provider-gitlab-self-hosted/provider-gitlab-self-hosted.component.scss b/console/src/app/modules/providers/provider-gitlab-self-hosted/provider-gitlab-self-hosted.component.scss
new file mode 100644
index 0000000000..0d4325a044
--- /dev/null
+++ b/console/src/app/modules/providers/provider-gitlab-self-hosted/provider-gitlab-self-hosted.component.scss
@@ -0,0 +1,87 @@
+.desc {
+ font-size: 14px;
+}
+
+.gitlab-create-content {
+ .title-row {
+ display: flex;
+ align-items: center;
+
+ .idp-logo {
+ height: 36px;
+ width: 36px;
+ margin-right: 1rem;
+ flex-shrink: 0;
+ }
+
+ h1 {
+ margin: 0 1rem 0 0;
+ }
+ }
+
+ .formfield {
+ display: block;
+ max-width: 400px;
+
+ .name-hint {
+ font-size: 12px;
+ }
+
+ .mat-chip-input {
+ width: 100%;
+ margin: 0;
+ }
+
+ .chip {
+ border-radius: 0.5rem;
+ height: 40px;
+ }
+
+ @media only screen and (max-width: 450px) {
+ max-width: none;
+ }
+ }
+
+ .gitlab-content {
+ .desc {
+ margin-bottom: 1rem;
+ }
+
+ .idp-scopes {
+ padding-bottom: 0.5rem;
+
+ .flex-line {
+ display: flex;
+ align-items: flex-start;
+ max-width: 400px;
+
+ .formfield {
+ flex: 1;
+ }
+
+ .scope-add-button {
+ margin-top: 1.75rem;
+ }
+ }
+ }
+ }
+}
+
+.gitlab-create-actions {
+ display: flex;
+ margin-top: 1rem;
+
+ button[mat-raised-button] {
+ border-radius: 0.5rem;
+ padding: 0.5rem 4rem;
+ }
+}
+
+.optional-h-wrapper {
+ display: flex;
+ align-items: center;
+
+ h2 {
+ margin-right: 0.25rem;
+ }
+}
diff --git a/console/src/app/modules/providers/provider-gitlab-self-hosted/provider-gitlab-self-hosted.component.spec.ts b/console/src/app/modules/providers/provider-gitlab-self-hosted/provider-gitlab-self-hosted.component.spec.ts
new file mode 100644
index 0000000000..3b6fdadce3
--- /dev/null
+++ b/console/src/app/modules/providers/provider-gitlab-self-hosted/provider-gitlab-self-hosted.component.spec.ts
@@ -0,0 +1,24 @@
+import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
+
+import { ProviderGoogleComponent } from './provider-google.component';
+
+describe('ProviderGoogleComponent', () => {
+ let component: ProviderGoogleComponent;
+ let fixture: ComponentFixture