Sha256: e992cda740a8f875d5dc6071847bc24ef7e426961e41f3c245a92638daf0b614
Contents?: true
Size: 1.2 KB
Versions: 9
Compression:
Stored size: 1.2 KB
Contents
class SomeSimpleApp < Netzke::Basepack::SimpleApp def menu [:simple_accordion.action, :user_grid.action, :simple_tab_panel.action] + super end action :simple_accordion, :icon => :application_tile_vertical, :handler => :load_netzke_component_by_action action :user_grid, :icon => :table, :handler => :load_netzke_component_by_action action :simple_tab_panel, :icon => :table_multiple, :handler => :load_netzke_component_by_action component :user_grid component :simple_accordion component :simple_tab_panel, :active_tab => 0 js_property :border, false # Wrapping up original layout into a border-layout with the north panel being a fancy header def configuration orig = super orig.merge(:items => [{ :region => :north, :height => 35, :html => %Q{ <div style="margin:10px; color:#333; text-align:center; font-family: Helvetica;"> Simple <span style="color:#B32D15">Netzke</span> app </div> } # TODO: this has no effect anymore: # :bodyStyle => {:background => "#AAA url(\"/images/header-deco.gif\") top left repeat-x"} },{ :region => :center, :layout => 'border', :items => orig[:items] }]) end end
Version data entries
9 entries across 9 versions & 2 rubygems