logo

pleroma-fe

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

lists_user_search.vue (843B)


  1. <template>
  2. <div class="ListsUserSearch">
  3. <div class="input-wrap">
  4. <div class="input-search">
  5. <FAIcon
  6. class="search-icon fa-scale-110 fa-old-padding"
  7. icon="search"
  8. />
  9. </div>
  10. <input
  11. ref="search"
  12. v-model="query"
  13. class="input"
  14. :placeholder="$t('lists.search')"
  15. @input="onInput"
  16. >
  17. </div>
  18. <div class="input-wrap">
  19. <Checkbox
  20. v-model="followingOnly"
  21. @change="onInput"
  22. >
  23. {{ $t('lists.following_only') }}
  24. </Checkbox>
  25. </div>
  26. </div>
  27. </template>
  28. <script src="./lists_user_search.js"></script>
  29. <style lang="scss">
  30. .ListsUserSearch {
  31. .input-wrap {
  32. display: flex;
  33. margin: 0.7em 0.5em;
  34. input {
  35. width: 100%;
  36. }
  37. }
  38. .search-icon {
  39. margin-right: 0.3em;
  40. }
  41. }
  42. </style>