change_password.html 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <navbar icon="icon-gf icon-gf-users" title="Profile" title-url="profile">
  2. </navbar>
  3. <div class="page-container">
  4. <div class="page-header">
  5. <h1>Change password</h1>
  6. </div>
  7. <div ng-if="ldapEnabled || authProxyEnabled">
  8. You cannot change password when ldap or auth proxy authentication is enabled.
  9. <br>
  10. <br>
  11. <a class="btn-text" href="profile">Back to profile</a>
  12. </div>
  13. <form name="userForm" class="gf-form-group" ng-hide="ldapEnabled || authProxyEnabled">
  14. <div class="gf-form">
  15. <span class="gf-form-label width-10">Old Password</span>
  16. <input class="gf-form-input max-width-21" type="password" required ng-model="command.oldPassword">
  17. </div>
  18. <div class="gf-form">
  19. <span class="gf-form-label width-10">New Password</span>
  20. <input class="gf-form-input max-width-21" type="password" required ng-minlength="4" ng-model="command.newPassword">
  21. </div>
  22. <div class="gf-form">
  23. <span class="gf-form-label width-10">Confirm Password</span>
  24. <input class="gf-form-input max-width-21" type="password" required ng-minlength="4" ng-model="command.confirmNew">
  25. </div>
  26. <div class="gf-form-button-row">
  27. <button type="submit" class="btn btn-success" ng-click="changePassword()">Change Password</button>
  28. <a class="btn-text" href="profile">Cancel</a>
  29. </div>
  30. </form>
  31. </div>