Sha256: 152371dbef882641e130cf7558a28d9435e6587b32c80469ee24a8e8da5a78af

Contents?: true

Size: 1.17 KB

Versions: 4

Compression:

Stored size: 1.17 KB

Contents

<!DOCTYPE html>
<html>
<head>
    <title><%= CONFIG.app_path.downcase %></title>
    <meta id="meta_viewport" name="viewport" content="user-scalable=no, initial-scale=1, target-densityDpi=device-dpi">
    <%= stylesheet_link_tag "application" %>
</head>
<body>
    <%= yield %>
    <loading id="loading" style="display: none;"><loading_text id="loading_text">Loading&hellip;</loading_text></loading>
    <div id="flash" style="display: none;"></div>
    <div id="buffer" style="display: none;"></div>
    <div id="tmp" style="display: none;"></div>
    <%= javascript_include_tag "application" %>
    <%# Allows us to use mock on test or production without screwing up caching of page. %>
    <script>
        if (Application.params.mock) {
            document.write("<link rel='stylesheet' href='/<%= CONFIG.app_path %>/assets/mock.css'>");
            document.write("<script src='/<%= CONFIG.app_path %>/assets/core/Mock.js'><\/script>");
        }
    </script>
    <% if request.host == 'localhost' %>
        <link rel='stylesheet' href='/<%= CONFIG.app_path %>/assets/mock.css'>
        <script src='/<%= CONFIG.app_path %>/assets/core/Mock.js'></script>
    <% end %>
</body>
</html>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sports_db-0.0.8 app/views/layouts/application.html.erb
sports_db-0.0.7 app/views/layouts/application.html.erb
sports_db-0.0.6 app/views/layouts/application.html.erb
sports_db-0.0.5 app/views/layouts/application.html.erb