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"> |
| 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()">×</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 Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 11 | <div id="service-model-name" class="row">{{type | uppercase}} MODEL: <span>{{serviceModelName}}</span></div> |
Sonsino, Ofir (os0695) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 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"> |
Ittay Stern | 59eaa5a | 2020-01-16 13:30:34 +0200 | [diff] [blame] | 17 | <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 Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 25 | <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) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 28 | <tr class="row"> |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 29 | <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) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 32 | </tr> |
| 33 | </thead> |
| 34 | <tbody> |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 35 | <tr class="row" *ngFor="let data of vidInfoData"> |
| 36 | <td class="col-md-4" id="vidJobStatus" [attr.data-tests-id]="'vidJobStatus'"> |
Sonsino, Ofir (os0695) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 37 | <custom-ellipsis [id]="data?.jobStatus" [value]="data?.jobStatus | capitalizeAndFormat"></custom-ellipsis> |
| 38 | </td> |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 39 | <td class="col-md-4" id="vidStatusTime"> |
Sonsino, Ofir (os0695) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 40 | <custom-ellipsis [id]="data?.vidCreated" |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 41 | [value]="data?.createdDate | date:'MMM dd, yyyy HH:mm'"></custom-ellipsis> |
Sonsino, Ofir (os0695) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 42 | </td> |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 43 | <td class="col-md-4" id="vidFinalStatus"> |
| 44 | <custom-ellipsis [id]="data?.final" |
| 45 | [value]="data?.final ? 'Yes' : 'No'"></custom-ellipsis> |
Sonsino, Ofir (os0695) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 46 | </td> |
| 47 | </tr> |
| 48 | </tbody> |
| 49 | </table> |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 50 | <div class="no-result" *ngIf="!isLoading && vidInfoData?.length == 0">There is no data.</div> |
Sonsino, Ofir (os0695) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 51 | </div> |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 52 | |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 53 | <div class="row"> |
| 54 | <div class="col-md-6 leftColumn"><span class="table-title">MSO status</span></div> |
ikram | 43b7ae5 | 2020-08-12 16:31:06 -0400 | [diff] [blame] | 55 | <!-- --> |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 56 | <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) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 89 | </div> |
| 90 | <div class="modal-footer row"> |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 91 | <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] | 92 | Close |
| 93 | </button> |
| 94 | </div> |
| 95 | </div> |
| 96 | </div> |
| 97 | </div> |