Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Modified the CSS & JS caching a bit

  • Loading branch information...
commit 2d3559aeb3454503b71ce0765301f6d1c63c8147 1 parent fdbc5fb
@rnhurt authored
View
1  .gitignore
@@ -14,6 +14,7 @@ doc/app_horo
doc/*.png
.DS_Store
.svn
+public/system/*
config/analytics.js
nbproject/*
vendor/plugins/prawn-format
View
33 app/views/layouts/application.html.erb
@@ -2,17 +2,16 @@
<html lang='en'>
<head>
<meta charset='UTF-8'>
- <title><%= StaticData.site_name %> - <%= controller.controller_name.humanize %></title>
+ <title><%= StaticData.site_name %> - <%= controller.controller_name.humanize %></title>
- <%= stylesheet_link_tag 'screen', 'menu', 'tabs', 'local', :cache => true -%>
-
- <%= javascript_include_tag 'protoaculous.1.8.3.min', 'livepipe', 'tabs',
- 'scal', 'tablekit', 'event.simulate', 'application', :cache => true -%>
- <% javascript_tag do %>
- TableKit.options.rowEvenClass = 'even';
- TableKit.options.rowOddClass = 'odd';
- <% end %>
+ <%= stylesheet_link_tag 'screen', 'menu', 'tabs', 'local', :cache => '../system/all' -%>
+ <%= javascript_include_tag 'protoaculous.1.8.3.min', 'livepipe', 'tabs',
+ 'scal', 'tablekit', 'event.simulate', 'application', :cache => '../system/all' -%>
+ <% javascript_tag do %>
+ TableKit.options.rowEvenClass = 'even';
+ TableKit.options.rowOddClass = 'odd';
+ <% end %>
<%= @content_for_page_header -%>
</head>
@@ -22,15 +21,15 @@
<div class='container showgri'>
<div id='header' class='span-25 last'>
- <div class='span-2'>
- <a href='/'><img class='top' src='/images/logo.png' alt="logo" width='60px' height='60px' /></a>
- </div>
-
<% cache 'layout_header' do %>
- <div class='span-12'>
- <span class='title last'><%= StaticData.site_name %></span>
- <span class='tagline column span-12'><%= StaticData.tag_line %></span>
- </div>
+ <div class='span-2'>
+ <a href='/'><img class='top' src='/images/logo.png' alt="logo" width='60px' height='60px' /></a>
+ </div>
+
+ <div class='span-12'>
+ <span class='title last'><%= StaticData.site_name %></span>
+ <span class='tagline column span-12'><%= StaticData.tag_line %></span>
+ </div>
<% end %>
<div id='account-info' class='span-9 last'>
1  public/javascripts/livepipe-ui
@@ -1 +0,0 @@
-Subproject commit d6f201f3d8cf950814c711209f726e6322472c17
Please sign in to comment.
Something went wrong with that request. Please try again.