Sonsino, Ofir (os0695) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 1 | <div class="modal fade" bsModal #auditInfoModal="bs-modal" [config]="{backdrop: 'static'}" |
| 2 | tabindex="-1" role="dialog" aria-labelledby="dialog-static-name"> |
Rachitha Ramappa | 226ef71 | 2020-09-23 12:42:19 +0530 | [diff] [blame^] | 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"> |
Sonsino, Ofir (os0695) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 7 | <div class="modal-content"> |
| 8 | <div class="modal-header"> |
| 9 | <button type="button" class="close" (click)="onCancelClick()">×</button> |
| 10 | <span [attr.data-tests-id]="'audit-info-title'" class="modal-title">{{title}}</span> |
Rachitha Ramappa | 226ef71 | 2020-09-23 12:42:19 +0530 | [diff] [blame^] | 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> |
Sonsino, Ofir (os0695) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 17 | </div> |
Rachitha Ramappa | 226ef71 | 2020-09-23 12:42:19 +0530 | [diff] [blame^] | 18 | <div class="modal-body row" style="height: 515px"> |
| 19 | |
Sonsino, Ofir (os0695) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 20 | <div class="col-md-8 right-panel"> |
Rachitha Ramappa | 226ef71 | 2020-09-23 12:42:19 +0530 | [diff] [blame^] | 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 | |
| 29 | <span> |
| 30 | <a id="full_screen_link" target="_parent" title="Go to drawing board" [href]="readOnlyRetryUrl()"> |
Ittay Stern | 59eaa5a | 2020-01-16 13:30:34 +0200 | [diff] [blame] | 31 | <i class="fa fa-external-link"></i> |
| 32 | </a> |
Rachitha Ramappa | 226ef71 | 2020-09-23 12:42:19 +0530 | [diff] [blame^] | 33 | </span> |
| 34 | </div> |
Ittay Stern | 59eaa5a | 2020-01-16 13:30:34 +0200 | [diff] [blame] | 35 | </div> |
Rachitha Ramappa | 226ef71 | 2020-09-23 12:42:19 +0530 | [diff] [blame^] | 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"> |
Sonsino, Ofir (os0695) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 39 | <tr class="row"> |
Rachitha Ramappa | 226ef71 | 2020-09-23 12:42:19 +0530 | [diff] [blame^] | 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> |
Sonsino, Ofir (os0695) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 48 | </tr> |
| 49 | </thead> |
| 50 | <tbody> |
Rachitha Ramappa | 226ef71 | 2020-09-23 12:42:19 +0530 | [diff] [blame^] | 51 | <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) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 54 | </td> |
Rachitha Ramappa | 226ef71 | 2020-09-23 12:42:19 +0530 | [diff] [blame^] | 55 | <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) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 57 | </td> |
Rachitha Ramappa | 226ef71 | 2020-09-23 12:42:19 +0530 | [diff] [blame^] | 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> |
Sonsino, Ofir (os0695) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 75 | </td> |
| 76 | </tr> |
| 77 | </tbody> |
| 78 | </table> |
Rachitha Ramappa | 226ef71 | 2020-09-23 12:42:19 +0530 | [diff] [blame^] | 79 | <div class="no-result" *ngIf="!isLoading && msoInfoData?.length == 0">There is no data.</div> |
Sonsino, Ofir (os0695) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 80 | </div> |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 81 | </div> |
Sonsino, Ofir (os0695) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 82 | </div> |
| 83 | <div class="modal-footer row"> |
Rachitha Ramappa | 226ef71 | 2020-09-23 12:42:19 +0530 | [diff] [blame^] | 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> |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 93 | <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) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 94 | Close |
| 95 | </button> |
| 96 | </div> |
| 97 | </div> |
| 98 | </div> |
| 99 | </div> |