|
1 | 1 | <div fxLayout="row" fxLayoutAlign="start" class="container">
|
2 | 2 | <div fxLayout="column" style="width: 100%">
|
3 |
| - <num-section-name> |
4 |
| - {{ 'EDITOR.CONTENT.PROFILE.FIELDS.HEADER' | translate }} |
5 |
| - </num-section-name> |
6 | 3 | <div class="main-content">
|
7 |
| - <div class="width-70"> |
8 |
| - <div *ngFor="let singleTree of tree"> |
9 |
| - <num-tree |
10 |
| - [treeData]="singleTree" |
11 |
| - (selectedCheckbox)="setSelectedFieldElement($event)" |
12 |
| - ></num-tree> |
13 |
| - </div> |
14 |
| - </div> |
15 |
| - </div> |
16 |
| - </div> |
17 |
| - <div class="sidebar" *ngIf="selectedBasicFields"> |
18 |
| - <div fxLayout="column" class="height-100"> |
19 |
| - <div fxLayout="row"> |
| 4 | + <div class="field-box"> |
20 | 5 | <num-section-name>
|
21 |
| - {{ 'EDITOR.CONTENT.PROFILE.FIELDS.REQUIRED' | translate }} |
| 6 | + {{ 'EDITOR.CONTENT.PROFILE.FIELDS.HEADER' | translate }} |
22 | 7 | </num-section-name>
|
| 8 | + <div class="table-box"> |
| 9 | + <div *ngFor="let singleTree of tree"> |
| 10 | + <num-tree |
| 11 | + [treeData]="singleTree" |
| 12 | + (selectedCheckbox)="setSelectedFieldElement($event)" |
| 13 | + ></num-tree> |
| 14 | + </div> |
| 15 | + </div> |
23 | 16 | </div>
|
24 |
| - <div class="selected-fields-box"> |
25 |
| - <div |
26 |
| - *ngFor="let selectedField of selectedBasicFields; let index = index" |
27 |
| - fxLayout="row" |
28 |
| - fxLayoutAlign="start center" |
29 |
| - class="selected-filter-container" |
30 |
| - > |
31 |
| - <div> |
32 |
| - <mat-checkbox |
33 |
| - [checked]="selectedField.getMustHave()" |
34 |
| - (change)="setFieldAsRequired(selectedField)" |
35 |
| - > |
36 |
| - </mat-checkbox> |
| 17 | + <div class="sidebar" *ngIf="selectedBasicFields"> |
| 18 | + <div fxLayout="column" class="height-100"> |
| 19 | + <div fxLayout="row"> |
| 20 | + <num-section-name> |
| 21 | + {{ 'EDITOR.CONTENT.PROFILE.FIELDS.REQUIRED' | translate }} |
| 22 | + </num-section-name> |
37 | 23 | </div>
|
38 |
| - <div class="display-part"> |
39 |
| - <span |
40 |
| - matTooltipPosition="below" |
41 |
| - matTooltipShowDelay="300" |
42 |
| - [matTooltip]="selectedField.getDisplay() | displayTranslation" |
| 24 | + <div class="selected-fields-box"> |
| 25 | + <div |
| 26 | + *ngFor="let selectedField of selectedBasicFields; let index = index" |
| 27 | + fxLayout="row" |
| 28 | + fxLayoutAlign="start center" |
| 29 | + class="selected-filter-container" |
43 | 30 | >
|
44 |
| - {{ selectedField.getDisplay() | displayTranslation }} |
45 |
| - </span> |
46 |
| - </div> |
47 |
| - <div |
48 |
| - *ngIf="!selectedField.getIsRequired()" |
49 |
| - fxLayout="row" |
50 |
| - fxFlex="10" |
51 |
| - fxLayoutAlign="end center" |
52 |
| - class="padding-right-10" |
53 |
| - > |
54 |
| - <fa-icon |
55 |
| - [icon]="'times'" |
56 |
| - size="1x" |
57 |
| - (click)="removeSelectedField(selectedField)" |
58 |
| - class="delete-button" |
59 |
| - ></fa-icon> |
| 31 | + <div> |
| 32 | + <mat-checkbox |
| 33 | + [checked]="selectedField.getMustHave()" |
| 34 | + (change)="setFieldAsRequired(selectedField)" |
| 35 | + > |
| 36 | + </mat-checkbox> |
| 37 | + </div> |
| 38 | + <div class="display-part"> |
| 39 | + <span |
| 40 | + matTooltipPosition="below" |
| 41 | + matTooltipShowDelay="300" |
| 42 | + [matTooltip]="selectedField.getDisplay() | displayTranslation" |
| 43 | + > |
| 44 | + {{ selectedField.getDisplay() | displayTranslation }} |
| 45 | + </span> |
| 46 | + </div> |
| 47 | + <div |
| 48 | + *ngIf="!selectedField.getIsRequired()" |
| 49 | + fxLayout="row" |
| 50 | + fxFlex="10" |
| 51 | + fxLayoutAlign="end center" |
| 52 | + class="padding-right-10" |
| 53 | + > |
| 54 | + <fa-icon |
| 55 | + [icon]="'times'" |
| 56 | + size="1x" |
| 57 | + (click)="removeSelectedField(selectedField)" |
| 58 | + class="delete-button" |
| 59 | + ></fa-icon> |
| 60 | + </div> |
| 61 | + </div> |
60 | 62 | </div>
|
61 | 63 | </div>
|
62 | 64 | </div>
|
|
0 commit comments