修改BUG:登录页面用户名口令为空时点击登录按钮未应用validate样式

This commit is contained in:
Argo-Lenovo 2016-12-14 14:29:41 +08:00
parent ba113cbef2
commit 4ccd01392a
1 changed files with 10 additions and 6 deletions

View File

@ -14,13 +14,17 @@
<form id="login" class="form-signin" method="post">
<h2 class="form-signin-heading">欢迎登陆本系统</h2>
<div class="login-wrap">
<div class="input-group">
<span class="glyphicon glyphicon-user input-group-addon"></span>
<input type="text" name="userName" class="form-control" placeholder="用户名" value="@Model.UserName" autofocus />
<div class="form-group">
<div class="input-group">
<span class="glyphicon glyphicon-user input-group-addon"></span>
<input type="text" name="userName" class="form-control" placeholder="用户名" value="@Model.UserName" autofocus />
</div>
</div>
<div class="input-group">
<span class="glyphicon glyphicon-lock input-group-addon"></span>
<input type="password" name="password" class="form-control" value="@Model.Password" placeholder="密码" />
<div class="form-group">
<div class="input-group">
<span class="glyphicon glyphicon-lock input-group-addon"></span>
<input type="password" name="password" class="form-control" value="@Model.Password" placeholder="密码" />
</div>
</div>
<div class="checkbox">
<input id="remember" name="remember" type="checkbox" value="true" /><label for="remember">记住我</label>