Sha256: b4c0d7917a930ef7532886843146e0dcf8dbca39c313b431549036370f0092ad
Contents?: true
Size: 1.89 KB
Versions: 17
Compression:
Stored size: 1.89 KB
Contents
!!! 5 %html %head %title= "#{AppConfig["title"]}#{"> #{@page.title}" if @page}" = csrf_meta_tag /[if lt IE 9] = javascript_include_tag 'html5' = javascript_include_tag :defaults = javascript_include_tag *%w(menu jquery-ui application) = stylesheet_link_tag *%w(menu ui-lightness/jquery-ui-1.8.4.custom) = stylesheet_link_tag "/css.css?#{DateTime::now.to_s}" = yield(:head) %body #wrapper #header #menu %ul.menu - @menu_items.each do |sitemap_node| != menu_node sitemap_node.menu_text, sitemap_node.url #sidebar #sidebar_top = yield(:navigation) = yield(:sidebar) #sidebar_bottom \ #content - flash.each do |key, value| %p{:class=>key}= value = yield #dialog %p#dialog_html #footer #footer-valid %a{:href => "http://validator.w3.org/check/referer"} xhtml | - if user_signed_in? Logged in as #{current_user.email} | #{link_to('Logout', destroy_user_session_path)} | = link_to 'Change Password', '/change_password' - else = link_to('Log in', new_user_session_path) #copyright Copyright © 2010 #{link_to "Apycom jQuery Menus", "http://apycom.com/"} - if @sitemap && @sitemap.parent != Sitemap.main_menu = sidebar_content do %ul.sidebar != menu_node "Back to #{@sitemap.parent.menu_text}", @sitemap.parent.url - if @sitemap && !@sitemap.children.empty? = sidebar_content do %ul.sidebar - @sitemap.children.each do |sitemap_node| != menu_node sitemap_node.menu_text, sitemap_node.url #styles :javascript function setTitle(title){ $('title').html(title); }
Version data entries
17 entries across 17 versions & 1 rubygems