Sha256: 7686cf518655852a9f398c50833062e110c65196b37c4622bbeb508580ef3315

Contents?: true

Size: 980 Bytes

Versions: 12

Compression:

Stored size: 980 Bytes

Contents

Coprl::Presenters.define('top_nav') do
  TITLE = 'COmmon PResenters Language (COPRL) Ruby Demo' unless defined?(TITLE)
  page do
    title TITLE
  end

  header TITLE do
    nav do
      item 'About' do
        event :click do
          loads :index
        end
      end

      item 'Components' do
        event :click do
          loads :components
        end
      end

      item 'Styles' do
        event :click do
          loads :styles
        end
      end

      item 'Events' do
        event :click do
          loads :events
        end
      end

      item 'Patterns' do
        event :click do
          loads :patterns
        end
      end

      item 'Namespaces' do
        event :click do
          loads :namespaces
        end
      end

      item 'Custom CSS' do
        event :click do
          loads :custom_css
        end
      end

      item 'Plugins' do
        event :click do
          loads :plugins
        end
      end
    end
  end
end


Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
coprl-3.0.0.beta.12 app/demo/nav/top_nav.pom
coprl-3.0.0.beta.11 app/demo/nav/top_nav.pom
coprl-3.0.0.beta.10 app/demo/nav/top_nav.pom
coprl-3.0.0.beta.9 app/demo/nav/top_nav.pom
coprl-3.0.0.beta.8 app/demo/nav/top_nav.pom
coprl-3.0.0.beta.7 app/demo/nav/top_nav.pom
coprl-3.0.0.beta.6 app/demo/nav/top_nav.pom
coprl-3.0.0.beta.5 app/demo/nav/top_nav.pom
coprl-3.0.0.beta.4 app/demo/nav/top_nav.pom
coprl-3.0.0.beta.3 app/demo/nav/top_nav.pom
coprl-3.0.0.beta.2 app/demo/nav/top_nav.pom
coprl-3.0.0.beta.1 app/demo/nav/top_nav.pom