|
|
@ -38,7 +38,7 @@ |
|
|
<mat-expansion-panel class="entity-type-config flex-1" [formGroup]="entityTypeFormGroup" [expanded]="entityTypesFormGroupExpanded(entityTypeFormGroup)"> |
|
|
<mat-expansion-panel class="entity-type-config flex-1" [formGroup]="entityTypeFormGroup" [expanded]="entityTypesFormGroupExpanded(entityTypeFormGroup)"> |
|
|
<mat-expansion-panel-header> |
|
|
<mat-expansion-panel-header> |
|
|
<div class="flex flex-1 flex-row items-center justify-start"> |
|
|
<div class="flex flex-1 flex-row items-center justify-start"> |
|
|
<mat-panel-title> |
|
|
<mat-panel-title class="basis-auto"> |
|
|
<div class="flex flex-1 flex-row items-center justify-start"> |
|
|
<div class="flex flex-1 flex-row items-center justify-start"> |
|
|
<div [innerHTML]="entityTypeText(entityTypeFormGroup)"></div> |
|
|
<div [innerHTML]="entityTypeText(entityTypeFormGroup)"></div> |
|
|
</div> |
|
|
</div> |
|
|
@ -60,6 +60,7 @@ |
|
|
<div class="flex flex-row gap-4 xs:flex-col xs:gap-0"> |
|
|
<div class="flex flex-row gap-4 xs:flex-col xs:gap-0"> |
|
|
<tb-entity-type-select |
|
|
<tb-entity-type-select |
|
|
showLabel |
|
|
showLabel |
|
|
|
|
|
appearance="outline" |
|
|
formControlName="entityType" |
|
|
formControlName="entityType" |
|
|
required |
|
|
required |
|
|
[filterAllowedEntityTypes]="false" |
|
|
[filterAllowedEntityTypes]="false" |
|
|
@ -67,13 +68,14 @@ |
|
|
</tb-entity-type-select> |
|
|
</tb-entity-type-select> |
|
|
<div formGroupName="config"> |
|
|
<div formGroupName="config"> |
|
|
<tb-branch-autocomplete |
|
|
<tb-branch-autocomplete |
|
|
|
|
|
appearance="outline" |
|
|
emptyPlaceholder="{{ 'version-control.default' | translate }}" |
|
|
emptyPlaceholder="{{ 'version-control.default' | translate }}" |
|
|
[selectDefaultBranch]="false" |
|
|
[selectDefaultBranch]="false" |
|
|
formControlName="branch"> |
|
|
formControlName="branch"> |
|
|
</tb-branch-autocomplete> |
|
|
</tb-branch-autocomplete> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div class="flex flex-1 flex-row items-center justify-start gap-4 xs:flex-col xs:items-start xs:justify-start xs:gap-0" |
|
|
<div class="flex flex-1 flex-col gt-xs:flex-row items-start gt-xs:items-center justify-start gap-1 gt-xs:gap-4" |
|
|
formGroupName="config"> |
|
|
formGroupName="config"> |
|
|
<mat-checkbox *ngIf="entityTypeFormGroup.get('entityType').value === entityTypes.DEVICE" formControlName="saveCredentials"> |
|
|
<mat-checkbox *ngIf="entityTypeFormGroup.get('entityType').value === entityTypes.DEVICE" formControlName="saveCredentials"> |
|
|
{{ 'version-control.export-credentials' | translate }} |
|
|
{{ 'version-control.export-credentials' | translate }} |
|
|
|