diff --git a/frontend/src/app/projects/models/model-source/git/manage-git-model/manage-git-model.component.css b/frontend/src/app/projects/models/model-source/git/manage-git-model/manage-git-model.component.css deleted file mode 100644 index 7648e6327e..0000000000 --- a/frontend/src/app/projects/models/model-source/git/manage-git-model/manage-git-model.component.css +++ /dev/null @@ -1,21 +0,0 @@ -/* - * SPDX-FileCopyrightText: Copyright DB InfraGO AG and contributors - * SPDX-License-Identifier: Apache-2.0 - */ - -.no-line-break { - white-space: nowrap; -} - -.no-text-overflow { - white-space: normal; - text-overflow: ellipsis; - line-break: anywhere; -} - -.error { - color: #f44336; - font-size: 10.5px; - font-family: Roboto, "Helvetica Neue", sans-serif; - margin-bottom: 0px; -} diff --git a/frontend/src/app/projects/models/model-source/git/manage-git-model/manage-git-model.component.html b/frontend/src/app/projects/models/model-source/git/manage-git-model/manage-git-model.component.html index 396f75e5d6..e64f0fa04b 100644 --- a/frontend/src/app/projects/models/model-source/git/manage-git-model/manage-git-model.component.html +++ b/frontend/src/app/projects/models/model-source/git/manage-git-model/manage-git-model.component.html @@ -3,171 +3,153 @@ ~ SPDX-License-Identifier: Apache-2.0 --> -
-
-
-
-
- - Base integration URL - - {{ gitInstance.url }} +
+ +
+
+ + Base integration URL + - - - A base integration URL is required - - + {{ gitInstance.url }} + + + A base integration URL is required + + +
+
+ + Absolute URL + {{ + availableGitInstances?.length ? "or Relative URL" : "" + }} + + + {{ urls.inputUrl.errors?.urlSchemeError }} + + +
+
+
+

Resulting URL*

+ +
+ + {{ resultUrl }} +
+ + The resolved URL doesn't match with one of the allowed git + instances + +
+
+
+
+
+ + Git username + + + + Git password or token + + + If empty password gets not updated + + +
- Absolute URL - {{ - availableGitInstances?.length ? "or Relative URL" : "" - }} + Branch, tag or revision + + A revision is required + - {{ urls.inputUrl.errors?.urlSchemeError }} + {{ form.controls.revision.errors?.revisionNotFoundError }} + + + + {{ branch }} + + + + + {{ tag }} + + +
-
-

Resulting URL*

- -
- - {{ resultUrl }} -
- - The resolved URL doesn't match with one of the allowed git - instances - -
-
-
-
-
- Git username - - - - Git password or token - - - If empty password gets not updated - + Entry point + + + An endpoint is required + + + Entrypoint must end with ".aird" in case of a capella model +
-
-
- - Branch, tag or revision - - - A revision is required - - + + Primary Git repository - {{ form.controls.revision.errors?.revisionNotFoundError }} - - - - - - {{ branch }} - - - - - {{ tag }} - - - -
-
- - Entry point - - - An endpoint is required - - - Entrypoint must end with ".aird" in case of a capella model - - -
-
- - Primary Git repository -
-
-
- -
- - +
- - - -
- - -
-
-
+ +
-
- -    - + + + + +
+ + + +
+
+
+
+
+ +    + +
-
-
- + + +
-
+} diff --git a/frontend/src/app/projects/models/model-source/git/manage-git-model/manage-git-model.component.ts b/frontend/src/app/projects/models/model-source/git/manage-git-model/manage-git-model.component.ts index f4a51b9d61..1132c3603d 100644 --- a/frontend/src/app/projects/models/model-source/git/manage-git-model/manage-git-model.component.ts +++ b/frontend/src/app/projects/models/model-source/git/manage-git-model/manage-git-model.component.ts @@ -72,7 +72,6 @@ import { @Component({ selector: 'app-manage-git-model', templateUrl: './manage-git-model.component.html', - styleUrls: ['./manage-git-model.component.css'], standalone: true, imports: [ NgIf,