You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
RTL/src/app/shared/components/data-modal/error-message/error-message.component.html

28 lines
1.4 KiB
HTML

<div fxLayout="row">
<div fxFlex="100">
<mat-card-header fxLayout="row" fxLayoutAlign="space-between center" class="modal-info-header">
<div fxFlex="95" fxLayoutAlign="start start">
<span class="page-title">{{data.alertTitle || 'ERROR'}}</span>
</div>
<button tabindex="3" fxFlex="5" fxLayoutAlign="center center" class="btn-close-x p-0" mat-button (click)="onClose()">X</button>
</mat-card-header>
<mat-card-content class="padding-gap-x-large error-alert-block">
<div fxLayout="column">
<p *ngIf="data.titleMessage" fxLayoutAlign="start center" class="pb-1">{{data.titleMessage}}</p>
<h4 fxLayoutAlign="start" class="font-bold-500">Error Code</h4>
<span>{{data.message.code}}</span>
<mat-divider class="w-100 my-1"></mat-divider>
<h4 fxLayoutAlign="start" class="font-bold-500">Error Message</h4>
<span class="word-break">{{errorMessage}}</span>
<mat-divider class="w-100 my-1"></mat-divider>
<h4 fxLayoutAlign="start" class="font-bold-500">API URL</h4>
<span class="word-break">{{data.message.URL}}</span>
<mat-divider class="w-100 my-1"></mat-divider>
<div fxLayout="row" fxLayoutAlign="end center">
<button tabindex="1" autoFocus mat-button color="primary" type="submit" default [mat-dialog-close]="false">OK</button>
</div>
</div>
</mat-card-content>
</div>
</div>