blob: 5145784e2924ae7e5437452d5198de56f737a9aa [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 Sternf7926712019-07-07 19:23:03 +030017 <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">
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030021 <tr class="row">
Ittay Sternf7926712019-07-07 19:23:03 +030022 <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>
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030025 </tr>
26 </thead>
27 <tbody>
Ittay Sternf7926712019-07-07 19:23:03 +030028 <tr class="row" *ngFor="let data of vidInfoData">
29 <td class="col-md-4" id="vidJobStatus" [attr.data-tests-id]="'vidJobStatus'">
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030030 <custom-ellipsis [id]="data?.jobStatus" [value]="data?.jobStatus | capitalizeAndFormat"></custom-ellipsis>
31 </td>
Ittay Sternf7926712019-07-07 19:23:03 +030032 <td class="col-md-4" id="vidStatusTime">
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030033 <custom-ellipsis [id]="data?.vidCreated"
Ittay Sternf7926712019-07-07 19:23:03 +030034 [value]="data?.createdDate | date:'MMM dd, yyyy HH:mm'"></custom-ellipsis>
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030035 </td>
Ittay Sternf7926712019-07-07 19:23:03 +030036 <td class="col-md-4" id="vidFinalStatus">
37 <custom-ellipsis [id]="data?.final"
38 [value]="data?.final ? 'Yes' : 'No'"></custom-ellipsis>
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030039 </td>
40 </tr>
41 </tbody>
42 </table>
Ittay Sternf7926712019-07-07 19:23:03 +030043 <div class="no-result" *ngIf="!isLoading && vidInfoData?.length == 0">There is no data.</div>
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030044 </div>
Ittay Stern6f900cc2018-08-29 17:01:32 +030045
Ittay Sternf7926712019-07-07 19:23:03 +030046 <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" style="min-width: 275px;max-width: 275px;">Request ID</th>
54 <th scope="col" style="min-width: 100px;max-width: 100px;">Status</th>
55 <th *ngIf="isAlaCarte&&isALaCarteFlagOn" id="instanceName" class="col-md-2" scope="col" style="max-width: 350px;">Instance Name</th>
56
57 <th class="col-md-2" scope="col" style="min-width: 300px;max-width: 300px;">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" style="min-width: 275px;max-width: 275px;">
63 <custom-ellipsis [id]="data?.requestId" [value]="data?.requestId" [attr.data-tests-id]="'requestId'"></custom-ellipsis>
64 </td>
65 <td id="msoJobStatus" style="min-width: 100px;max-width: 100px;">
66 <custom-ellipsis [id]="data?.jobStatus" [value]="data?.jobStatus | capitalizeAndFormat" [attr.data-tests-id]="'jobStatus'"></custom-ellipsis>
67 </td>
68 <td *ngIf="isAlaCarte && isALaCarteFlagOn" class="msoInstanceName col-md-2" style="max-width: 350px;">
69 <custom-ellipsis [id]="data?.instanceName" [value]="data?.instanceType + ': ' + data?.instanceName"></custom-ellipsis>
70 </td>
71
72 <td class="col-md-2" id="msoAdditionalInfo" style="min-width: 300px;max-width: 300px;">
73 <custom-ellipsis [id]="data?.additionalInfo" [value]="data?.additionalInfo" [attr.data-tests-id]="'additionalInfo'"></custom-ellipsis>
74 </td>
75 </tr>
76 </tbody>
77 </table>
78 <div class="no-result" *ngIf="!isLoading && msoInfoData?.length == 0">There is no data.</div>
79 </div>
80
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030081 </div>
82 <div class="modal-footer row">
Ittay Sternf7926712019-07-07 19:23:03 +030083 <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 +030084 Close
85 </button>
86 </div>
87 </div>
88 </div>
89</div>