Skip to content
Snippets Groups Projects
Commit a675f321 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FEAT #13195 TIME 0:10 fix db mode position

parent 5f3c8afc
No related branches found
No related tags found
No related merge requests found
...@@ -44,6 +44,12 @@ ...@@ -44,6 +44,12 @@
</mat-form-field> </mat-form-field>
</div> </div>
<div class="col-md-12" style="display: flex;align-items: center;"> <div class="col-md-12" style="display: flex;align-items: center;">
<div>
<button *ngIf="!custom.SQLMode && 'banAutocomplete' !== custom.type"
mat-mini-fab color="primary" (click)="switchSQLMode(custom)">
<mat-icon class="fas fa-database" style="height: auto;"></mat-icon>
</button>
</div>
<div style="flex:1;" <div style="flex:1;"
*ngIf="['select', 'radio', 'checkbox'].indexOf(custom.type) > -1"> *ngIf="['select', 'radio', 'checkbox'].indexOf(custom.type) > -1">
<mat-expansion-panel *ngIf="!custom.SQLMode" class="customFieldValues" <mat-expansion-panel *ngIf="!custom.SQLMode" class="customFieldValues"
...@@ -82,15 +88,14 @@ ...@@ -82,15 +88,14 @@
</div> </div>
</mat-expansion-panel> </mat-expansion-panel>
</div> </div>
<div>
<button *ngIf="!custom.SQLMode && 'banAutocomplete' !== custom.type"
mat-mini-fab color="primary" (click)="switchSQLMode(custom)">
<mat-icon class="fas fa-database" style="height: auto;"></mat-icon>
</button>
</div>
</div> </div>
<div *ngIf="custom.SQLMode" class="col-md-12" <div *ngIf="custom.SQLMode" class="col-md-12"
style="display: flex;align-items: center;"> style="display: flex;align-items: center;">
<div>
<button mat-mini-fab color="primary" (click)="switchSQLMode(custom)">
<mat-icon class="fas fa-list-ol" style="height: auto;"></mat-icon>
</button>
</div>
<div style="flex:1;"> <div style="flex:1;">
<mat-expansion-panel *ngIf="custom.SQLMode" class="customFieldValues" <mat-expansion-panel *ngIf="custom.SQLMode" class="customFieldValues"
opened> opened>
...@@ -154,11 +159,6 @@ ...@@ -154,11 +159,6 @@
</div> </div>
</mat-expansion-panel> </mat-expansion-panel>
</div> </div>
<div>
<button mat-mini-fab color="primary" (click)="switchSQLMode(custom)">
<mat-icon class="fas fa-list-ol" style="height: auto;"></mat-icon>
</button>
</div>
</div> </div>
<div class="col-md-12 text-center"> <div class="col-md-12 text-center">
<button mat-raised-button color="primary" <button mat-raised-button color="primary"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment