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

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