blob: 2b5269dadb6e25855ae51d98bf77abcaf1e686d4 [file] [log] [blame]
Stone, Avi (as206k)548c5a22018-06-03 13:12:12 +03001<div style="display: flex; position: relative; justify-content: flex-end;" class="bars">
2 <div style="display: flex; justify-content: flex-end; align-items:center;" [class]="genrateBarTestId()">
Stone, Avi (as206k)9b2ceb32018-04-12 16:36:39 +03003 <button mat-icon-button>
4 <span style="width: 100%;
Stone, Avi (as206k)548c5a22018-06-03 13:12:12 +03005 color:#5a5a5a;
Stone, Avi (as206k)9b2ceb32018-04-12 16:36:39 +03006 height: 100%;
7 display: flex;
8 justify-content: center;
Stone, Avi (as206k)548c5a22018-06-03 13:12:12 +03009 align-items: center;" [innerHTML]="'help-circle' | feather:20"></span>
Stone, Avi (as206k)9b2ceb32018-04-12 16:36:39 +030010 </button>
11 <hr>
12
Stone, Avi (as206k)548c5a22018-06-03 13:12:12 +030013 <div *ngIf="tabName.includes('map')" style="display: flex; align-items: center;">
Stone, Avi (as206k)9b2ceb32018-04-12 16:36:39 +030014 <button mat-icon-button>
15 <span style="width: 100%;
Stone, Avi (as206k)548c5a22018-06-03 13:12:12 +030016 color:#5a5a5a;
Stone, Avi (as206k)9b2ceb32018-04-12 16:36:39 +030017 height: 100%;
18 display: flex;
19 justify-content: center;
Stone, Avi (as206k)548c5a22018-06-03 13:12:12 +030020 align-items: center;" [innerHTML]="'upload' | feather:20"></span>
Stone, Avi (as206k)9b2ceb32018-04-12 16:36:39 +030021 </button>
22 <hr>
23
24 <button mat-icon-button>
25 <span style="width: 100%;
Stone, Avi (as206k)548c5a22018-06-03 13:12:12 +030026 color:#5a5a5a;
Stone, Avi (as206k)9b2ceb32018-04-12 16:36:39 +030027 height: 100%;
28 display: flex;
29 justify-content: center;
Stone, Avi (as206k)548c5a22018-06-03 13:12:12 +030030 align-items: center;" [innerHTML]="'download' | feather:20"></span>
Stone, Avi (as206k)9b2ceb32018-04-12 16:36:39 +030031 </button>
32 <hr>
33 </div>
34
35 <button mat-icon-button (click)="enableSetting()" data-tests-id="setting-gear" [style.color]="this.store.expandAdvancedSetting[store.tabIndex] ? '#009FDB' : 'black'">
36 <span style="width: 100%;
Stone, Avi (as206k)548c5a22018-06-03 13:12:12 +030037 color:#5a5a5a;
Stone, Avi (as206k)9b2ceb32018-04-12 16:36:39 +030038 height: 100%;
39 display: flex;
40 justify-content: center;
Stone, Avi (as206k)548c5a22018-06-03 13:12:12 +030041 align-items: center;" [innerHTML]="'settings' | feather:20"></span>
Stone, Avi (as206k)9b2ceb32018-04-12 16:36:39 +030042 </button>
43 </div>
44
45 <!-- advanced setting -->
46 <div class="setting" *ngIf="store.expandAdvancedSetting[store.tabIndex]">
47 <div *mobxAutorun style="width: 100%;" [class]="tabName+'-setting-list'">
48 <div style="font-size: 1.5em; padding: 0 12px;">{{tabName}} Advanced Setting</div>
49 <form #cdumpConfForm="ngForm">
50 <div *ngFor="let prop of store.configurationForm" class="field" [id]="prop.name">
Stone, Avi (as206k)548c5a22018-06-03 13:12:12 +030051 <div style="display: flex;">
52 <p class="field-label">
53 {{prop.name}}
54 </p>
55 <span *ngIf="prop.description" class="help-description" style="padding-left: 5px;" [innerHTML]="'help-circle' | feather:14"
56 pTooltip="{{prop.description}}" tooltipPosition="top"></span>
57 </div>
58
59 <input *ngIf="isPropertyDdl(prop) === dropDownTypes.none" type="text" name="{{prop.name}}" class="field-text" [(ngModel)]="prop.value"
Stone, Avi (as206k)9b2ceb32018-04-12 16:36:39 +030060 (ngModelChange)="onChange($event)">
Stone, Avi (as206k)548c5a22018-06-03 13:12:12 +030061
62 <select *ngIf="isPropertyDdl(prop) === dropDownTypes.regularDDL" class="field-text" name="{{prop.name}}" [(ngModel)]="prop.value"
63 (ngModelChange)="onChange($event)">
64 <option *ngFor="let value of prop.constraints[0].valid_values" [value]="value">
65 {{value}}
66 </option>
67 </select>
68 <select *ngIf="isPropertyDdl(prop) === dropDownTypes.booleanDDL" class="field-text" name="{{prop.name}}" [(ngModel)]="prop.value"
69 (ngModelChange)="onChange($event)" data-tests-id="booleanDDL">
70 <option value="false">
71 false
72 </option>
73 <option value="true">
74 true
75 </option>
76 </select>
Stone, Avi (as206k)9b2ceb32018-04-12 16:36:39 +030077 </div>
78 </form>
79 </div>
80 </div>
81</div>