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

Version Path
wheels-0.1.30 app/views/layouts/application.html.haml
wheels-0.1.28 app/views/layouts/application.html.haml
wheels-0.1.27 app/views/layouts/application.html.haml
wheels-0.1.25 app/views/layouts/application.html.haml
wheels-0.1.24 app/views/layouts/application.html.haml
wheels-0.1.23 app/views/layouts/application.html.haml
wheels-0.1.22 app/views/layouts/application.html.haml
wheels-0.1.21 app/views/layouts/application.html.haml
wheels-0.1.20 app/views/layouts/application.html.haml
wheels-0.1.19 app/views/layouts/application.html.haml
wheels-0.1.18 app/views/layouts/application.html.haml
wheels-0.1.17 app/views/layouts/application.html.haml
wheels-0.1.16 app/views/layouts/application.html.haml
wheels-0.1.15 app/views/layouts/application.html.haml
wheels-0.1.14 app/views/layouts/application.html.haml
wheels-0.1.13 app/views/layouts/application.html.haml
wheels-0.1.12 app/views/layouts/application.html.haml