Sha256: c1ea13c3ec2b6362e78c4caf25654e73021102c87197c7dd500490f9a72b3fbc

Contents?: true

Size: 1.96 KB

Versions: 18

Compression:

Stored size: 1.96 KB

Contents

!!!
%html
  %head
    %link{:rel=>"shortcut icon", :href=>"/favicon.ico"}
    %meta{"http-equiv"=>"Content-Type", :content=>"text/html;charset=utf-8"}
    %meta{"name"=>"description", :content=>@description || BootstrapLeather.configuration.application_description || ''}

    = csrf_meta_tag

    = render_title
    = render_keywords
    = render_description
    = responsive_meta_tag

    -if @meta
      -@meta.each do |key|
        %meta{:name=>key[0], :content=>key[1]}

    - if @rss_title && @rss_url
      = auto_discovery_link_tag(:rss, @rss_url, {:title => @rss_title})

    = stylesheet_link_tag 'application'
    = render_css

  %body{:class => controller.controller_name}
    = nav_bar_with_container :class => 'navbar-static-top navbar-inverse' do
      = nav_list do
        = dropdown_nav_item 'Lorem', '#' do
          = nav_item 'Ipsum', '#'
          = nav_item 'Dolor', '#'
          = nav_item 'Sit', '#'
        = nav_item 'Ipsum', '#'
        = nav_item 'Dolor', '#'
        = nav_item 'Sit', '#'
      = nav_list :class => 'pull-right' do
        = nav_item 'Amet', '#', :data => {:toggle => 'modal', :target => '#modal'}

    = nav_bar_in_container :class => 'navbar-static-top navbar-inverse' do
      = nav_list do
        = dropdown_nav_item 'Lorem', '#' do
          = nav_item 'Ipsum', '#'
          = nav_item 'Dolor', '#'
          = nav_item 'Sit', '#'
        = nav_item 'Ipsum', '#'
        = nav_item 'Dolor', '#'
        = nav_item 'Sit', '#'
      = nav_list :class => 'pull-right' do
        = nav_item 'Amet', '#'

    .container
      .row
        = render_hero_unit
      .row
        .span8
          = breadcrumb do
            = nav_item 'Ipsum', '#'
            = nav_item 'Dolor', '#'
            = nav_item 'Sit', '#'
          = render_h1
          = alert_flash_messages
          = yield
        .span3.pull-right
          = render_widgets
    = modal 'test' do
      %p Lorem ipsum, baby.

    = javascript_include_tag 'application'
    = render_javascript

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
bootstrap_leather-0.4.9 spec/dummy/app/views/layouts/application.html.haml
bootstrap_leather-0.4.8 spec/dummy/app/views/layouts/application.html.haml
bootstrap_leather-0.4.7 spec/dummy/app/views/layouts/application.html.haml
bootstrap_leather-0.4.6 spec/dummy/app/views/layouts/application.html.haml
bootstrap_leather-0.4.5 spec/dummy/app/views/layouts/application.html.haml
bootstrap_leather-0.4.4 spec/dummy/app/views/layouts/application.html.haml
bootstrap_leather-0.4.3 spec/dummy/app/views/layouts/application.html.haml
bootstrap_leather-0.4.2 spec/dummy/app/views/layouts/application.html.haml
bootstrap_leather-0.4.1 spec/dummy/app/views/layouts/application.html.haml
bootstrap_leather-0.4.0 spec/dummy/app/views/layouts/application.html.haml
bootstrap_leather-0.3.1 spec/dummy/app/views/layouts/application.html.haml
bootstrap_leather-0.3.0 spec/dummy/app/views/layouts/application.html.haml
bootstrap_leather-0.2.3 spec/dummy/app/views/layouts/application.html.haml
bootstrap_leather-0.2.2 spec/dummy/app/views/layouts/application.html.haml
bootstrap_leather-0.1.6 spec/dummy/app/views/layouts/application.html.haml
bootstrap_leather-0.1.4 spec/dummy/app/views/layouts/application.html.haml
bootstrap_leather-0.1.3 spec/dummy/app/views/layouts/application.html.haml
bootstrap_leather-0.1.0 spec/dummy/app/views/layouts/application.html.haml