Skouter mortgage estimates. Web application with view written in PHP and Vue, but controller and models in Go.
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 
 
 

77 řádky
1.4 KiB

  1. <template>
  2. <div class="page">
  3. <h2>Settings</h2>
  4. <section class="form inputs">
  5. <h3>Avatar</h3>
  6. <img src="/assets/image/mintberry.jpg" alt="avatar">
  7. <button>Upload</button>
  8. </section>
  9. <section class="form inputs">
  10. <h3>Letterhead</h3>
  11. <span>Header as appears on PDFs.</span>
  12. <img src="/assets/image/mintberry.jpg" alt="avatar">
  13. <button>Upload</button>
  14. </section>
  15. <section class="form inputs special">
  16. <h3>Profile</h3>
  17. <label for="">First Name</label>
  18. <input type="text">
  19. <label for="">Last Name</label>
  20. <input type="text">
  21. <label for="">NMLS ID</label>
  22. <input type="text">
  23. <label for="">Branch ID</label>
  24. <input type="text">
  25. <select id="" name="" >
  26. <option value="usa">USA</option>
  27. <option value="canada">Canada</option>
  28. </select>
  29. <button @click="check">Save</button>
  30. </section>
  31. <section class="form inputs special">
  32. <h3>Login</h3>
  33. <label for="">Email</label>
  34. <input type="text">
  35. <label for="">New Password</label>
  36. <input type="text">
  37. <button @click="check">Save</button>
  38. </section>
  39. <Dialog v-if="ready" @close="() => ready = false">
  40. <h3>Confirm your current password to save changes.</h3>
  41. <input type="text">
  42. <button>Confirm</button>
  43. </Dialog>
  44. </div>
  45. </template>
  46. <script>
  47. import Dialog from "./dialog.vue"
  48. function save() {
  49. }
  50. function check() {
  51. this.ready = true
  52. }
  53. export default {
  54. components: {
  55. Dialog
  56. },
  57. methods: {
  58. save, check
  59. },
  60. data() {
  61. return { ready: false }
  62. }
  63. }
  64. </script>