Pause issue if orchStatus is Active fixed
[vid.git] / vid-webpack-master / src / app / shared / components / auditInfoModal / auditInfoModal.component.html
1 <div class="modal fade" bsModal #auditInfoModal="bs-modal" [config]="{backdrop: 'static'}"
2      tabindex="-1" role="dialog" aria-labelledby="dialog-static-name">
3   <div style="width: 100%; height: 100%" id="audit-info-modal" class=""
4        [ngStyle]="style" mwlResizable [enableGhostResize]="true"
5        [resizeEdges]="{ bottom: true, right: true, top: true, left: true }" (resizeEnd)="onResizeEnd($event)"
6        [validateResize]="validate">
7     <div class="modal-content">
8       <div class="modal-header">
9         <button type="button" class="close" (click)="onCancelClick()">&times;</button>
10         <span [attr.data-tests-id]="'audit-info-title'" class="modal-title">{{title}}</span>
11         <br>
12         <span style="font-size: 16px;">
13           <!-- ServiceInstanceName(ServiceModelName/ServiceModelId) -->
14           <span title="Service Instance name">{{serviceInstanceName }}</span><span title="Service Model name"> ({{serviceModelName}}/</span>
15           <span title="Service Model version">{{serviceModelVersion}})</span>
16         </span>
17       </div>
18       <div class="modal-body row" style="height: 515px">
19
20         <div class="col-md-8 right-panel">
21
22           <div class="row">
23             <div class="col-md-6 leftColumn"><span class="table-title">MSO status</span></div>
24             <div class="col-md-6 rightColumn">
25               <span>
26                 <a id="glossary_link" target="_blank" href="#" (click)="onNavigate()">Building Block (BB) glossary</a>
27               </span>
28               &nbsp;
29               <span>
30                 <a id="full_screen_link" target="_parent" title="Go to drawing board" [href]="readOnlyRetryUrl()">
31                   <i class="fa fa-external-link"></i>
32                 </a>
33             </span>
34             </div>
35           </div>
36           <div style="max-height: 90%;overflow-y: scroll; max-width: 100%;overflow-x: scroll;">
37             <table id="service-instantiation-audit-info-mso" class="table table-bordered"  style="min-width: 950px;overflow-x: auto;">
38               <thead class="thead-dark row">
39               <tr class="row">
40                 <th scope="col" class="request-id">Request ID</th>
41                 <th *ngIf="isAlaCarte&&isALaCarteFlagOn" id="instanceName" class="col-md-2" scope="col" >Instance Name</th>
42                 <th>Model Type</th>
43                 <th>Request Type</th>
44                 <th>Start Time</th>
45                 <th>Finish Time</th>
46                 <th scope="col">Request Status</th>
47                 <th class="col-md-2" scope="col">Additional info</th>
48               </tr>
49               </thead>
50               <tbody>
51               <tr class="row" *ngFor="let data of msoInfoData">
52                 <td id="msoRequestId" style="width: 22%">
53                   <custom-ellipsis [id]="data?.requestId" [value]="data?.requestId" [attr.data-tests-id]="'requestId'"></custom-ellipsis>
54                 </td>
55                 <td *ngIf="isAlaCarte && isALaCarteFlagOn" class="msoInstanceName" style="width: 10%">
56                   <custom-ellipsis [id]="data?.instanceName" [value]="data?.instanceName"></custom-ellipsis>
57                 </td>
58                 <td id="msoModelType" style="width: 7%">
59                   <custom-ellipsis [value]="data?.modelType"></custom-ellipsis>
60                 </td>
61                 <td id="msoInstanceType" style="width: 10%">
62                   <custom-ellipsis [value]="data?.instanceType"></custom-ellipsis>
63                 </td>
64                 <td id="msostartTime" style="width: 10%">
65                   <custom-ellipsis [value]="data?.startTime"></custom-ellipsis>
66                 </td>
67                 <td id="msoFinishTime" style="width: 10%">
68                   <custom-ellipsis [value]="data?.finishTime"></custom-ellipsis>
69                 </td >
70                 <td id="msoJobStatus" style="width: 8%">
71                   <custom-ellipsis [id]="data?.jobStatus" [value]="data?.jobStatus | capitalizeAndFormat" [attr.data-tests-id]="'jobStatus'"></custom-ellipsis>
72                 </td>
73                 <td class="col-md-2" id="msoAdditionalInfo" style="width: 33%">
74                   <custom-ellipsis [id]="data?.additionalInfo" [value]="data?.additionalInfo" [attr.data-tests-id]="'additionalInfo'"></custom-ellipsis>
75                 </td>
76               </tr>
77               </tbody>
78             </table>
79             <div class="no-result" *ngIf="!isLoading && msoInfoData?.length == 0">There is no data.</div>
80           </div>
81         </div>
82       </div>
83       <div class="modal-footer row">
84         <button *ngIf="exportMSOStatusFeatureEnabled" style= "font-size: 12px" id="exportButton" type="button" class="btn btn-default cancel"
85                 (click)="exportMsoStatusTable()" [attr.data-tests-id]="'export-button'">
86           Export
87         </button>
88         <button style= "font-size: 12px" id="refreshButton" type="button" class="btn btn-default cancel"
89                  [attr.data-tests-id]="'refresh-button'"
90                  [ngClass]="{'spin' : !dataIsReady}" (click)="refreshData();">
91           Refresh
92         </button>
93         <button style= "font-size: 12px" id="cancelButton" type="button" class="btn btn-default cancel" (click)="onCancelClick()" [attr.data-tests-id]="'close-button'">
94           Close
95         </button>
96       </div>
97     </div>
98   </div>
99 </div>