Sha256: 53479d2a568fb5830fe4dde1cec000e6d8262275d1de3537df2a1dc53ac2fca6

Contents?: true

Size: 894 Bytes

Versions: 3

Compression:

Stored size: 894 Bytes

Contents

require 'abstract_interface'

AbstractInterface.available_themes.push *%w{default simple_organization}
# AVAILABLE_LAYOUT_TEMPLATES = %w{default home dashboard}

# ['basic/dialog', 'basic/popup'].each{|t| AbstractInterface.dont_wrap_into_placeholder.add t}

AbstractInterface.plugin_name = 'common_interface'

AbstractInterface.generate_helper_methods \
  :aspects => %w{discussion comment controls details paginator tag_selector},
  :basic => %w{bottom_panel dialog divider inplace message more narrow navigation navigation_item popup text title top_panel tool},
  :components => %w{basic_list basic_list_item table table_row tabs tabs_item toolbar},
  :items => %w{folder list list_item note page user thumb line file selector}

ActionController::Base.class_eval do
  helper CommonInterfaceHelper
end

dir = File.dirname __FILE__
AssetPackager.add "#{dir}/asset_packages.yml", "#{dir}/public"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
crystal-ext-0.0.3 lib/common_interface/init.rb
crystal-ext-0.0.2 lib/common_interface/init.rb
crystal-ext-0.0.1 lib/common_interface/init.rb