Election results in the London Borough of Sutton.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

27 regels
893 B

  1. %h1 About this website
  2. %p
  3. This website was designed by
  4. %a{ :href => 'http://adrianshort.co.uk' } Adrian Short
  5. %p It is independent of Sutton Council, all political parties and candidates.
  6. %p
  7. The code for this website is open source and managed on Github. It is hosted by Heroku.
  8. %p
  9. The candidates' data comes from Sutton Council.
  10. %p
  11. The postcode lookup is done by UK Postcodes using open data from Ordnance Survey Code-Point Open enhanced by MySociety. I use the Ruby Pat gem to access the postcodes API.
  12. %p
  13. This site is written in Ruby using the Sinatra framework. The HTML templates use Haml. The database is sqlite for development and postgresql for production, abstracted through DataMapper. Source control and deployment is done with Git.
  14. %h2 #followfooter
  15. %ul
  16. - for account in @accounts
  17. %li
  18. %a{ :href => "http://twitter.com/#{account}" }@#{account}