Sha256: bd296a7028e9932a4514bb44c8398c012a208ba6b2ab32ec6d9ef006d371dc97

Contents?: true

Size: 935 Bytes

Versions: 2

Compression:

Stored size: 935 Bytes

Contents

- layouts = b.options do |o|
	- o.default [[:home, :default], [:style, :default], [:blog, :default], [:post, :default]]
	- o.simple_organization [[:home, :home], [:style, :default], [:blog, :default], [:post, :default]]

- AbstractInterface.available_themes.each do |theme|
	%h1= "'#{theme.humanize}' Theme"

	%b Core:
	- %w{aspects basic folder items list page selector}.each do |action|
		%a{:href => url_for(CommonInterface::Demo::Basic, action, :_theme => theme)} #{action.humanize}
	%br

	%b Special Cases:
	- %w{user style}.each do |action|
		%a{:href => url_for(CommonInterface::Demo::Basic, action, :_theme => theme)} #{action.humanize}
	%br
	
	%b Site: 
	- layouts[theme].each do |action, ltemplate|
		%a{:href => url_for(CommonInterface::Demo::Site, action, :_theme => theme, :_layout_template => ltemplate)} #{action.to_s.humanize}
	%br

%p
	Sources are <a href='http://github.com/alexeypetrushin/common_interface'>here</a>.

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
common_interface-0.1.2 lib/views/CommonInterface/Demo/Basic/index.html.haml
common_interface-0.1.1 lib/views/CommonInterface/Demo/Basic/index.html.haml