Skouter mortgage estimates. Web application with view written in PHP and Vue, but controller and models in Go.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

settings.vue 1.1 KiB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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>Branch Header</h3>
  11. <span>Letterhead 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>Login</h3>
  17. <label for="">First Name</label>
  18. <input type="text">
  19. <label for="">Last Name</label>
  20. <input type="text">
  21. <label for="">Email</label>
  22. <input type="text">
  23. <label for="">New Password</label>
  24. <input type="text">
  25. <button @click="check">Save</button>
  26. </section>
  27. <Dialog v-if="ready" @close="() => ready = false">
  28. <h3>Confirm your current password.</h3>
  29. <input type="text">
  30. <button>Save</button>
  31. </Dialog>
  32. </div>
  33. </template>
  34. <script>
  35. import Dialog from "./dialog.vue"
  36. function save() {
  37. }
  38. function check() {
  39. this.ready = true
  40. }
  41. export default {
  42. components: {
  43. Dialog
  44. },
  45. methods: {
  46. save, check
  47. },
  48. data() {
  49. return { ready: false }
  50. }
  51. }
  52. </script>