You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
1.3 KiB

  1. .modal#modal-admin-users-create
  2. .modal-background
  3. .modal-container
  4. .modal-content
  5. header.is-blue Create / Authorize User
  6. section
  7. label.label Email address:
  8. p.control.is-fullwidth
  9. input.input(type='text', placeholder='e.g. john.doe@company.com', v-model='email')
  10. span.help.is-red.is-hidden This email is invalid!
  11. section
  12. label.label Provider:
  13. p.control.is-fullwidth
  14. select(v-model='provider')
  15. option(value='local') Local Database
  16. option(value='windowslive') Microsoft Account
  17. option(value='google') Google ID
  18. option(value='facebook') Facebook
  19. section(v-if="provider=='local'")
  20. label.label Password:
  21. p.control.is-fullwidth
  22. input.input(type='password', placeholder='', v-model='password')
  23. span.help.is-red.is-hidden This password is invalid!
  24. section(v-if="provider=='local'")
  25. label.label Full Name:
  26. p.control.is-fullwidth
  27. input.input(type='text', placeholder='e.g. John Doe', v-model='name')
  28. span.help.is-red.is-hidden This name is invalid!
  29. footer
  30. a.button.is-grey.is-outlined(v-on:click="cancel") Discard
  31. a.button.is-blue(v-on:click="create", v-if="provider=='local'") Create User
  32. a.button.is-blue(v-on:click="create", v-if="provider!='local'") Authorize User