Sha256: 7630b102fac1201e59cef4d5877a7ec8c33e059b32f6fa91437539822b662d84

Contents?: true

Size: 1.43 KB

Versions: 5

Compression:

Stored size: 1.43 KB

Contents

!!! 5
/
  #{__FILE__}
%html{attributes}
  %head
    %meta{:name => :viewport,
          :content => 'width=device-width, initial-scale=1'}

    %meta{:name => 'apple-mobile-web-app-capable',
          :content => 'yes'}
    %meta{:name => 'apple-mobile-web-app-status-bar-style',
          :content => 'black'}
    %link{:rel => 'apple-touch-icon',
          :href => '/ruby_app/resources/elements/mobile/platforms/ios/apple-touch-icon.png'}
    %link{:rel => 'apple-touch-startup-image',
          :href => '/ruby_app/resources/elements/mobile/platforms/ios/apple-touch-startup-image.png'}

    %link{:rel => 'stylesheet',
          :href => 'http://code.jquery.com/mobile/1.1.0-rc.1/jquery.mobile-1.1.0-rc.1.min.css'}
    %link{:rel => 'stylesheet',
          :href => "/#{RubyApp::Language.locale.code}/document.css"}
    %script{:src => 'http://code.jquery.com/jquery-1.7.1.js'}
    %script{:src => 'http://code.jquery.com/mobile/1.1.0-rc.1/jquery.mobile-1.1.0-rc.1.js'}
    %script{:src => "/#{RubyApp::Language.locale.code}/document.js"}
    %meta{:name => :session, :content => RubyApp::Session.session_id}
    - RubyApp::Request.query.each do |name, value|
      %meta{:name => name, :content => value}
    %meta{:name => :locale, :content => RubyApp::Language.locale.code}
    %meta{:name => :error_message, :content => RubyApp::Elements::Mobile::Document.translate.error_message}
  %body
    - self.pages.reverse.each do |page|
      = page.render(:html)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
RubyApp-0.5.12 lib/ruby_app/elements/mobile/platforms/ios/document.html.haml
RubyApp-0.5.11 lib/ruby_app/elements/mobile/platforms/ios/document.html.haml
RubyApp-0.5.10 lib/ruby_app/elements/mobile/platforms/ios/document.html.haml
RubyApp-0.5.9 lib/ruby_app/elements/mobile/platforms/ios/document.html.haml
RubyApp-0.5.0 lib/ruby_app/elements/mobile/platforms/ios/document.html.haml