logo

pleroma-fe

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

remote_follow.vue (648B)


  1. <template>
  2. <div class="remote-follow">
  3. <form
  4. method="POST"
  5. :action="subscribeUrl"
  6. >
  7. <input
  8. type="hidden"
  9. name="nickname"
  10. :value="user.screen_name"
  11. >
  12. <input
  13. type="hidden"
  14. name="profile"
  15. value=""
  16. >
  17. <button
  18. click="submit"
  19. class="button-default remote-button"
  20. >
  21. {{ $t('user_card.remote_follow') }}
  22. </button>
  23. </form>
  24. </div>
  25. </template>
  26. <script src="./remote_follow.js"></script>
  27. <style lang="scss">
  28. .remote-follow {
  29. max-width: 220px;
  30. .remote-button {
  31. width: 100%;
  32. min-height: 2em;
  33. }
  34. }
  35. </style>