Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bde4a1c
commit 38d7176
Showing
6 changed files
with
41 additions
and
5 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions
10
client/user/login.view.ng.html → client/user/views/login.view.ng.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<div class="col-md-3 col-md-offset-3"> | ||
<form> | ||
<div class="form-group"> | ||
<input type="text" class="form-control" ng-model="user.loginName" placeholder="用户名"> | ||
</div> | ||
<div class="form-group" ng-hide="opLogin"> | ||
<input type="text" class="form-control" ng-model="user.mobile" placeholder="手机号码"> | ||
</div> | ||
<div class="form-group" ng-hide="opLogin"> | ||
<input type="text" class="form-control" ng-model="user.nick" placeholder="昵称"> | ||
</div> | ||
<div class="form-group"> | ||
<input type="password" class="form-control" ng-model="user.password" placeholder="密码"> | ||
<!-- <p class="help-block">Example block-level help text here.</p> --> | ||
</div> | ||
<div class="form-group" ng-hide="opLogin"> | ||
<input type="password" class="form-control" ng-model="confirPwd" placeholder="验证"> | ||
</div> | ||
<div class="checkbox" ng-show="opLogin"> | ||
<label> | ||
<input type="checkbox"> 自动登录 | ||
</label> | ||
</div> | ||
<div ng-show="opLogin"> | ||
<button type="submit" class="btn btn-primary" style="margin-right:3em;">登 录</button> | ||
<a style="cursor:pointer;" ng-click="opLogin=false">忘记密码</a> | ||
</div> | ||
<div ng-show="opLogin" class="pull-right"> | ||
我还没有创建 <a style="cursor:pointer;" ng-click="opLogin=false">创建新账户</a> | ||
</div> | ||
<div ng-hide="opLogin"> | ||
<button type="submit" class="btn btn-primary" style="margin-right:3em;">注 册</button> | ||
我已经注册过账户 <a style="cursor:pointer;" ng-click="opLogin=true">请登录</a> | ||
</div> | ||
</form> | ||
</div> |