Sha256: 4f1c8bca3e16f73a2deadfa91b4e31e7bb2d6f7f9596dc4b14249171f938f9ab

Contents?: true

Size: 1.75 KB

Versions: 2

Compression:

Stored size: 1.75 KB

Contents

!!! 5
%html
  %head
    %title Wheels Test Site
    = csrf_meta_tag
    /[if lt IE 9]
      = javascript_include_tag 'html5'
    = javascript_include_tag :defaults
    = javascript_include_tag *%w(jquery-ui menu application jquery.growl)
    = stylesheet_link_tag *%w(ui-lightness/jquery-ui-1.8.4.custom)
    = yield(:head)

    :javascript
      function setTitle(title){
        $('title').html(title);
      }
  %body
    #wrapper
      #header
      #menu
        %ul.menu
          - @menu_items.each do |sitemap_node|
            != menu_node sitemap_node.menu_text, sitemap_node.url
      - 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
      - if @sidebar
        #sidebar
          #sidebar_top
          = 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/"}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wheels-0.1.10 app/views/layouts/application.html.haml
wheels-0.1.9 app/views/layouts/application.html.haml