An open source, stand-alone, customisable public spending data web app.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

layout.haml 2.2 KiB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. !!! XML
  2. !!!
  3. %html
  4. %head
  5. %title= @page_title ? @page_title + " - Armchair Auditor" : "Armchair Auditor"
  6. %link{ :rel => 'stylesheet', :type => 'text/css', :href => '/style.css' }
  7. -#
  8. %link{ :rel => 'stylesheet', :type => 'text/css', :href => '/breadcrumb/breadcrumb.css' }
  9. %link{ :rel => 'stylesheet', :type => 'text/css', :href => '/print.css', :media => 'print' }
  10. %link{ :rel => 'stylesheet', :type => 'text/css', :href => '/grid.css' }
  11. %script{:type => 'text/javascript', :src => 'http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js'}
  12. %script{:type => 'text/javascript', :src => '/js/jquery.cookie.js'}
  13. <script type="text/javascript">
  14. var _gaq = _gaq || [];
  15. _gaq.push(['_setAccount', 'UA-3042981-18']);
  16. _gaq.push(['_trackPageview']);
  17. (function() {
  18. var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  19. ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  20. var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  21. })();
  22. </script>
  23. %body
  24. .container_12
  25. .grid_12
  26. %p.highlight.hidden This is a demonstration website of &quot;alpha&quot; quality &mdash; don't rely on this data.
  27. %h1.logo
  28. Armchair Auditor
  29. %sup
  30. %span{ :style => "font-size: 40%; text-transform: uppercase; vertical-align: top; line-height: 100%;" }
  31. Alpha
  32. %span{ :style => "color: #777; font-size: 60%; padding-left: 20px;" }
  33. Royal Borough of Windsor &amp; Maidenhead Spending
  34. #nav.noprint
  35. %a{ :href => '/' } Home
  36. %a{ :href => '/services' } Services
  37. %a{ :href => '/suppliers' } Suppliers
  38. %a{ :href => '/scoreboard' } Scoreboard
  39. %a{ :href => '/about' } About
  40. = yield
  41. .clear
  42. #footer
  43. .grid_12.top_border
  44. %p
  45. An independent website
  46. %a{ :href => 'http://twitter.com/AdrianShort' }<
  47. designed by Adrian Short
  48. &nbsp;&nbsp;&nbsp;
  49. %a{ :href => 'http://twitter.com/ArmchairAuditor' }<
  50. Follow @ArmchairAuditor on Twitter