d4fad0725d60ee9a2f700e6c3cfd7432426c709d
[usecase-ui.git] /
1 <div class="slicing-resource-table">
2     <div nz-row>
3         <div nz-col nzSpan="12" class="task_status">
4             <span>Status : </span>
5             <nz-select nzShowSearch nzPlaceHolder="Select a processing status" [(ngModel)]="selectedValue"
6                 (ngModelChange)="getListOfProcessingStatus()">
7                 <nz-option *ngFor="let item of statusOptions" [nzLabel]="item" [nzValue]="item"></nz-option>
8             </nz-select>
9         </div>
10     </div>
11     <div class="slicing-resource-table-list">
12         <nz-table #nssiTable [nzData]="listOfData" [nzFrontPagination]="false" nzShowSizeChanger
13             [nzPageSizeOptions]="[5,10,15,20]" [nzTotal]='total' [(nzPageSize)]="pageSize" [(nzPageIndex)]='pageIndex'
14             [nzLoading]="loading" (nzPageIndexChange)="searchData()" (nzPageSizeChange)="searchData(true)">
15             <thead>
16                 <tr>
17                     <th>Service Instance Id</th>
18                     <th>Service Instance Name</th>
19                     <th>Service Type</th>
20                     <th>Status</th>
21                     <th width="140px">Detail</th>
22                 </tr>
23             </thead>
24             <tbody>
25                 <ng-template ngFor let-data [ngForOf]="nssiTable.data" let-i="index">
26                     <tr>
27                         <td>{{ data.service_instance_id }}</td>
28                         <td>{{ data.service_instance_name }}</td>
29                         <td>{{ data.service_type }}</td>
30                         <td>{{data.orchestration_status}}</td>
31                         <td>
32                             <a (click)="showdetail(data)">View Detail</a>
33                         </td>
34                     </tr>
35                 </ng-template>
36             </tbody>
37         </nz-table>
38     </div>
39 </div>