From 14aded84a9db05224cb1419009f0f723e0954d3b Mon Sep 17 00:00:00 2001 From: Dinuka De Silva Date: Thu, 21 Nov 2019 18:29:45 +0530 Subject: [PATCH] Style changes in AI-ED report * Made candidate names left aligned * Increase the font sizes of sub headings * Removed the row numbers on left * Increased space for signatures * Vertically align the text for 'Total' column --- ...ISLAND_RESULTS_BY_ELECTORAL_DISTRICTS.html | 57 +++++++++++-------- 1 file changed, 32 insertions(+), 25 deletions(-) diff --git a/templates/PRE_ALL_ISLAND_RESULTS_BY_ELECTORAL_DISTRICTS.html b/templates/PRE_ALL_ISLAND_RESULTS_BY_ELECTORAL_DISTRICTS.html index b503c93c..58407552 100644 --- a/templates/PRE_ALL_ISLAND_RESULTS_BY_ELECTORAL_DISTRICTS.html +++ b/templates/PRE_ALL_ISLAND_RESULTS_BY_ELECTORAL_DISTRICTS.html @@ -20,7 +20,8 @@ } .pre-all-ed .ed th div, - .pre-all-ed th.percentage-th div + .pre-all-ed th.percentage-th div, + .pre-all-ed th.total-th div { -moz-transform: rotate(-90.0deg); -o-transform: rotate(-90.0deg); @@ -31,18 +32,21 @@ white-space: nowrap; } - .pre-ai-ed-signature { - font-size: 35px;padding-top: 25px;line-height: 39px; + td.pre-ai-ed-signature { + font-size: 26px; + padding-top: 60px; + line-height: 25px; }
-
- {{content.election.electionName}} -

- Detailed statement on the number of votes cast in favour of each candidate according to each Electoral - District -
- ALL ISLAND RESULTS +
+ {{content.election.electionName}} +
+ Detailed statement on the number of votes cast in favour of each candidate according to each Electoral District +
+
+ ALL ISLAND RESULTS +
@@ -50,15 +54,18 @@ - # - - Name of the Candidate (According to the order in the Ballot Paper) + + + Name of the Candidate
+ (According to the order in the Ballot Paper) ELECTORAL DISTRICT {{ed_column_width}} - TOTAL - + +
TOTAL
+ +
Percentage
@@ -70,10 +77,10 @@ {% for row in content.data %} - {{loop.index}} + {% for cell in row %} {% if loop.index == 1 %} - {{cell}} + {{cell}} {% else %} {{cell}} {% endif %} @@ -82,31 +89,31 @@ {% endfor %} - + - NO OF VALID VOTES + NO OF VALID VOTES {% for validVoteCount in content.validVoteCounts %} {{validVoteCount}} {% endfor %} - NO OF REJECTED VOTES + NO OF REJECTED VOTES {% for rejectedVoteCount in content.rejectedVoteCounts %} {{rejectedVoteCount}} {% endfor %} - TOTAL NO OF VOTES POLLED (INCLUDING REJECTED VOTES) + TOTAL NO OF VOTES POLLED (INCLUDING REJECTED VOTES) {% for totalVoteCount in content.totalVoteCounts %} {{totalVoteCount}} {% endfor %} - REGISTERED NO. OF ELECTORS + REGISTERED NO. OF ELECTORS {% for registeredVoterCount in content.registeredVoterCounts %} {{registeredVoterCount}} {% endfor %} @@ -119,19 +126,19 @@
- ...................................................................

+ ...................................................................


MAHINDA DESHAPRIYA
Chairman
Election Commission
- ...................................................................

+ ...................................................................


N. J. ABEYESEKERE
Member
Election Commission
- ...................................................................

+ ...................................................................


S. RATNAJEEVAN H. HOOLE
Member
Election Commission