From c66eded7bf5ebf62680e932a29c7d828094c5a45 Mon Sep 17 00:00:00 2001 From: kpa39l Date: Sun, 13 Sep 2026 21:07:14 +0000 Subject: [PATCH] candidates: visible native checkboxes + tiny JS counter - checkbox: form-check-input (Bootstrap) rendered invisible outside .form-check -> native checkbox with explicit width/height - tiny JS: badge #sel-count updates on change of any #bulk-form checkbox - base.html: added {% block scripts %} - verified: render (200 checkboxes), JS counter logic (node), service restarted --- web/templates/base.html | 1 + web/templates/candidates.html | 21 +++++++++++++++++++-- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/web/templates/base.html b/web/templates/base.html index 2266767..2b6abce 100644 --- a/web/templates/base.html +++ b/web/templates/base.html @@ -26,5 +26,6 @@
{% block content %}{% endblock %}
+{% block scripts %}{% endblock %} \ No newline at end of file diff --git a/web/templates/candidates.html b/web/templates/candidates.html index a36d69b..4128e96 100644 --- a/web/templates/candidates.html +++ b/web/templates/candidates.html @@ -85,8 +85,10 @@ {% if p.direction %}{{ p.direction }}{% endif %} - + {% endfor %} @@ -199,4 +201,19 @@ +{% endblock %} +{% block scripts %} + {% endblock %} \ No newline at end of file