Sha256: 0db1969f6d008ff21452a9173dd29e353cddcf67fe3d2af489936f29e390e2d5
Contents?: true
Size: 1.12 KB
Versions: 1
Compression:
Stored size: 1.12 KB
Contents
class SimpleBasicApp < Netzke::Basepack::BasicApp def menu [:simple_accordion.action, :user_grid.action, :simple_tab_panel.action] + super end action :simple_accordion, :icon => :application_tile_vertical, :handler => :load_component_by_action action :user_grid, :icon => :table, :handler => :load_component_by_action action :simple_tab_panel, :icon => :table_multiple, :handler => :load_component_by_action component :user_grid component :simple_accordion component :simple_tab_panel, :active_tab => 0 # Wrapping up original layout into a border-layout with the north panel being a fancy header def final_config orig = super orig.merge(:items => [{ :region => :north, :height => 40, :html => %Q{ <div style="margin:10px; color:#333; text-align:center; font-family: Helvetica;"> <span style="color:#B32D15">Netzke</span> basic application </div> }, :bodyStyle => {"background" => "#FFF url(\"/images/header-deco.gif\") top left repeat-x"} },{ :region => :center, :layout => 'border', :items => orig[:items] }]) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
netzke-basepack-0.6.0 | test/rails_app/app/components/simple_basic_app.rb |