Sha256: 7ba651c24ec6a995ec0413e3511585f93e2d647732baf022ef7bfb8a04820951

Contents?: true

Size: 1.11 KB

Versions: 14

Compression:

Stored size: 1.11 KB

Contents

<% table ||= nil %>
<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title><%= table.nil? ? "All Tables" : table.title %></title>
    <script type="text/javascript"
            src="http://www.google.com/jsapi"></script>
    <script type="text/javascript">
      google.load("jquery", "1", {uncompressed:true})
    </script>
    <%= javascript_script_tag "/javascripts/jquery.tablesorter.js" %>
    <%= javascript_script_tag "/javascripts/jquery.tablesorter.pager.js" %>
    <%= javascript_script_tag "/javascripts/jquery.tablesorter.multipagefilter.js" %>
    <%= javascript_script_tag "/javascripts/application.js" %>
    <%= stylesheet_link_tag "/stylesheets/stylesheet.css", :media=>"screen" %>
    
    <script>
      <% if !table.nil? %>
        var sortPlease = <%= table.sortable? %>;
        var sortOrder = <%= table.sort_array.inspect || "null"%>;
        var perPage = <%= table.per_page %>;
      <% else %>
        var sortPlease = false;
      <% end %>
    </script>
    
  </head>
  <body>
    <div id="table_fu">
      <%= yield %>
    </div>
  </body>
</html>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
table_setter-0.2.3 template/views/layout.erb
table_setter-0.2.2 template/views/layout.erb
table_setter-0.2.1 template/views/layout.erb
table_setter-0.2.0 template/views/layout.erb
table_setter-0.1.11 template/views/layout.erb
table_setter-0.1.10 template/views/layout.erb
table_setter-0.1.9 template/views/layout.erb
table_setter-0.1.8 template/views/layout.erb
table_setter-0.1.7 template/views/layout.erb
table_setter-0.1.6 template/views/layout.erb
table_setter-0.1.5 template/views/layout.erb
table_setter-0.1.4 template/views/layout.erb
table_setter-0.1.3 template/views/layout.erb
table_setter-0.1.2 template/views/layout.erb