Advertisement
Guest User

Pass strenght

a guest
Oct 18th, 2016
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 1.26 KB | None | 0 0
  1. <div class=“row”>
  2. <div class=“col-xs-6”>
  3.  
  4. <div class="form-group" ng-if="!disabledEdit && password.showPassword && !user.sendPasswordResetEmail" ng-class="{'has-error': invalid('password')}">
  5.   <label>{{'Password' | translate}} *</label>
  6.   <input type="password" name="password" class="form-control" ng-model="user.password" required ng-pattern="passwordRegex" uib-tooltip="{{getErrorFeedback('password') | translate}}" ng-change="changePasswordConfirm()" c8y-autocomplete="off">
  7. </div>
  8.  
  9. <div class="form-group" ng-if="!disabledEdit && password.showPassword && !user.sendPasswordResetEmail" ng-class="{'has-error': isInvalidConfirmPassword()}">
  10.   <label>{{'Confirm password' | translate}} *</label>
  11.   <input type="password" name="confirmPassword" class="form-control" ng-model="$parent.confirmPassword" required uib-tooltip="{{getErrorFeedback('confirmPassword')}}"  ng-change="changePasswordConfirm()" c8y-autocomplete="off">
  12. </div>
  13. <div ng-show="!disabledEdit && user.password.length >= 8 && !user.sendPasswordResetEmail">
  14.  <div c8y-password-strength user="user" password="user.password"></div>
  15. </div>
  16.  
  17. </div>
  18. <div class=“col-xs-6”>
  19. <p>&nbsp;</p>
  20. <ul class="list-unstyled">
  21. <li> <i c8y-icon="check"></i>&nbsp;<span>Text</span></li>
  22. </ul>
  23. </div>
  24. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement