Sha256: c36fb3e2ba3cf2b0eab293ee32752f24eb7cfbd8366f4552fcf696f8885c9b2c

Contents?: true

Size: 1.74 KB

Versions: 12

Compression:

Stored size: 1.74 KB

Contents

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>

    <title><%= class_name %></title>
    <meta name="viewport" content="width=device-width; height=device-height; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>

    <%% is_bb6 = System::get_property('platform') == 'Blackberry' && (System::get_property('os_version') =~ /^6\.0/) %>
    
    <%% if System::get_property('platform') == 'APPLE' || System::get_property('platform') == 'ANDROID' || is_bb6 %>
        <script src="/public/jqtouch/jquery.1.3.2.min.js" type="text/javascript"></script>
        <script src="/public/jqtouch/jqtouch.js" type="text/javascript"></script>
        <link href="/public/jqtouch/jqtouch.css" type="text/css" rel="stylesheet"/>
        <%% if System::get_property('platform') == 'APPLE' %>
            <link href="/public/jqtouch/jqtouch-iphone.css" type="text/css" rel="stylesheet"/>
        <%% end %>
        <script>$.jQTouch();</script>
    <%% end %>

    <%% if System::get_property('platform') == 'APPLE' %>
        <link href="/public/css/iphone.css" type="text/css" rel="stylesheet"/>
    <%% elsif System::get_property('platform') == 'ANDROID' %>
        <link href="/public/css/android.css" type="text/css" rel="stylesheet"/>
    <%% elsif is_bb6 %>
        <link href="/public/css/android.css" type="text/css" rel="stylesheet"/>
    <%% elsif System::get_property('platform') == 'Blackberry' %>
        <link href="/public/css/blackberry.css" type="text/css" rel="stylesheet"/>
    <%% else %>
        <link href="/public/css/windows_mobile.css" type="text/css" rel="stylesheet"/>
    <%% end %>
</head>

<body>
    <%%= @content %>
</body>

</html>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
rhodes-2.3.1 res/generators/templates/application/app/layout.erb
rhodes-2.3.1.beta.1 res/generators/templates/application/app/layout.erb
rhodes-2.3.0 res/generators/templates/application/app/layout.erb
rhodes-2.3.0.beta.3 res/generators/templates/application/app/layout.erb
rhodes-2.3.0.beta.2 res/generators/templates/application/app/layout.erb
rhodes-2.3.0.beta.1 res/generators/templates/application/app/layout.erb
rhodes-2.2.6 res/generators/templates/application/app/layout.erb
rhodes-2.2.6.beta.1 res/generators/templates/application/app/layout.erb
rhodes-2.2.5 res/generators/templates/application/app/layout.erb
rhodes-2.2.5.beta.3 res/generators/templates/application/app/layout.erb
rhodes-2.2.5.beta.2 res/generators/templates/application/app/layout.erb
rhodes-2.2.5.beta.1 res/generators/templates/application/app/layout.erb