Adrian Short
97d77da9cc
Sort candidate's candidacies in date order. Fix #7
This needs to be written as an SQL query as there's no way I can see in
DataMapper to order a result set by a column in a joined table (the
election date).
12 years ago
Adrian Short
afe5ae8079
Remove unnecessary span elements
12 years ago
Adrian Short
eb76a64a2f
Add space between election kind and date
12 years ago
Adrian Short
06e4cc9e8a
Text edit
12 years ago
Adrian Short
d4b4a0646d
Remove "ward"/"constituency" to make table easier to read; make table easier to copy/paste
12 years ago
Adrian Short
632db20485
Add number of candidates in each district to districts contested table; make both tables easy to copy and paste
12 years ago
Adrian Short
08f9741dac
Make it easy for users to copy/paste values from tables
Ensure every table cell contains something, even if it's just a
nonbreaking space.
12 years ago
Adrian Short
e5db0c4520
Add seats won and total number of candidates; Fix SQL incompatibility with Postgres
12 years ago
Adrian Short
8c2c4bbede
Add votes by party table
12 years ago
Adrian Short
3d7fbb6ffc
Remove contact details
12 years ago
Adrian Short
1ffa74ed37
Round percentages to zero decmimal places
12 years ago
Adrian Short
26a54df6c9
Improve layout of election links
12 years ago
Adrian Short
272bd99948
Added comments
12 years ago
Adrian Short
7e710484a3
Bugfixed past/future elections not showing properly
12 years ago
Adrian Short
bc1087c24c
Added Poll model
12 years ago
Adrian Short
b1c505eaa5
Removed Candidacy.elected attribute as it was effectively a duplicate of Candidacy.seats
12 years ago
Adrian Short
71e10fcbce
Easy way to merge duplicate candidates
13 years ago
Adrian Short
ba2f3b11e3
Added links for bodies and candidates
13 years ago
Adrian Short
59347cc73e
Added links to this election's body and previous/next elections for this body
13 years ago
Adrian Short
1dd9d492be
Improved copy
13 years ago
Adrian Short
84e1975814
Ensure elections and districts are sorted correctly
13 years ago
Adrian Short
1a16273242
Postgres requires all selected columns to be used in aggregate functions or specified in the GROUP BY clause
13 years ago
Adrian Short
2257b1a9d5
Add dm-postgres-adapter for Heroku deployment
13 years ago
Adrian Short
07bb6bc934
Added all required gems
13 years ago
Adrian Short
bd583f00e1
Hmm
13 years ago
Adrian Short
b6884cb1ba
Make load path explicit
13 years ago
Adrian Short
c8549804c8
Routes for new views
13 years ago
Adrian Short
9cd6722297
New views aplenty
13 years ago
Adrian Short
ffea761912
Migration scripts for new schema
13 years ago
Adrian Short
453490aea5
Keep empty dir
13 years ago
Adrian Short
4b37e72253
Removed grid
13 years ago
Adrian Short
aed29f5281
Removed grid
13 years ago
Adrian Short
4db00ffd9c
Removed grid. Polished copy.
13 years ago
Adrian Short
c279355588
Removed grid
13 years ago
Adrian Short
a9dd993e55
Tidied up Haml whitespace using succeed method. Horrible.
13 years ago
Adrian Short
e6c2e8d064
Make generic for all elections
13 years ago
Adrian Short
b40c57fb19
Restructured layout to remove the grid system and use HTML5
13 years ago
Adrian Short
587f57bc71
Ignored more
13 years ago
Adrian Short
120ec2936a
Don't print nav divs or background colours of links
13 years ago
Adrian Short
8c04c6b099
Moved file
13 years ago
Adrian Short
d988cc2649
Moved file
13 years ago
Adrian Short
2aa342d0e5
Moved file
13 years ago
Adrian Short
df84e1f1a1
Renamed file
13 years ago
Adrian Short
c540ce513f
Moved file
13 years ago
Adrian Short
42f09000ca
Deleted
13 years ago
Adrian Short
c4983cdd1d
Renamed sqlite db files and ignored them
13 years ago
Adrian Short
c7a19ed196
Resized geo ward map
14 years ago
Adrian Short
9528683684
Resized and improved geo ward map
14 years ago
Adrian Short
3304c0a440
Resized and improved geo ward map
14 years ago
Adrian Short
a64528c648
Added Sutton Council link to ward map credit
14 years ago