!!! Strict
%html{html_attrs{'en-us'}}
%head
%title Binary Attraction
%meta{ 'http-equiv' => "content-type", :content => "text/html; charset=utf8" }
%link{ :href => "/stylesheets/ba.css", :rel => "stylesheet", :type => "text/css", :media => "screen", :charset => "utf-8" }
%script{ :src => "/javascripts/prototype_and_effects_minimized.js", :type => "text/javascript" }
%script{ :src => "/javascripts/application.js", :type => "text/javascript" }
- unless flash.keys.empty?
:javascript
hide_flashes();
%body
#container
- unless flash.keys.empty?
#flash_container
- flash.keys.each do |key|
%div{ :class => key }= flash[key]
#header_image
%a{ :href => '/', :title => 'B.A. Home' }
%img{ :src => '/images/binaryattraction.png', :alt => 'Binary Attraction' }
#tool_bar
- menu_items.each do |menu_item|
%a{ :href => menu_item[:href], :title => menu_item[:title] }
%img{ :src => menu_item[:img] }
= menu_item[:name]
- if menu_item != menu_items.last
|
- if logged_in?
|
%a{ :href => url(:delete_session, :id => session[:user_id]), :title => 'Log out of B.A.' }
%img{ :src => '/images/system-log-out.png' }
#content
= catch_content :for_layout
#footer
© 2008
%a{ :href => 'http://penguincoder.org' } penguincoder
| Usage of this site requires
%a{ :href => '/acceptable_use' } acceptable use policy