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 години
преди 9 години
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. = yield
  34. .clear
  35. #footer
  36. .grid_12.top_border
  37. %p
  38. An independent website by
  39. %a{ :href => 'https://adrianshort.org/' }<
  40. Adrian Short.
  41. %a{ :href => "https://github.com/adrianshort/armchair-auditor" }<
  42. Get the code on GitHub.