Skip to content

Commit

Permalink
auto
Browse files Browse the repository at this point in the history
  • Loading branch information
lcsoftware committed Jul 28, 2015
1 parent bde4a1c commit 38d7176
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 5 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,20 +1,20 @@
<div class="col-md-3 col-md-offset-3">
<form>
<div class="form-group">
<input type="text" class="form-control" placeholder="用户名">
<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" placeholder="手机号码">
<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" placeholder="昵称">
<input type="text" class="form-control" ng-model="user.nick" placeholder="昵称">
</div>
<div class="form-group">
<input type="password" class="form-control" placeholder="密码">
<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" placeholder="验证">
<input type="password" class="form-control" ng-model="confirPwd" placeholder="验证">
</div>
<div class="checkbox" ng-show="opLogin">
<label>
Expand Down
File renamed without changes.
36 changes: 36 additions & 0 deletions client/user/views/register.view.ng.html
@@ -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>

0 comments on commit 38d7176

Please sign in to comment.