blob: 08666909160186b9cde4c84de842cfc5cd032db8 [file] [log] [blame]
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +03001<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">
Ittay Stern6f900cc2018-08-29 17:01:32 +030011 <div id="service-model-name" class="row">{{type | uppercase}} MODEL: <span>{{serviceModelName}}</span></div>
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030012 <div class="row service-model">
13 <model-information [modelInformationItems]="modelInfoItems"></model-information>
14 </div>
15 </div>
16 <div class="col-md-8 right-panel">
Ittay Stern59eaa5a2020-01-16 13:30:34 +020017 <div class="row" *ngIf="showVidStatus">
18 <div class="col-md-6 leftColumn"><span class="table-title">VID status</span></div>
19 <div class="col-md-6 rightColumn"><span *ngIf="showMoreAuditInfoLink">
20 <a id="full_screen_link" target="_parent" title="Full-screen audit info" [href]="readOnlyRetryUrl()">
21 <i class="fa fa-external-link"></i>
22 </a>
23 </span></div>
24 </div>
Ittay Sternf7926712019-07-07 19:23:03 +030025 <div class="row" *ngIf="showVidStatus">
26 <table id="service-instantiation-audit-info-vid" class="table table-bordered">
27 <thead class="thead-dark">
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030028 <tr class="row">
Ittay Sternf7926712019-07-07 19:23:03 +030029 <th class="col-md-4" scope="col">Status</th>
30 <th class="col-md-4" scope="col">Status time</th>
31 <th class="col-md-4" scope="col">Final</th>
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030032 </tr>
33 </thead>
34 <tbody>
Ittay Sternf7926712019-07-07 19:23:03 +030035 <tr class="row" *ngFor="let data of vidInfoData">
36 <td class="col-md-4" id="vidJobStatus" [attr.data-tests-id]="'vidJobStatus'">
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030037 <custom-ellipsis [id]="data?.jobStatus" [value]="data?.jobStatus | capitalizeAndFormat"></custom-ellipsis>
38 </td>
Ittay Sternf7926712019-07-07 19:23:03 +030039 <td class="col-md-4" id="vidStatusTime">
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030040 <custom-ellipsis [id]="data?.vidCreated"
Ittay Sternf7926712019-07-07 19:23:03 +030041 [value]="data?.createdDate | date:'MMM dd, yyyy HH:mm'"></custom-ellipsis>
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030042 </td>
Ittay Sternf7926712019-07-07 19:23:03 +030043 <td class="col-md-4" id="vidFinalStatus">
44 <custom-ellipsis [id]="data?.final"
45 [value]="data?.final ? 'Yes' : 'No'"></custom-ellipsis>
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030046 </td>
47 </tr>
48 </tbody>
49 </table>
Ittay Sternf7926712019-07-07 19:23:03 +030050 <div class="no-result" *ngIf="!isLoading && vidInfoData?.length == 0">There is no data.</div>
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030051 </div>
Ittay Stern6f900cc2018-08-29 17:01:32 +030052
Ittay Sternf7926712019-07-07 19:23:03 +030053 <div class="row">
54 <div class="col-md-6 leftColumn"><span class="table-title">MSO status</span></div>
ikram43b7ae52020-08-12 16:31:06 -040055 <!-- -->
Ittay Sternf7926712019-07-07 19:23:03 +030056 <div class="col-md-6 rightColumn"><span><a id="glossary_link" target="_blank" href="#" (click)="onNavigate()">Building Block (BB) glossary</a></span></div>
57 </div>
58 <table id="service-instantiation-audit-info-mso" class="table table-bordered">
59 <thead class="thead-dark row">
60 <tr class="row">
61 <th scope="col" class="request-id" style="min-width: 275px;max-width: 275px;">Request ID</th>
62 <th scope="col" style="min-width: 100px;max-width: 100px;">Status</th>
63 <th *ngIf="isAlaCarte&&isALaCarteFlagOn" id="instanceName" class="col-md-2" scope="col" style="max-width: 350px;">Instance Name</th>
64
65 <th class="col-md-2" scope="col" style="min-width: 300px;max-width: 300px;">Additional info</th>
66 </tr>
67 </thead>
68 <tbody>
69 <tr class="row" *ngFor="let data of msoInfoData">
70 <td id="msoRequestId" class="request-id" style="min-width: 275px;max-width: 275px;">
71 <custom-ellipsis [id]="data?.requestId" [value]="data?.requestId" [attr.data-tests-id]="'requestId'"></custom-ellipsis>
72 </td>
73 <td id="msoJobStatus" style="min-width: 100px;max-width: 100px;">
74 <custom-ellipsis [id]="data?.jobStatus" [value]="data?.jobStatus | capitalizeAndFormat" [attr.data-tests-id]="'jobStatus'"></custom-ellipsis>
75 </td>
76 <td *ngIf="isAlaCarte && isALaCarteFlagOn" class="msoInstanceName col-md-2" style="max-width: 350px;">
77 <custom-ellipsis [id]="data?.instanceName" [value]="data?.instanceType + ': ' + data?.instanceName"></custom-ellipsis>
78 </td>
79
80 <td class="col-md-2" id="msoAdditionalInfo" style="min-width: 300px;max-width: 300px;">
81 <custom-ellipsis [id]="data?.additionalInfo" [value]="data?.additionalInfo" [attr.data-tests-id]="'additionalInfo'"></custom-ellipsis>
82 </td>
83 </tr>
84 </tbody>
85 </table>
86 <div class="no-result" *ngIf="!isLoading && msoInfoData?.length == 0">There is no data.</div>
87 </div>
88
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030089 </div>
90 <div class="modal-footer row">
Ittay Sternf7926712019-07-07 19:23:03 +030091 <button style= "font-size: 12px" id="cancelButton" type="button" class="btn btn-default cancel" (click)="onCancelClick()" [attr.data-tests-id]="'close-button'">
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030092 Close
93 </button>
94 </div>
95 </div>
96 </div>
97</div>