An open source, stand-alone, customisable public spending data web app.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 

51 lignes
1.8 KiB

  1. !!! XML
  2. !!!
  3. %html
  4. %head
  5. %title= @page_title ? @page_title + " - " + SETTING.site_name : SETTING.site_name
  6. %link{ :rel => 'stylesheet', :type => 'text/css', :href => '/style.css' }
  7. %link{ :rel => 'stylesheet', :type => 'text/css', :href => '/print.css', :media => 'print' }
  8. %link{ :rel => 'stylesheet', :type => 'text/css', :href => '/grid.css' }
  9. %script{:type => 'text/javascript', :src => 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js'}
  10. %script{:type => 'text/javascript', :src => '/js/jquery.cookie.js'}
  11. :javascript
  12. var _gaq = _gaq || [];
  13. _gaq.push(['_setAccount', 'UA-3042981-18']);
  14. _gaq.push(['_trackPageview']);
  15. (function() {
  16. var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  17. ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  18. var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  19. })();
  20. %body
  21. .container_12
  22. .grid_12
  23. %h1.logo
  24. = SETTING.site_name
  25. -#
  26. %span.tagline
  27. = SETTING.site_tagline
  28. #nav.noprint
  29. %a{ :href => '/' } Home
  30. %a{ :href => '/services' } Services
  31. %a{ :href => '/suppliers' } Suppliers
  32. -#
  33. %a{ :href => '/scoreboard' } Scoreboard
  34. %a{ :href => '/about' } About
  35. = yield
  36. .clear
  37. #footer
  38. .grid_12.top_border
  39. %p
  40. An independent website
  41. %a{ :href => 'http://twitter.com/adrianshort' }<
  42. designed by Adrian Short
  43. &nbsp;&nbsp;&nbsp;
  44. %a{ :href => 'http://twitter.com/ArmchairAuditor' }<
  45. Follow @ArmchairAuditor on Twitter