merge from ecomp a88f0072 - Modern UI
[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 id="audit-info-modal" class="">
4     <div class="modal-content">
5       <div class="modal-header">
6         <button type="button" class="close" (click)="onCancelClick()">&times;</button>
7         <span [attr.data-tests-id]="'audit-info-title'" class="modal-title">{{title}}</span>
8       </div>
9       <div class="modal-body row">
10         <div class="col-md-4 left-panel">
11           <div id="service-model-name" class="row">{{type | uppercase}} MODEL: <span>{{serviceModelName}}</span></div>
12           <div class="row service-model">
13             <model-information [modelInformationItems]="modelInfoItems"></model-information>
14           </div>
15         </div>
16         <div class="col-md-8 right-panel">
17             <div class="row" *ngIf="showVidStatus"><span class="table-title">VID status</span></div>
18             <div class="row" *ngIf="showVidStatus">
19               <table id="service-instantiation-audit-info-vid"  class="table table-bordered">
20                 <thead class="thead-dark">
21                 <tr class="row">
22                   <th class="col-md-4" scope="col">Status</th>
23                   <th class="col-md-4" scope="col">Status time</th>
24                   <th class="col-md-4" scope="col">Final</th>
25                 </tr>
26                 </thead>
27                 <tbody>
28                 <tr class="row" *ngFor="let data of vidInfoData">
29                   <td class="col-md-4" id="vidJobStatus" [attr.data-tests-id]="'vidJobStatus'">
30                     <custom-ellipsis [id]="data?.jobStatus" [value]="data?.jobStatus | capitalizeAndFormat"></custom-ellipsis>
31                   </td>
32                   <td class="col-md-4" id="vidStatusTime">
33                     <custom-ellipsis [id]="data?.vidCreated"
34                                      [value]="data?.createdDate | date:'MMM dd, yyyy HH:mm'"></custom-ellipsis>
35                   </td>
36                   <td class="col-md-4" id="vidFinalStatus">
37                     <custom-ellipsis [id]="data?.final"
38                                      [value]="data?.final ? 'Yes' : 'No'"></custom-ellipsis>
39                   </td>
40                 </tr>
41                 </tbody>
42               </table>
43               <div class="no-result" *ngIf="!isLoading && vidInfoData?.length == 0">There is no data.</div>
44             </div>
45
46             <div class="row">
47               <div class="col-md-6 leftColumn"><span class="table-title">MSO status</span></div>
48               <div class="col-md-6 rightColumn"><span><a id="glossary_link" target="_blank" href="#" (click)="onNavigate()">Building Block (BB) glossary</a></span></div>
49             </div>
50             <table id="service-instantiation-audit-info-mso" class="table table-bordered">
51               <thead class="thead-dark row">
52               <tr class="row">
53                 <th scope="col" class="request-id">Request ID</th>
54                 <th *ngIf="isAlaCarte&&isALaCarteFlagOn" id="instanceName" class="col-md-2" scope="col">Instance Name</th>
55                 <th class="col-md-2" scope="col">Status</th>
56                 <th class="col-md-2" scope="col">Status time</th>
57                 <th class="col-md-2" scope="col">Additional info</th>
58               </tr>
59               </thead>
60               <tbody>
61               <tr class="row" *ngFor="let data of msoInfoData">
62                 <td id="msoRequestId" class="request-id">
63                   <custom-ellipsis [id]="data?.requestId" [value]="data?.requestId"></custom-ellipsis>
64                 </td>
65                 <td *ngIf="isAlaCarte && isALaCarteFlagOn" class="msoInstanceName col-md-2">
66                   <custom-ellipsis [id]="data?.instanceName" [value]="data?.instanceType + ': ' + data?.instanceName"></custom-ellipsis>
67                 </td>
68                 <td class="col-md-2" id="msoJobStatus">
69                   <custom-ellipsis [id]="data?.jobStatus" [value]="data?.jobStatus | capitalizeAndFormat"></custom-ellipsis>
70                 </td>
71                 <td class="col-md-2" id="msoStatusTime">
72                   <custom-ellipsis [id]="data?.vidCreated"
73                                    [value]="data?.createdDate  | date:'MMM dd, yyyy HH:mm'"></custom-ellipsis>
74                 </td>
75                 <td class="col-md-2" id="msoAdditionalInfo">
76                   <custom-ellipsis [id]="data?.additionalInfo" [value]="data?.additionalInfo"></custom-ellipsis>
77                 </td>
78               </tr>
79               </tbody>
80             </table>
81           <div class="no-result" *ngIf="!isLoading && msoInfoData?.length == 0">There is no data.</div>
82           </div>
83
84       </div>
85       <div class="modal-footer row">
86         <button style= "font-size: 12px" id="cancelButton" type="button" class="btn btn-default cancel" (click)="onCancelClick()">
87           Close
88         </button>
89       </div>
90     </div>
91   </div>
92 </div>