From 69d1fdb8dc72aa091e08b59a17396429631b23a1 Mon Sep 17 00:00:00 2001 From: Maxim Filippov Date: Sat, 6 Apr 2019 02:54:32 +0300 Subject: [PATCH] Poll voting form --- src/components/poll/poll.vue | 23 ++++++++ src/components/poll/poll_form/poll_form.vue | 3 +- src/components/poll/poll_icon/poll_icon.vue | 18 ------ .../poll_results.vue} | 12 ++-- src/components/poll/poll_vote/poll_vote.vue | 59 +++++++++++++++++++ .../post_status_form/post_status_form.js | 6 +- .../post_status_form/post_status_form.vue | 19 +++++- src/components/settings/settings.vue | 1 - src/components/status/status.js | 4 +- src/components/status/status.vue | 2 +- 10 files changed, 113 insertions(+), 34 deletions(-) create mode 100644 src/components/poll/poll.vue delete mode 100644 src/components/poll/poll_icon/poll_icon.vue rename src/components/poll/{poll_status/poll_status.vue => poll_results/poll_results.vue} (85%) create mode 100644 src/components/poll/poll_vote/poll_vote.vue diff --git a/src/components/poll/poll.vue b/src/components/poll/poll.vue new file mode 100644 index 00000000..9e1a1888 --- /dev/null +++ b/src/components/poll/poll.vue @@ -0,0 +1,23 @@ + + + diff --git a/src/components/poll/poll_form/poll_form.vue b/src/components/poll/poll_form/poll_form.vue index 975c19a7..e6cc6a52 100644 --- a/src/components/poll/poll_form/poll_form.vue +++ b/src/components/poll/poll_form/poll_form.vue @@ -1,5 +1,5 @@ - - diff --git a/src/components/poll/poll_status/poll_status.vue b/src/components/poll/poll_results/poll_results.vue similarity index 85% rename from src/components/poll/poll_status/poll_status.vue rename to src/components/poll/poll_results/poll_results.vue index dd0a2b17..85d95d73 100644 --- a/src/components/poll/poll_status/poll_status.vue +++ b/src/components/poll/poll_results/poll_results.vue @@ -1,5 +1,5 @@