diff options
author | Stone, Avi (as206k) <as206k@att.com> | 2018-04-12 16:36:39 +0300 |
---|---|---|
committer | Stone, Avi (as206k) <as206k@att.com> | 2018-04-12 16:36:39 +0300 |
commit | 9b2ceb347a3371819fcad6bbe2268203afecaf4e (patch) | |
tree | fbb5ea2c147d71dfeeec0882b215423e7b7206b4 /public/src/app/bar-icons/bar-icons.component.html | |
parent | 72dc8e3298d3e4315cdd9717b778671cb0b625bc (diff) |
DCAE-D fe initial commit
DCAE-D fe initial commit
Change-Id: Ica8ccb7c7ef769c969664d1e168d205eb9fc67f2
Issue-ID: SDC-1218
Signed-off-by: Stone, Avi (as206k) <as206k@att.com>
Diffstat (limited to 'public/src/app/bar-icons/bar-icons.component.html')
-rw-r--r-- | public/src/app/bar-icons/bar-icons.component.html | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/public/src/app/bar-icons/bar-icons.component.html b/public/src/app/bar-icons/bar-icons.component.html new file mode 100644 index 0000000..03129bf --- /dev/null +++ b/public/src/app/bar-icons/bar-icons.component.html @@ -0,0 +1,59 @@ +<div style="display: flex; position: relative; justify-content: flex-end;"> + <div style="display: flex; justify-content: flex-end;" [class]="genrateBarTestId()"> + <button mat-icon-button> + <span style="width: 100%; + height: 100%; + display: flex; + justify-content: center; + align-items: center;" [innerHTML]="'help-circle' | feather:18"></span> + </button> + <hr> + + <div *ngIf="tabName.includes('map')" style="display: flex;"> + <button mat-icon-button> + <span style="width: 100%; + height: 100%; + display: flex; + justify-content: center; + align-items: center;" [innerHTML]="'upload' | feather:18"></span> + </button> + <hr> + + <button mat-icon-button> + <span style="width: 100%; + height: 100%; + display: flex; + justify-content: center; + align-items: center;" [innerHTML]="'download' | feather:18"></span> + </button> + <hr> + </div> + + <button mat-icon-button (click)="enableSetting()" data-tests-id="setting-gear" [style.color]="this.store.expandAdvancedSetting[store.tabIndex] ? '#009FDB' : 'black'"> + <span style="width: 100%; + height: 100%; + display: flex; + justify-content: center; + align-items: center;" [innerHTML]="'settings' | feather:18"></span> + </button> + </div> + + <!-- advanced setting --> + <div class="setting" *ngIf="store.expandAdvancedSetting[store.tabIndex]"> + <div *mobxAutorun style="width: 100%;" [class]="tabName+'-setting-list'"> + <div style="font-size: 1.5em; padding: 0 12px;">{{tabName}} Advanced Setting</div> + <form #cdumpConfForm="ngForm"> + <div *ngFor="let prop of store.configurationForm" class="field" [id]="prop.name"> + <p class="field-label">{{prop.name}}</p> + <input *ngIf="!isPropertyDdl(prop)" type="text" name="{{prop.name}}" class="field-text" [(ngModel)]="prop.assignment.value" + (ngModelChange)="onChange($event)"> + <select *ngIf="isPropertyDdl(prop)" class="field-text" name="{{prop.name}}" [(ngModel)]="prop.assignment.value" (ngModelChange)="onChange($event)"> + <option *ngFor="let value of prop.constraints[0].valid_values" [value]="value"> + {{value}} + </option> + </select> + </div> + </form> + </div> + </div> +</div> |