1 <div id="template-popup" class="modal-dialog">
2 <div class="modal-content">
3 <div class="modal-header">
6 (click)="closeModal()">×
8 <span [attr.data-tests-id]="'template-modal-title'"
9 class="modal-title">Templates
12 <div class="modal-body templateModalBody">
13 <div class="row description-section">
14 <div class="col-md-6">
15 <div [attr.data-tests-id]="'description-part-1'">The following list presents previous instantiations done for
16 this model in this version.
18 <div [attr.data-tests-id]="'description-part-2'">You may use one of them as a baseline for your instantiation
19 or start from scratch.
21 <div [attr.data-tests-id]="'description-part-3'">Once you selecting one allows you to change the data before
25 <div class="col-md-6">
27 (keypress)="onFilterKeypress($event)"
28 class="filter-input form-control input-text"
29 placeholder="Filter...">
33 <div class="row" style="margin-left: 0;margin-right: 0;padding: 20px;">
34 <table id="member-table" class="table table-bordered" style="table-layout: fixed">
35 <thead class="thead-dark">
37 <th class="header-title" id="header-userId">User ID</th>
38 <th class="header-title" id="header-createDate" style="width: 21ch;">Date</th>
39 <th class="header-title" id="header-instanceName" style="max-width: 50ch;">Instance Name</th>
40 <th class="header-title" id="header-instantiationStatus">Instantiation Status</th>
41 <th class="header-title" id="header-summary">Summary</th>
42 <th class="header-title" id="header-region">Region</th>
43 <th class="header-title" id="header-tenant">Tenant</th>
44 <th class="header-title" id="header-aicZone">AIC Zone</th>
48 <tr class="member-table-row"
49 *ngFor="let item of filterTableData;"
50 (click)="selectedJobId = item.jobId"
51 [ngClass]="{'selected' : selectedJobId === item.jobId}"
52 [attr.data-tests-id]="'row-' + item.jobId">
56 [dataTestId]="'userId-' + item.jobId"
63 <td style="width: 21ch;">
66 [dataTestId]="'createDate-' + item.jobId"
67 [id]="item.createDate"
68 [value]="item.createDate"
73 <td style="max-width: 50ch;">
77 [dataTestId]="'instanceName-' + item.jobId"
78 [id]="item.instanceName"
79 [value]="item.instanceName"
88 [dataTestId]="'instantiationStatus-' + item.jobId"
89 [id]="item.instantiationStatus"
90 [value]="item.instantiationStatus"
98 [dataTestId]="'summary-' + item.jobId"
100 [value]="item.summary"
109 [dataTestId]="'region-' + item.jobId"
111 [value]="item.region"
120 [dataTestId]="'tenant-' + item.jobId"
122 [value]="item.tenant"
130 [dataTestId]="'aicZone-' + item.jobId"
132 [value]="item.aicZone"
143 <div class="modal-footer row" style="padding: 0">
144 <div class="col-md-6">
146 <div class="col-md-6" style="padding: 15px;padding-right: 35px;">
148 [disabled]="selectedJobId === null"
149 [attr.data-tests-id]="'LoadTemplateButton'"
150 type="button" class="btn btn-primary submit"
151 (click)="loadTemplate()"><span>Load Template</span>
154 [attr.data-tests-id]="'startFromScratchButton'"
155 type="button" class="btn btn-success submit startFromScratchButton"
156 (click)="closeModal()"><span>Start from Scratch</span>