Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

home.html 2.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <!-- Page Content -->
  2. <div class="container">
  3. <div class="row co-sm-8 col-sm-offset-2" lu-busy="form">
  4. <form name="form" ng-submit="submit()">
  5. <div class="form-group">
  6. <label for="email" class="col-sm-2 control-label">Email</label>
  7. <div class="col-sm-9">
  8. <input id="email" class="form-control" ng-model="user.Email" lu-enable-permission="LU_USER_EDIT_ME"/>
  9. </div>
  10. </div>
  11. <div class="form-group">
  12. <label for="firstname" class="col-sm-2 control-label">Firstname</label>
  13. <div class="col-sm-9">
  14. <input id="firstname" class="form-control" ng-model="user.Firstname" lu-enable-permission="LU_USER_EDIT_ME"/>
  15. </div>
  16. </div>
  17. <div class="form-group">
  18. <label for="lastname" class="col-sm-2 control-label">Lastname</label>
  19. <div class="col-sm-9">
  20. <input id="lastname" class="form-control" ng-model="user.Lastname" lu-enable-permission="LU_USER_EDIT_ME"/>
  21. </div>
  22. </div>
  23. <div lu-show-permission="LU_USER_SET_PASSWORD_ME">
  24. <div class="form-group">
  25. <label for="oldPassword" class="col-sm-2 control-label">Old Password</label>
  26. <div class="col-sm-9">
  27. <input id="oldPassword" class="form-control" type="password" ng-model="userPassword.old"
  28. name="oldPassword"/>
  29. </div>
  30. </div>
  31. <div class="form-group">
  32. <label for="password" class="col-sm-2 control-label">New Password</label>
  33. <div class="col-sm-9">
  34. <input id="password" class="form-control" type="password" ng-model="userPassword.value"
  35. name="password" ui-validate="passwordValidation"/>
  36. </div>
  37. </div>
  38. <div class="form-group">
  39. <label for="password2" class="col-sm-2 control-label">Confirmation</label>
  40. <div class="col-sm-9">
  41. <input id="password2" class="form-control" type="password" ng-model="userPassword.confirm"
  42. name="password2" ui-validate="password2Validation" ui-validate-watch="'userPassword.value'"/>
  43. </div>
  44. </div>
  45. <div class="col-sm-offset-2 col-sm-9">
  46. <p class="error" ng-show="form.password.$error.length">Passwords is too short</p>
  47. <p class="error" ng-show="form.password2.$error.same_passwords">Passwords do not match</p>
  48. </div>
  49. </div>
  50. <div class="form-group col-sm-12">
  51. <button class="btn btn-default">Edit</button>
  52. </div>
  53. </form>
  54. </div>
  55. </div>