blob: 03129bfb0983fa21281f5ca0516f203b786a7e55 [file] [log] [blame]
Stone, Avi (as206k)9b2ceb32018-04-12 16:36:39 +03001<div style="display: flex; position: relative; justify-content: flex-end;">
2 <div style="display: flex; justify-content: flex-end;" [class]="genrateBarTestId()">
3 <button mat-icon-button>
4 <span style="width: 100%;
5 height: 100%;
6 display: flex;
7 justify-content: center;
8 align-items: center;" [innerHTML]="'help-circle' | feather:18"></span>
9 </button>
10 <hr>
11
12 <div *ngIf="tabName.includes('map')" style="display: flex;">
13 <button mat-icon-button>
14 <span style="width: 100%;
15 height: 100%;
16 display: flex;
17 justify-content: center;
18 align-items: center;" [innerHTML]="'upload' | feather:18"></span>
19 </button>
20 <hr>
21
22 <button mat-icon-button>
23 <span style="width: 100%;
24 height: 100%;
25 display: flex;
26 justify-content: center;
27 align-items: center;" [innerHTML]="'download' | feather:18"></span>
28 </button>
29 <hr>
30 </div>
31
32 <button mat-icon-button (click)="enableSetting()" data-tests-id="setting-gear" [style.color]="this.store.expandAdvancedSetting[store.tabIndex] ? '#009FDB' : 'black'">
33 <span style="width: 100%;
34 height: 100%;
35 display: flex;
36 justify-content: center;
37 align-items: center;" [innerHTML]="'settings' | feather:18"></span>
38 </button>
39 </div>
40
41 <!-- advanced setting -->
42 <div class="setting" *ngIf="store.expandAdvancedSetting[store.tabIndex]">
43 <div *mobxAutorun style="width: 100%;" [class]="tabName+'-setting-list'">
44 <div style="font-size: 1.5em; padding: 0 12px;">{{tabName}} Advanced Setting</div>
45 <form #cdumpConfForm="ngForm">
46 <div *ngFor="let prop of store.configurationForm" class="field" [id]="prop.name">
47 <p class="field-label">{{prop.name}}</p>
48 <input *ngIf="!isPropertyDdl(prop)" type="text" name="{{prop.name}}" class="field-text" [(ngModel)]="prop.assignment.value"
49 (ngModelChange)="onChange($event)">
50 <select *ngIf="isPropertyDdl(prop)" class="field-text" name="{{prop.name}}" [(ngModel)]="prop.assignment.value" (ngModelChange)="onChange($event)">
51 <option *ngFor="let value of prop.constraints[0].valid_values" [value]="value">
52 {{value}}
53 </option>
54 </select>
55 </div>
56 </form>
57 </div>
58 </div>
59</div>