From 326777c48493a35ff933de43e9d3fe2b178d2de0 Mon Sep 17 00:00:00 2001 From: Ben Adida <ben@adida.net> Date: Wed, 27 Oct 2010 20:03:10 -0700 Subject: [PATCH] improved display of results, still need to highlight winner --- helios/templates/election_view.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/helios/templates/election_view.html b/helios/templates/election_view.html index 7570d49..c4e56f5 100644 --- a/helios/templates/election_view.html +++ b/helios/templates/election_view.html @@ -136,14 +136,14 @@ all voters will be notified that the tally is ready. </span><br /> <br /> -<h2 class="highlight-box">Tally</h2> +<h3 class="highlight-box">Tally</h3> {% for question in election.pretty_result %} -<b>{{question.question}}</b>: -<ul> +<b><span style="font-size:0.8em;">Question #{{forloop.counter}}</span><br />{{question.question}}</b><br /> +<table class="pretty" style="width: auto;"> {% for answer in question.answers %} -<li> {{answer.answer}}: {{answer.count}} +<tr><td style="padding-right:80px;">{{answer.answer}}</td><td align="right">{{answer.count}}</td></tr> {% endfor %} -</ul> +</table> {% endfor %} {% else %} -- GitLab