Election results in the London Borough of Sutton.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

27 行
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}