An open source, stand-alone, customisable public spending data web app.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

пре 14 година
пре 14 година
пре 14 година
пре 14 година
пре 14 година
пре 14 година
пре 14 година
пре 14 година
пре 14 година
пре 14 година
пре 14 година
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. - if SETTING.google_analytics_id
  12. :javascript
  13. var _gaq = _gaq || [];
  14. _gaq.push(['_setAccount', "#{SETTING.google_analytics_id}"]);
  15. _gaq.push(['_trackPageview']);
  16. (function() {
  17. var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  18. ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  19. var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  20. })();
  21. %body
  22. .container_12
  23. .grid_12
  24. %h1.logo
  25. = SETTING.site_name
  26. -#
  27. %span.tagline
  28. = SETTING.site_tagline
  29. #nav.noprint
  30. %a{ :href => '/' } Home
  31. %a{ :href => '/services' } Services
  32. %a{ :href => '/suppliers' } Suppliers
  33. %a{ :href => '/about' } About
  34. = yield
  35. .clear
  36. #footer
  37. .grid_12.top_border
  38. %p
  39. An independent website
  40. %a{ :href => 'http://twitter.com/adrianshort' }<
  41. designed by Adrian Short
  42. &nbsp;&nbsp;&nbsp;
  43. %a{ :href => 'http://twitter.com/ArmchairAuditor' }<
  44. Follow @ArmchairAuditor on Twitter