mirror of https://gitlab.com/openlp/web-remote.git
30 lines
751 B
HTML
30 lines
751 B
HTML
<h1 mat-dialog-title>{{ 'LOGIN' | translate }}</h1>
|
|
|
|
<form #loginForm="ngForm">
|
|
<div mat-dialog-content>
|
|
<mat-form-field>
|
|
<input matInput
|
|
placeholder="{{ 'USER_NAME' | translate }}"
|
|
[(ngModel)]="username"
|
|
name="username"
|
|
required>
|
|
</mat-form-field>
|
|
<mat-form-field>
|
|
<input matInput
|
|
placeholder="{{ 'PASSWORD' | translate }}"
|
|
type="password"
|
|
[(ngModel)]="password"
|
|
name="password"
|
|
required>
|
|
</mat-form-field>
|
|
</div>
|
|
<div mat-dialog-actions>
|
|
<button mat-raised-button id="loginButton"
|
|
color="primary"
|
|
[disabled]="!loginForm.form.valid"
|
|
(click)="performLogin()">
|
|
{{ 'LOGIN' | translate }}
|
|
</button>
|
|
</div>
|
|
</form>
|