Sha256: e17e5884c133baf143bb248c99e98d90ed987bea1061f1dd99f1a7b036c17435

Contents?: true

Size: 1.06 KB

Versions: 2

Compression:

Stored size: 1.06 KB

Contents

!!!
%html{:lang => I18n.locale}
  %head
    %meta{:charset => 'utf-8'}
    %title= @title
    = csrf_meta_tag
    %link{:href => '/favicon.ico', :rel => 'icon', :type => 'image/x-icon'}
    = stylesheet_link_tag(['bhf'] + Bhf::Engine.config.css.to_a)
    = javascript_include_tag 'bhf'
    =# javascript_include_tag 'mootools-core-1.3.1-full-compat-yc.js', 'mootools-more-1.3.1.1.js', 'mootools_rails_driver-0.4.1.js', 'class/BrowserUpdate', 'class/Ajaxify', 'class/AjaxEdit', 'class/MooEditable', 'class/Datepicker', 'bhf_application'
  %body
    %header
      -# TODO: logo as css bg for better cache and no jumping?
      %h1= image_tag 'logo_bhf.png'
      - if @config && @config.pages.any?
        %nav
          %ul
            - @config.pages.each do |page|
              %li{:class => ('active' if @page == page)}
                = link_to t("bhf.pages.navigation.#{page}", :default => page.capitalize), bhf_page_path(page)

    #content
      #main
        = render :partial => 'bhf/helper/flash', :locals => {:flash => flash}
        = yield

    %footer= render 'bhf/footer'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bhf-0.2.2 app/views/layouts/bhf/application.haml
bhf-0.2.1 app/views/layouts/bhf/application.haml