Skip to content
Snippets Groups Projects
code-input.component.html 1.29 KiB
Newer Older
  • Learn to ignore specific revisions
  • <div fxLayout="row wrap" fxLayoutAlign="center stretch">
    
      <mat-card fxFlex="0 0 400px">
        <form [formGroup]="codeinputform" (ngSubmit)="codeinput()">
    
          <mat-card-title>{{ 'login_codeInputTitle' | customtext:'login_codeInputTitle' | async }}</mat-card-title>
          <mat-card-subtitle>{{ 'login_codeInputPrompt' | customtext:'login_codeInputPrompt' | async }}</mat-card-subtitle>
    
          <mat-card-content>
            <mat-form-field>
              <input matInput formControlName="code"> <!-- no placeholder! -->
            </mat-form-field>
            <p style="color: chocolate"><b>{{ problemText }}</b></p>
          </mat-card-content>
          <mat-card-actions>
            <button mat-raised-button type="submit" [disabled]="codeinputform.invalid" color="primary">Weiter</button>
            <button mat-raised-button color="foreground" (click)="resetLogin()">Neu anmelden</button>
          </mat-card-actions>
        </form>
      </mat-card>
    
      <mat-card fxFlex="0 0 400px" class="mat-card-gray">
    
        <mat-card-title>{{mds.appTitle$ | async}} {{mds.appSubTitle$ | async}}</mat-card-title>
    
        </mat-card-content>
        <mat-card-actions>
    
          <button [routerLink]="['/priv']" mat-raised-button color="primary">Impressum/Datenschutz</button>
    
        </mat-card-actions>