Sha256: 1bc177f6954b1a37eed2d24ec05283d34f6d6cff1e61844329b49dcbab73c127

Contents?: true

Size: 1.41 KB

Versions: 1

Compression:

Stored size: 1.41 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 "/#{CONFIG.app_path.downcase}/assets/application" %>
    <script>
        // FIXED FB#21664.
        if (navigator.userAgent.match(/Kindle/i)) {
            document.documentElement.className += ' ' + 'kindle';
        }
    </script>
</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 "/#{CONFIG.app_path.downcase}/assets/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

1 entries across 1 versions & 1 rubygems

Version Path
sports_db-0.0.9 app/views/layouts/application.html.erb