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/login-2fa-token/login-2fa-token.component.html

22 lines
1.1 KiB
HTML

<div fxLayout="column" fxLayout.gt-sm="row" fxLayoutAlign="space-between stretch">
<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">Two Factor Token</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 fxLayout="row" class="padding-gap-x-large">
<form #tokenForm="ngForm" fxLayout="column" fxFlex="100" (ngSubmit)="onVerifyToken()">
<mat-form-field>
<mat-label>Token</mat-label>
<input autoFocus matInput type="text" id="token" name="token" tabindex="2" required [(ngModel)]="token">
<mat-error *ngIf="!token">Token is required.</mat-error>
</mat-form-field>
<div fxLayout="row" fxFlex="100" fxLayoutAlign="end center" class="mt-1">
<button mat-button color="primary" tabindex="4" type="submit">Verify Token</button>
</div>
</form>
</mat-card-content>
</div>
</div>