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.
 
 
 
 

23 regels
886 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 The code for this website is open source and managed on Github. It is hosted by Heroku.
  7. %p
  8. The candidates' data comes from Sutton Council.
  9. %p 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.
  10. %p 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.
  11. %h2 #followfooter
  12. %ul
  13. - for account in @accounts
  14. %li
  15. %a{ :href => "http://twitter.com/#{account}" }@#{account}