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">
26 <div class="col-md-6">
28 <div class="col-md-6">
30 class="filter-input form-control input-text"
31 placeholder="Filter..."
32 [(ngModel)]="filterText">
36 <div class="row" style="margin-left: 0;margin-right: 0;padding: 20px;">
37 <table id="member-table" class="table table-bordered" style="table-layout: fixed">
38 <thead class="thead-dark">
40 <th class="header-title" id="header-userId">User ID</th>
41 <th class="header-title" id="header-createDate" style="width: 21ch;">Date</th>
42 <th class="header-title" id="header-instanceName" style="max-width: 50ch;">Instance Name</th>
43 <th class="header-title" id="header-instantiationStatus" style="width: 30ch;">Instantiation Status</th>
44 <th class="header-title" id="header-summary">Summary</th>
45 <th class="header-title" id="header-region">Region</th>
46 <th class="header-title" id="header-tenant">Tenant</th>
47 <th class="header-title" id="header-aicZone">AIC Zone</th>
51 <tr class="member-table-row"
52 *ngFor="let item of filterTableData | searchFilter: filterText ;"
53 (click)="selectedInstantiation = item"
54 [ngClass]="{'selected' : selectedInstantiation && selectedInstantiation.jobId === item.jobId}"
55 [attr.data-tests-id]="'row-' + item.jobId">
59 [dataTestId]="'userId-' + item.jobId"
66 <td style="width: 21ch;">
69 [dataTestId]="'createDate-' + item.jobId"
70 [id]="item.createDate"
71 [value]="item.createDate"
76 <td style="max-width: 50ch;">
80 [dataTestId]="'instanceName-' + item.jobId"
81 [id]="item.instanceName"
82 [value]="item.instanceName"
91 [dataTestId]="'instantiationStatus-' + item.jobId"
92 [id]="item.instantiationStatus"
93 [value]="item.instantiationStatus"
101 [dataTestId]="'summary-' + item.jobId"
103 [value]="item.summary"
112 [dataTestId]="'region-' + item.jobId"
114 [value]="item.region"
123 [dataTestId]="'tenant-' + item.jobId"
125 [value]="item.tenant"
133 [dataTestId]="'aicZone-' + item.jobId"
135 [value]="item.aicZone"
146 <div class="modal-footer row" style="padding: 0">
147 <div class="col-md-6">
149 <div class="col-md-6" style="padding: 15px;padding-right: 35px;">
151 [disabled]="selectedInstantiation && selectedInstantiation.jobId === null"
152 [attr.data-tests-id]="'LoadTemplateButton'"
153 type="button" class="btn btn-primary submit"
154 (click)="loadTemplate()"><span>Load Template</span>
157 [attr.data-tests-id]="'startFromScratchButton'"
158 type="button" class="btn btn-success submit startFromScratchButton"
159 (click)="closeModal()"><span>Start from Scratch</span>