Sha256: 4d4bcf58cb0076523b903196dc2a4e8987282a43286cf8b0f3cd80fb75dccf77

Contents?: true

Size: 1.22 KB

Versions: 1

Compression:

Stored size: 1.22 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">
    <%= 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>
    <%# turn on mock automatically if using localhost or pow %>
    <% if request.host == 'localhost' || request.host.include?(".dev") %>
        <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.2 app/views/layouts/application.html.erb