logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://anongit.hacktivis.me/git/pleroma-fe.git/

chat_new.vue (1115B)


  1. <template>
  2. <div
  3. class="panel-default panel chat-new"
  4. >
  5. <div
  6. ref="header"
  7. class="panel-heading"
  8. >
  9. <button
  10. class="button-unstyled go-back-button"
  11. @click="goBack"
  12. >
  13. <FAIcon
  14. size="lg"
  15. icon="chevron-left"
  16. />
  17. </button>
  18. </div>
  19. <div class="panel-body">
  20. <div class="input-wrap">
  21. <div class="input-search">
  22. <FAIcon
  23. class="search-icon fa-scale-110 fa-old-padding"
  24. icon="search"
  25. />
  26. </div>
  27. <input
  28. ref="search"
  29. v-model="query"
  30. class="input"
  31. placeholder="Search people"
  32. @input="onInput"
  33. >
  34. </div>
  35. <div class="member-list">
  36. <div
  37. v-for="user in availableUsers"
  38. :key="user.id"
  39. class="list-item"
  40. @click.capture.prevent="goToChat(user)"
  41. >
  42. <BasicUserCard :user="user" />
  43. </div>
  44. </div>
  45. </div>
  46. </div>
  47. </template>
  48. <script src="./chat_new.js"></script>
  49. <style lang="scss">
  50. @import "./chat_new";
  51. </style>