Sha256: 256611616f96e730b76597ff9483df89c86ce0c5c8c08fdd9cf57c86ce3f4f8c

Contents?: true

Size: 1.24 KB

Versions: 29

Compression:

Stored size: 1.24 KB

Contents

module RubyApp

  module Elements

    module Mobile

      module Pages
        require 'ruby_app/elements/mobile/navigation/back_button'
        require 'ruby_app/elements/mobile/navigation/navigation_link'
        require 'ruby_app/elements/mobile/page'
        require 'ruby_app/elements/mobile/pages/information/sessions_page'
        require 'ruby_app/elements/mobile/pages/information/scripts_page'

        class InformationPage < RubyApp::Elements::Mobile::Page

          template_path(:all, File.dirname(__FILE__))

          def initialize(now)
            super()

            @now = now

            @back_button = RubyApp::Elements::Mobile::Navigation::BackButton.new

            @scripts_link = RubyApp::Elements::Mobile::Navigation::NavigationLink.new
            @scripts_link.clicked do |element, event|
              RubyApp::Elements::Mobile::Pages::Information::ScriptsPage.new.show(event, element.options)
            end

            @sessions_link = RubyApp::Elements::Mobile::Navigation::NavigationLink.new
            @sessions_link.clicked do |element, event|
              RubyApp::Elements::Mobile::Pages::Information::SessionsPage.new.show(event, element.options)
            end

          end

        end

      end

    end

  end

end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
RubyApp-0.5.43 lib/ruby_app/elements/mobile/pages/information_page.rb
RubyApp-0.5.42 lib/ruby_app/elements/mobile/pages/information_page.rb
RubyApp-0.5.41 lib/ruby_app/elements/mobile/pages/information_page.rb
RubyApp-0.5.40 lib/ruby_app/elements/mobile/pages/information_page.rb
RubyApp-0.5.39 lib/ruby_app/elements/mobile/pages/information_page.rb
RubyApp-0.5.38 lib/ruby_app/elements/mobile/pages/information_page.rb
RubyApp-0.5.37 lib/ruby_app/elements/mobile/pages/information_page.rb
RubyApp-0.5.36 lib/ruby_app/elements/mobile/pages/information_page.rb
RubyApp-0.5.35 lib/ruby_app/elements/mobile/pages/information_page.rb
RubyApp-0.5.34 lib/ruby_app/elements/mobile/pages/information_page.rb
RubyApp-0.5.33 lib/ruby_app/elements/mobile/pages/information_page.rb
RubyApp-0.5.32 lib/ruby_app/elements/mobile/pages/information_page.rb
RubyApp-0.5.31 lib/ruby_app/elements/mobile/pages/information_page.rb
RubyApp-0.5.30 lib/ruby_app/elements/mobile/pages/information_page.rb
RubyApp-0.5.29 lib/ruby_app/elements/mobile/pages/information_page.rb
RubyApp-0.5.28 lib/ruby_app/elements/mobile/pages/information_page.rb
RubyApp-0.5.23 lib/ruby_app/elements/mobile/pages/information_page.rb
RubyApp-0.5.18 lib/ruby_app/elements/mobile/pages/information_page.rb
RubyApp-0.5.17 lib/ruby_app/elements/mobile/pages/information_page.rb
RubyApp-0.5.16 lib/ruby_app/elements/mobile/pages/information_page.rb