Election results in the London Borough of Sutton.
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

about.haml 1.3 KiB

123456789101112131415161718192021222324252627282930313233
  1. %h1 About this website
  2. %p
  3. This website was designed and written by
  4. %a{ :href => 'http://adrianshort.co.uk' }> Adrian Short
  5. \.
  6. You can contact me by email at
  7. %a{ :href => "mailto:adrian.short@gmail.com" }< adrian.short@gmail.com
  8. and
  9. %a{ :href => "http://twitter.com/adrianshort" }<follow me on Twitter
  10. \.
  11. %p This site is independent of Sutton Council, all political parties and candidates. It exists only to provide information about the voting system and local candidates.
  12. %p
  13. The council candidates' data comes from Sutton Council who also provided information on council wards and parliamentary constituencies.
  14. %p
  15. The code for this website is open source and managed on Github. It is hosted by Heroku.
  16. %p
  17. 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.
  18. %p
  19. 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.
  20. -#
  21. %h2 #followfooter
  22. %ul
  23. - for account in @accounts
  24. %li
  25. %a{ :href => "http://twitter.com/#{account}" }@#{account}