From 96b4784d52eddaa9640320003a62373eeea9b43a Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Mon, 8 Feb 2016 22:15:31 +0100 Subject: [PATCH] Show motion poll results on projector. --- openslides/core/static/css/projector.css | 11 +++++ .../templates/motions/slide_motion.html | 40 +++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/openslides/core/static/css/projector.css b/openslides/core/static/css/projector.css index 811ac4384..5d78bb6ca 100644 --- a/openslides/core/static/css/projector.css +++ b/openslides/core/static/css/projector.css @@ -278,11 +278,22 @@ tr.total td { tr.elected td { background-color: #BED4DE !important; } +.transparentTable td { + background-color: transparent; + padding-right: 10px; +} +.pollresults table .icon { + color: #636363; + height: 45px; +} /*** Agenda list ***/ .agendalist p { font-size: 140%; } +.spacer { + margin-top: 10px; +} .spacer-top { margin-top: 25px; } diff --git a/openslides/motions/static/templates/motions/slide_motion.html b/openslides/motions/static/templates/motions/slide_motion.html index 4cace9c04..8f39ca684 100644 --- a/openslides/motions/static/templates/motions/slide_motion.html +++ b/openslides/motions/static/templates/motions/slide_motion.html @@ -10,6 +10,46 @@
{{ submitter.get_full_name() }}
+ + +

Voting result

+
+
+ Vote {{ motion.polls.length - $index }}: + + + + + +
+ + + Yes: + {{ poll.yes }} {{ poll.getYesPercent() }} +
+ +
+ +
+ + + No: + {{ poll.no }} {{ poll.getNoPercent() }} +
+ +
+ +
+ + + Abstain: + {{ poll.abstain }} {{ poll.getAbstainPercent() }} +
+ +
+
+
+