考核考试系统
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

32 lines
1.2 KiB

<div class="login">
<div class="loginBox">
<div>
<div class="card">
<span class="cardheader">考核系统管理员登录页面</span>
<form (ngSubmit)="onSubmit(form.value)" #form="ngForm" class="example-container">
<div class="input">
<mat-icon class="icon">account_box</mat-icon>
<input id="loginName" name="loginName" required ngModel placeholder="请输入用户名" maxlength="20">
</div>
<div class="input">
<mat-icon class="icon2">lock</mat-icon>
<input id="password" name="password" type='password' required ngModel placeholder="请输入登录密码" maxlength="20">
</div>
<div class="forget"><label (click)='forget()'>忘记密码?</label></div>
<div *ngIf="errmsg" class="alert-danger">{{errmsg}}</div>
<button type="submit" [disabled]="!form.form.valid" class="loginBtn" mat-raised-button>登录</button>
<label class="toAdmin" (click)='toAdminLogin()'><mat-icon
style="vertical-align: middle; font-size: 22px;">replay</mat-icon>返回</label>
</form>
</div>
</div>
</div>
</div>