styling fixes on form-fieldset-editor-dialog
This commit is contained in:
parent
18c4a1d3c2
commit
26b4e895e1
|
@ -1,26 +1,30 @@
|
||||||
<div class="form">
|
<div class="w-100">
|
||||||
<div class="row d-flex flex-row">
|
<div mat-dialog-title>
|
||||||
<div class="col-auto ml-auto close-btn" (click)="close()">
|
<div class="row">
|
||||||
<mat-icon>close</mat-icon>
|
<div class="col-auto ml-auto close-btn" (click)="close()">
|
||||||
</div>
|
<mat-icon>close</mat-icon>
|
||||||
</div>
|
|
||||||
<div *ngIf="fieldSet && propertiesFormGroup" mat-dialog-content class="row">
|
|
||||||
<!-- <app-form-composite-field class="align-self-center col" [form]="data.formGroup" [datasetProfileId]="data.datasetProfileId" [altVisibilityRulesService]="visibilityRulesService" [isChild]="false" [showDelete]="false" [showTitle]="false" [placeholderTitle]="true"></app-form-composite-field> -->
|
|
||||||
|
|
||||||
<div class="col-12">
|
|
||||||
<app-description-form-field-set-title class="row" [fieldSet]="fieldSet" [path]="path"></app-description-form-field-set-title>
|
|
||||||
</div>
|
|
||||||
<div *ngFor="let field of fieldSet.fields; let i = index;" class="col-12 compositeField">
|
|
||||||
<div class="row">
|
|
||||||
<h5 *ngIf="placeholderTitle" class="col-auto font-weight-bold">{{field.label}}</h5>
|
|
||||||
</div>
|
</div>
|
||||||
<app-description-form-field class="col-12 compositeField" [propertiesFormGroup]="propertiesFormGroup.get('fields')" [field]="field" [fieldSet]="fieldSet"></app-description-form-field>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div mat-dialog-content class="row">
|
||||||
|
<ng-container *ngIf="fieldSet && propertiesFormGroup" class="row">
|
||||||
|
<div class="col-12">
|
||||||
|
<div mat-dialog-content>
|
||||||
|
<app-description-form-field-set-title class="row" [fieldSet]="fieldSet" [path]="path"></app-description-form-field-set-title>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div *ngFor="let field of fieldSet.fields; let i = index;" class="col-12 compositeField">
|
||||||
|
<div class="row">
|
||||||
|
<h5 *ngIf="placeholderTitle" class="col-auto font-weight-bold">{{field.label}}</h5>
|
||||||
|
</div>
|
||||||
|
<app-description-form-field class="col-12 compositeField" [propertiesFormGroup]="propertiesFormGroup.get('fields')" [field]="field" [fieldSet]="fieldSet" [isChild]="true"></app-description-form-field>
|
||||||
|
</div>
|
||||||
|
</ng-container>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div mat-dialog-actions class="row">
|
<div mat-dialog-actions class="row">
|
||||||
<div class="ml-auto col-auto"><button mat-raised-button type="button" mat-dialog-close (click)="cancel()">{{'DESCRIPTION-EDITOR.ACTIONS.CANCEL' | translate}}</button></div>
|
<div class="ml-auto col-auto"><button class="normal-btn-light-sm" (click)="cancel()">{{'DESCRIPTION-EDITOR.ACTIONS.CANCEL' | translate}}</button></div>
|
||||||
<div class="col-auto"><button mat-raised-button color="primary" type="button" [disabled]="!propertiesFormGroup.get('fields').valid" (click)="save()">{{'DESCRIPTION-EDITOR.ACTIONS.SAVE' | translate}}</button></div>
|
<div class="col-auto"><button class="normal-btn-sm" [disabled]="!propertiesFormGroup.get('fields').valid" (click)="save()">{{'DESCRIPTION-EDITOR.ACTIONS.SAVE' | translate}}</button></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue