blob: 038477d253a948d0af4de4acc51c242d433ef6a1 [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">
Rachitha Ramappa226ef712020-09-23 12:42:19 +05303 <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">
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +03007 <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>
Rachitha Ramappa226ef712020-09-23 12:42:19 +053011 <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>
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030017 </div>
Rachitha Ramappa226ef712020-09-23 12:42:19 +053018 <div class="modal-body row" style="height: 515px">
19
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030020 <div class="col-md-8 right-panel">
Rachitha Ramappa226ef712020-09-23 12:42:19 +053021
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()">
Ittay Stern59eaa5a2020-01-16 13:30:34 +020031 <i class="fa fa-external-link"></i>
32 </a>
Rachitha Ramappa226ef712020-09-23 12:42:19 +053033 </span>
34 </div>
Ittay Stern59eaa5a2020-01-16 13:30:34 +020035 </div>
Rachitha Ramappa226ef712020-09-23 12:42:19 +053036 <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">
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030039 <tr class="row">
Rachitha Ramappa226ef712020-09-23 12:42:19 +053040 <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>
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030048 </tr>
49 </thead>
50 <tbody>
Rachitha Ramappa226ef712020-09-23 12:42:19 +053051 <tr class="row" *ngFor="let data of msoInfoData">
52 <td id="msoRequestId" class="col-md-2" style="width: 22%">
53 <custom-ellipsis [id]="data?.requestId" [value]="data?.requestId" [attr.data-tests-id]="'requestId'"></custom-ellipsis>
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030054 </td>
Rachitha Ramappa226ef712020-09-23 12:42:19 +053055 <td *ngIf="isAlaCarte && isALaCarteFlagOn" class="msoInstanceName col-md-2" style="width: 10%">
56 <custom-ellipsis [id]="data?.instanceName" [value]="data?.instanceName"></custom-ellipsis>
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030057 </td>
Rachitha Ramappa226ef712020-09-23 12:42:19 +053058 <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>
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030075 </td>
76 </tr>
77 </tbody>
78 </table>
Rachitha Ramappa226ef712020-09-23 12:42:19 +053079 <div class="no-result" *ngIf="!isLoading && msoInfoData?.length == 0">There is no data.</div>
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030080 </div>
Ittay Sternf7926712019-07-07 19:23:03 +030081 </div>
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030082 </div>
83 <div class="modal-footer row">
Rachitha Ramappa226ef712020-09-23 12:42:19 +053084 <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>
Ittay Sternf7926712019-07-07 19:23:03 +030093 <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 +030094 Close
95 </button>
96 </div>
97 </div>
98 </div>
99</div>