Skip to content

Commit

Permalink
更新登录页
Browse files Browse the repository at this point in the history
  • Loading branch information
shuzheng committed Jan 20, 2017
1 parent 8d663fc commit 46fe4f8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion zheng-admin/src/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<div class="input-group m-b-20">
<span class="input-group-addon"><i class="zmdi zmdi-account"></i></span>
<div class="fg-line">
<input type="text" class="form-control" placeholder="帐号" required>
<input type="text" class="form-control" placeholder="帐号" required autofocus>
</div>
</div>
<div class="input-group m-b-20">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,20 @@
<div class="input-group m-b-20">
<span class="input-group-addon"><i class="zmdi zmdi-account"></i></span>
<div class="fg-line">
<input id="username" type="text" class="form-control" name="username" placeholder="帐号" required>
<input id="username" type="text" class="form-control" name="username" placeholder="帐号" required autofocus value="admin">
</div>
</div>
<div class="input-group m-b-20">
<span class="input-group-addon"><i class="zmdi zmdi-male"></i></span>
<div class="fg-line">
<input id="password" type="password" class="form-control" name="password" placeholder="密码" required>
<input id="password" type="password" class="form-control" name="password" placeholder="密码" required value="123456">
</div>
</div>
<div class="clearfix">
</div>
<div class="checkbox">
<label>
<input type="checkbox" value="">
<input id="rememberme" type="checkbox" name="rememberme">
<i class="input-helper"></i>
自动登录
</label>
Expand Down Expand Up @@ -69,6 +69,7 @@
data: {
username: $('#username').val(),
password: $('#password').val(),
rememberme: $('#rememberme').val(),
backurl: '${param.backurl}'
},
success: function(json){
Expand Down

0 comments on commit 46fe4f8

Please sign in to comment.