From ffbb040f2220c53d899b5ac87760449c2387b2d9 Mon Sep 17 00:00:00 2001 From: Janis Hutz Date: Mon, 23 Oct 2023 18:11:18 +0200 Subject: [PATCH] make voting plugin better --- .../plugins/others/poll/html/voting.html | 63 ++++++++------- .../backend/plugins/others/poll/js/voting.js | 4 + .../backend/plugins/others/poll/pollRoutes.js | 76 ++++++++++++------- 3 files changed, 86 insertions(+), 57 deletions(-) diff --git a/src/server/backend/plugins/others/poll/html/voting.html b/src/server/backend/plugins/others/poll/html/voting.html index 01ac38c..64afdb7 100644 --- a/src/server/backend/plugins/others/poll/html/voting.html +++ b/src/server/backend/plugins/others/poll/html/voting.html @@ -81,40 +81,45 @@
-
-

Voting on {{ votingDetails.display ?? 'untitled' }}

-

{{ votingDetails.description }}

-
- - -
-
-

{{ entry.title }}

-

{{ entry.comment }}

-
- arrow_upward -

{{ entry.count ?? 0 }}

- arrow_downward +
+
+

Voting on {{ votingDetails.display ?? 'untitled' }}

+

{{ votingDetails.description }}

+
+ +
-
-