From 456689317bed2c90911bff9e3864a359b7be29e2 Mon Sep 17 00:00:00 2001 From: Typosaurus Date: Sun, 19 Jul 2026 21:15:04 +0000 Subject: [PATCH] ticket #95 attempt 2 --- devplacepy/static/css/base.css | 6 ++++-- devplacepy/templates/_comment.html | 6 +++--- devplacepy/templates/_poll.html | 1 + devplacepy/templates/_post_votes.html | 4 ++-- 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/devplacepy/static/css/base.css b/devplacepy/static/css/base.css index 45d207ae..d1dc8265 100644 --- a/devplacepy/static/css/base.css +++ b/devplacepy/static/css/base.css @@ -517,7 +517,8 @@ img { .comment-vote-btn.is-loading, .comment-action-btn.is-loading, .comment-form-submit.is-loading, -.vote-star.is-loading { +.vote-star.is-loading, +.poll-option.is-loading { pointer-events: none; } @@ -525,7 +526,8 @@ img { .comment-vote-btn.is-loading .btn-spinner, .comment-action-btn.is-loading .btn-spinner, .comment-form-submit.is-loading .btn-spinner, -.vote-star.is-loading .btn-spinner { +.vote-star.is-loading .btn-spinner, +.poll-option.is-loading .btn-spinner { display: inline-block; } diff --git a/devplacepy/templates/_comment.html b/devplacepy/templates/_comment.html index 8fcbb83d..2c8c8ef4 100644 --- a/devplacepy/templates/_comment.html +++ b/devplacepy/templates/_comment.html @@ -25,11 +25,11 @@ {% include "_attachment_display.html" %} {% endif %}
- + {% if owns(item.comment, user) %} - +
- +
{% endif %} {% set _type = "comment" %}{% set _uid = item.comment['uid'] %}{% set _reactions = item.reactions %}{% include "_reaction_bar.html" %} diff --git a/devplacepy/templates/_poll.html b/devplacepy/templates/_poll.html index 9da0d8f2..82753c09 100644 --- a/devplacepy/templates/_poll.html +++ b/devplacepy/templates/_poll.html @@ -4,6 +4,7 @@
{% for opt in _poll.options %} + {{ _count }}
- +