Sha256: 8c565ca4d50165a00cfc0d98170d7fe9758dfa33a967535c5ed1d5a25c5a5d3d

Contents?: true

Size: 1.94 KB

Versions: 44

Compression:

Stored size: 1.94 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/configuration_page'
        require 'ruby_app/elements/mobile/pages/information/cookies_page'
        require 'ruby_app/elements/mobile/pages/information/environment_page'
        require 'ruby_app/elements/mobile/pages/information/sessions_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

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

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

            @configuration_link = RubyApp::Elements::Mobile::Navigation::NavigationLink.new
            @configuration_link.clicked do |element, event|
              RubyApp::Elements::Mobile::Pages::Information::ConfigurationPage.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

44 entries across 44 versions & 1 rubygems

Version Path
RubyApp-0.7.16 lib/ruby_app/elements/mobile/pages/information_page.rb
RubyApp-0.7.15 lib/ruby_app/elements/mobile/pages/information_page.rb
RubyApp-0.7.14 lib/ruby_app/elements/mobile/pages/information_page.rb
RubyApp-0.7.13 lib/ruby_app/elements/mobile/pages/information_page.rb
RubyApp-0.7.12 lib/ruby_app/elements/mobile/pages/information_page.rb
RubyApp-0.7.11 lib/ruby_app/elements/mobile/pages/information_page.rb
RubyApp-0.7.10 lib/ruby_app/elements/mobile/pages/information_page.rb
RubyApp-0.7.9 lib/ruby_app/elements/mobile/pages/information_page.rb
RubyApp-0.7.5 lib/ruby_app/elements/mobile/pages/information_page.rb
RubyApp-0.7.4 lib/ruby_app/elements/mobile/pages/information_page.rb
RubyApp-0.7.3 lib/ruby_app/elements/mobile/pages/information_page.rb
RubyApp-0.7.2 lib/ruby_app/elements/mobile/pages/information_page.rb
RubyApp-0.7.1 lib/ruby_app/elements/mobile/pages/information_page.rb
RubyApp-0.7.0 lib/ruby_app/elements/mobile/pages/information_page.rb
RubyApp-0.6.71 lib/ruby_app/elements/mobile/pages/information_page.rb
RubyApp-0.6.70 lib/ruby_app/elements/mobile/pages/information_page.rb
RubyApp-0.6.69 lib/ruby_app/elements/mobile/pages/information_page.rb
RubyApp-0.6.68 lib/ruby_app/elements/mobile/pages/information_page.rb
RubyApp-0.6.67 lib/ruby_app/elements/mobile/pages/information_page.rb
RubyApp-0.6.66 lib/ruby_app/elements/mobile/pages/information_page.rb