aboutsummaryrefslogtreecommitdiff
path: root/src/components/remote_follow/remote_follow.vue
diff options
context:
space:
mode:
authordave <starpumadev@gmail.com>2019-03-25 10:22:16 -0400
committerdave <starpumadev@gmail.com>2019-03-25 10:22:16 -0400
commit4cec0d589dfc54987ec6f024b0a463d0abd847d2 (patch)
treea88953cc409d162127edb43a702d6540c64c023e /src/components/remote_follow/remote_follow.vue
parent63d7c7bd80cf8028cdefee99c1cb75614385f96b (diff)
parent01d05316998f90451e920f8ac8d4c264a13b0cd7 (diff)
Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma-fe into issue-433-status-reply-form
Diffstat (limited to 'src/components/remote_follow/remote_follow.vue')
-rw-r--r--src/components/remote_follow/remote_follow.vue24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/components/remote_follow/remote_follow.vue b/src/components/remote_follow/remote_follow.vue
new file mode 100644
index 00000000..fb2147bd
--- /dev/null
+++ b/src/components/remote_follow/remote_follow.vue
@@ -0,0 +1,24 @@
+<template>
+ <div class="remote-follow">
+ <form method="POST" :action='subscribeUrl'>
+ <input type="hidden" name="nickname" :value="user.screen_name">
+ <input type="hidden" name="profile" value="">
+ <button click="submit" class="remote-button">
+ {{ $t('user_card.remote_follow') }}
+ </button>
+ </form>
+ </div>
+</template>
+
+<script src="./remote_follow.js"></script>
+
+<style lang="scss">
+.remote-follow {
+ max-width: 220px;
+
+ .remote-button {
+ width: 100%;
+ min-height: 28px;
+ }
+}
+</style>