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

47 行
1.7 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. - 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. - if SETTING.site_tagline
  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.