Stone, Avi (as206k) | 548c5a2 | 2018-06-03 13:12:12 +0300 | [diff] [blame^] | 1 | <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) | 9b2ceb3 | 2018-04-12 16:36:39 +0300 | [diff] [blame] | 3 | <button mat-icon-button> |
| 4 | <span style="width: 100%; |
Stone, Avi (as206k) | 548c5a2 | 2018-06-03 13:12:12 +0300 | [diff] [blame^] | 5 | color:#5a5a5a; |
Stone, Avi (as206k) | 9b2ceb3 | 2018-04-12 16:36:39 +0300 | [diff] [blame] | 6 | height: 100%; |
| 7 | display: flex; |
| 8 | justify-content: center; |
Stone, Avi (as206k) | 548c5a2 | 2018-06-03 13:12:12 +0300 | [diff] [blame^] | 9 | align-items: center;" [innerHTML]="'help-circle' | feather:20"></span> |
Stone, Avi (as206k) | 9b2ceb3 | 2018-04-12 16:36:39 +0300 | [diff] [blame] | 10 | </button> |
| 11 | <hr> |
| 12 | |
Stone, Avi (as206k) | 548c5a2 | 2018-06-03 13:12:12 +0300 | [diff] [blame^] | 13 | <div *ngIf="tabName.includes('map')" style="display: flex; align-items: center;"> |
Stone, Avi (as206k) | 9b2ceb3 | 2018-04-12 16:36:39 +0300 | [diff] [blame] | 14 | <button mat-icon-button> |
| 15 | <span style="width: 100%; |
Stone, Avi (as206k) | 548c5a2 | 2018-06-03 13:12:12 +0300 | [diff] [blame^] | 16 | color:#5a5a5a; |
Stone, Avi (as206k) | 9b2ceb3 | 2018-04-12 16:36:39 +0300 | [diff] [blame] | 17 | height: 100%; |
| 18 | display: flex; |
| 19 | justify-content: center; |
Stone, Avi (as206k) | 548c5a2 | 2018-06-03 13:12:12 +0300 | [diff] [blame^] | 20 | align-items: center;" [innerHTML]="'upload' | feather:20"></span> |
Stone, Avi (as206k) | 9b2ceb3 | 2018-04-12 16:36:39 +0300 | [diff] [blame] | 21 | </button> |
| 22 | <hr> |
| 23 | |
| 24 | <button mat-icon-button> |
| 25 | <span style="width: 100%; |
Stone, Avi (as206k) | 548c5a2 | 2018-06-03 13:12:12 +0300 | [diff] [blame^] | 26 | color:#5a5a5a; |
Stone, Avi (as206k) | 9b2ceb3 | 2018-04-12 16:36:39 +0300 | [diff] [blame] | 27 | height: 100%; |
| 28 | display: flex; |
| 29 | justify-content: center; |
Stone, Avi (as206k) | 548c5a2 | 2018-06-03 13:12:12 +0300 | [diff] [blame^] | 30 | align-items: center;" [innerHTML]="'download' | feather:20"></span> |
Stone, Avi (as206k) | 9b2ceb3 | 2018-04-12 16:36:39 +0300 | [diff] [blame] | 31 | </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) | 548c5a2 | 2018-06-03 13:12:12 +0300 | [diff] [blame^] | 37 | color:#5a5a5a; |
Stone, Avi (as206k) | 9b2ceb3 | 2018-04-12 16:36:39 +0300 | [diff] [blame] | 38 | height: 100%; |
| 39 | display: flex; |
| 40 | justify-content: center; |
Stone, Avi (as206k) | 548c5a2 | 2018-06-03 13:12:12 +0300 | [diff] [blame^] | 41 | align-items: center;" [innerHTML]="'settings' | feather:20"></span> |
Stone, Avi (as206k) | 9b2ceb3 | 2018-04-12 16:36:39 +0300 | [diff] [blame] | 42 | </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) | 548c5a2 | 2018-06-03 13:12:12 +0300 | [diff] [blame^] | 51 | <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) | 9b2ceb3 | 2018-04-12 16:36:39 +0300 | [diff] [blame] | 60 | (ngModelChange)="onChange($event)"> |
Stone, Avi (as206k) | 548c5a2 | 2018-06-03 13:12:12 +0300 | [diff] [blame^] | 61 | |
| 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) | 9b2ceb3 | 2018-04-12 16:36:39 +0300 | [diff] [blame] | 77 | </div> |
| 78 | </form> |
| 79 | </div> |
| 80 | </div> |
| 81 | </div> |