change_password.html 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <page-header model="navModel"></page-header>
  2. <div class="page-container page-body">
  3. <h3 class="page-sub-heading">
  4. Change your password
  5. </h3>
  6. <div ng-if="ldapEnabled || authProxyEnabled">
  7. You cannot change password when ldap or auth proxy authentication is enabled.
  8. </div>
  9. <form name="userForm" class="gf-form-group" ng-hide="ldapEnabled || authProxyEnabled">
  10. <div class="gf-form">
  11. <span class="gf-form-label width-10">Old Password</span>
  12. <input class="gf-form-input max-width-21" type="password" required ng-model="command.oldPassword">
  13. </div>
  14. <div class="gf-form">
  15. <span class="gf-form-label width-10">New Password</span>
  16. <input class="gf-form-input max-width-21" type="password" required ng-minlength="4" ng-model="command.newPassword">
  17. </div>
  18. <div class="gf-form">
  19. <span class="gf-form-label width-10">Confirm Password</span>
  20. <input class="gf-form-input max-width-21" type="password" required ng-minlength="4" ng-model="command.confirmNew">
  21. </div>
  22. <div class="gf-form-button-row">
  23. <button type="submit" class="btn btn-primary" ng-click="changePassword()">Change Password</button>
  24. <a class="btn-text" href="profile">Cancel</a>
  25. </div>
  26. </form>
  27. </div>