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.
27 lines
1.5 KiB
HTML
27 lines
1.5 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">Label UTXO</span>
|
|
</div>
|
|
<button tabindex="8" fxFlex="5" fxLayoutAlign="center center" class="btn-close-x p-0" default mat-button [mat-dialog-close]="false">X</button>
|
|
</mat-card-header>
|
|
<mat-card-content class="padding-gap-x-large">
|
|
<form #form="ngForm" fxLayout="row wrap" fxLayoutAlign="space-between start" fxFlex="100" class="overflow-x-hidden" (submit)="onLabelUTXO()" (reset)="resetData()">
|
|
<mat-form-field fxFlex.gt-sm="100">
|
|
<input autoFocus matInput placeholder="UTXO Label" name="label" tabindex="1" required [(ngModel)]="label">
|
|
<mat-error *ngIf="!label">UTXO Label is required.</mat-error>
|
|
</mat-form-field>
|
|
<div *ngIf="labelError !== ''" fxFlex="100" class="alert alert-danger mt-1">
|
|
<fa-icon class="mr-1 alert-icon" [icon]="faExclamationTriangle"></fa-icon>
|
|
<span *ngIf="labelError !== ''">{{labelError}}</span>
|
|
</div>
|
|
<div fxLayout="row" fxFlex="100" class="mt-2" fxLayoutAlign="end center">
|
|
<button class="mr-1" mat-button color="primary" tabindex="7" type="reset">Clear</button>
|
|
<button mat-button color="primary" type="submit" tabindex="8">Label UTXO</button>
|
|
</div>
|
|
</form>
|
|
</mat-card-content>
|
|
</div>
|
|
</div>
|