1 <app-sqlwindow-modal-save-component [(visible)]="showSaveSQLDialog">
4 <div class="card-body">
5 <div class="modalTitle">{{SQLstatus}}</div>
6 <button *ngIf="SQLclosable" (click)="closeSaveModal()" aria-label="Close" class="dialog__close-btn">X</button>
8 <h4>{{SQLmessage}}</h4>
10 <div class="card-footer">
11 <button (click)="showSaveSQLDialog = !showSaveSQLDialog" class="btn btn-alt btn-small">Close</button>
14 </app-sqlwindow-modal-save-component>
17 <app-sqlwindow-modal-validate-test-run-component [(visible)]="showValidateSQLDialog">
20 <div class="card-body" style="width: 800px; height: 615px; ">
21 <div style="height:600px; overflow: scroll;">
22 <div class="modalTitle">{{Validatestatus}}</div>
23 <button *ngIf="Validateclosable" (click)="closeValidateModal()" aria-label="Close" class="dialog__close-btn">X</button>
25 <app-validate-success-component *ngIf="ValidatePostResponse.query" [tableObj] = "GetValidateResponseString()"></app-validate-success-component>
26 <app-validate-error-component *ngIf="!ValidatePostResponse.query" [tableObj] = "GetValidateResponseString()"></app-validate-error-component>
29 <div class="card-footer" style="width: 800px;">
30 <button (click)="closeValidateModal()" class="btn btn-alt btn-small">Close</button>
33 </app-sqlwindow-modal-validate-test-run-component>
38 <div class="tab-content">
39 <h1>Step 2 - Report SQL</h1>
43 <div class="forms-group">
44 <div class="tab-pane">
45 <div class="field-group">
46 <label>Report SQL</label> <br/>
47 <textarea class="defaultFontSize" id="sqlText" type="textarea" name="sqlText" [(ngModel)]="sqlText" value="{{finalGetObj['query']}}"></textarea>
50 <div class="field-group">
52 <button style="font-size: 17px;" class="btn btn-alt btn-small" (click)="saveSQL()" >Save</button> <button style="font-size: 17px;" class="btn btn-alt btn-small" (click)="validate()" >Validate & Test Run SQL</button>