|
|
@@ -2,6 +2,7 @@
|
|
|
.password .modal-body .row{
|
|
|
line-height: 34px;
|
|
|
font-size: 14px;
|
|
|
+ color: #666;
|
|
|
}
|
|
|
.modal-content {
|
|
|
width: 409px;
|
|
|
@@ -18,6 +19,7 @@
|
|
|
}
|
|
|
.password .modal-body .row .col-md-8 {
|
|
|
padding-left: 0;
|
|
|
+ position: relative;
|
|
|
}
|
|
|
.password .modal-body .row .col-md-8 input {
|
|
|
border-radius: 0;
|
|
|
@@ -40,11 +42,48 @@
|
|
|
.modal-footer {
|
|
|
text-align: center;
|
|
|
border: none;
|
|
|
+ padding: 0 0 25px 0;
|
|
|
}
|
|
|
.modal-footer >button:last-child {
|
|
|
background: #5078cb;
|
|
|
color: #fff;
|
|
|
}
|
|
|
+ .warn-style {
|
|
|
+ color: #cc0000;
|
|
|
+ font-size: 14px;
|
|
|
+ margin-left: 85px;
|
|
|
+ margin-bottom: 10px;
|
|
|
+ }
|
|
|
+ .password .modal-body .row .col-md-8 img {
|
|
|
+ position: absolute;
|
|
|
+ right: 20px;
|
|
|
+ top: 8px;
|
|
|
+ }
|
|
|
+ .password .safe-level {
|
|
|
+ color: #666;
|
|
|
+ display: inline-block;
|
|
|
+ font-size: 12px;
|
|
|
+ }
|
|
|
+ .password .safe-level >span >span {
|
|
|
+ display: inline-block;
|
|
|
+ height: 14px;
|
|
|
+ line-height: 14px;
|
|
|
+ background: rgb(255, 90, 0);
|
|
|
+ color: #fff;
|
|
|
+ margin-right: 1px;
|
|
|
+ width: 64px;
|
|
|
+ margin-left: 0px;
|
|
|
+ font-size: 12px;
|
|
|
+ text-align: center;
|
|
|
+ position: relative;
|
|
|
+ bottom: 1px;
|
|
|
+ }
|
|
|
+ .password .safe-level >span >span:nth-child(1) {
|
|
|
+ margin-left: 1px;
|
|
|
+ }
|
|
|
+ .password .safe-level >span >span:nth-child(3) {
|
|
|
+ background: rgb(255,171,44);
|
|
|
+ }
|
|
|
</style>
|
|
|
<div class="modal-header">
|
|
|
<img src="static/img/user/images/update-password.png" alt="">
|
|
|
@@ -60,35 +99,48 @@
|
|
|
-->
|
|
|
<div class="row line">
|
|
|
<label class="col-md-3 col-sm-3 col text-right">原密码:</label>
|
|
|
- <div class="col-md-8 col-sm-8 col"><input ng-model="user.password" class="form-control input-sm" type="password" ng-blur="checkPassword(user.password)" required placeholder="当前密码"></div>
|
|
|
+ <div class="col-md-8 col-sm-8 col">
|
|
|
+ <input ng-model="user.password" class="form-control input-sm" type="password" ng-blur="checkPassword(user.password)" required placeholder="当前密码">
|
|
|
+ <img src="static/img/user/images/keyboard.png" alt="">
|
|
|
+ </div>
|
|
|
<div class="col">
|
|
|
- <i ng-show="checkSuccess" class="fa fa-check" style="color:#339933"></i>
|
|
|
- <i ng-show="checkFailed" class="fa fa-close" style="color:#CC3333;"></i>
|
|
|
+ <img ng-show="checkSuccess" src="static/img/user/images/input-check-yes.png" alt="">
|
|
|
+ <!--<i ng-show="checkSuccess" class="fa fa-check" style="color:#339933"></i>-->
|
|
|
+ <!--<i ng-show="checkFailed" class="fa fa-close" style="color:#CC3333;"></i>-->
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="row" ng-class="{'has-success': checkSuccess1, 'has-error': checkFailed1}">
|
|
|
+ <div class="row new-password" ng-class="{'has-success': checkSuccess1, 'has-error': checkFailed1}">
|
|
|
<label class="col-md-3 col-sm-3 col text-right">新密码:</label>
|
|
|
<div class="col-md-8 col-sm-8 col">
|
|
|
<input ng-model="user.newPassword" ng-blur="checkNewPassword(user.newPassword)" class="form-control input-sm" type="password" required placeholder="8~20位字母、数字、符号">
|
|
|
<!-- <div>密码复杂度</div> -->
|
|
|
+ <img src="static/img/user/images/keyboard.png" alt="">
|
|
|
</div>
|
|
|
<div class="col">
|
|
|
- <i ng-show="checkSuccess1" class="fa fa-check" style="color:#339933"></i>
|
|
|
- <i ng-show="checkFailed1" class="fa fa-close" style="color:#CC3333;"></i>
|
|
|
+ <img ng-show="checkSuccess1" src="static/img/user/images/input-check-yes.png" alt="">
|
|
|
+ <!--<i ng-show="checkSuccess1" class="fa fa-check" style="color:#339933"></i>-->
|
|
|
+ <!--<i ng-show="checkFailed1" class="fa fa-close" style="color:#CC3333;"></i>-->
|
|
|
+ </div>
|
|
|
+ <div class="safe-level">安全等级:
|
|
|
+ <span>
|
|
|
+ <span>弱</span><span>中</span><span>强</span>
|
|
|
+ </span>
|
|
|
</div>
|
|
|
- <div style="display:block;color:red;" ng-show="checkFailed1">密码为8-20字符的英文、数字混合密码</div>
|
|
|
</div>
|
|
|
+ <div class="warn-style" ng-show="checkFailed1">密码为8-20字符的英文、数字混合密码</div>
|
|
|
<div class="row line">
|
|
|
<label ng-model="user.newPassword1" class="col-md-3 col-sm-3 col text-right">重复新密码:</label>
|
|
|
<div class="col-md-8 col-sm-8 col">
|
|
|
<input ng-model="user.newPassword1" ng-blur="checkNewPassword1(user.newPassword1)" class="form-control input-sm" type="password" required placeholder="重复新密码">
|
|
|
+ <img src="static/img/user/images/keyboard.png" alt="">
|
|
|
</div>
|
|
|
<div class="col">
|
|
|
- <i ng-show="checkSuccess2" class="fa fa-check" style="color:#339933"></i>
|
|
|
- <i ng-show="checkFailed2" class="fa fa-close" style="color:#CC3333;"></i>
|
|
|
+ <img ng-show="checkSuccess2" src="static/img/user/images/input-check-yes.png" alt="">
|
|
|
+ <!--<i ng-show="checkSuccess2" class="fa fa-check" style="color:#339933"></i>-->
|
|
|
+ <!--<i ng-show="checkFailed2" class="fa fa-close" style="color:#CC3333;"></i>-->
|
|
|
</div>
|
|
|
- <div style="display:block;color:red;" ng-show="checkFailed2">两次输入的密码不一致</div>
|
|
|
</div>
|
|
|
+ <div class="warn-style" ng-show="checkFailed2">两次输入的密码不一致</div>
|
|
|
</div>
|
|
|
<div class="modal-footer">
|
|
|
<button ng-click="cancel()" type="button">取消</button>
|