Sha256: 75ab39f71ff1b08f690da102d26b3fe90a92ffb4a7b2971a721cb93c3e6aface

Contents?: true

Size: 1.66 KB

Versions: 5

Compression:

Stored size: 1.66 KB

Contents

!!! 5

%html
  %head
    %meta{:charset => 'utf-8'}
    %title
      = strip_tags(@title)
      \- MyApp

    %meta{name: 'viewport', content: 'width=device-width, initial-scale=1.0'}
    = csrf_meta_tag

    = stylesheet_link_tag 'application', :media => 'all', 'data-turbolinks-track' => true
    = javascript_include_tag 'application', 'data-turbolinks-track' => true

    / HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries
    /[if lt IE 9]
      %script{src: 'https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js'}
      %script{src: 'https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js'}

    = favicon_link_tag
    = favicon_link_tag '/apple-touch-icon.png',
                       rel: 'apple-touch-icon',
                       type: 'image/png'
    = favicon_link_tag '/apple-touch-icon-72x72.png',
                       rel: 'apple-touch-icon',
                       type: 'image/png',
                       sizes: "72x72"
    = favicon_link_tag '/apple-touch-icon-114x114.png',
                       rel: 'apple-touch-icon',
                       type: 'image/png',
                       sizes: "114x114"

    = yield :head

  %body
    %nav.navbar.navbar-default{role: 'navigation'}
      = render 'layouts/nav'
      
    .container
      %h1= @title

      .row.actions
        .col-md-5
          = yield :tools
        .col-md-7
          .btn-toolbar.pull-right
            = yield :actions

      #flash= render partial: 'layouts/flash', collection: [:notice, :alert], as: :level

      #content= yield

    %footer
      %p
        © code!z #{Time.zone.now.year}

  = javascript_tag yield(:javascripts) if content_for?(:javascripts)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dry_crud-5.0.0 app/views/layouts/application.html.haml
dry_crud-3.0.0 app/views/layouts/application.html.haml
dry_crud-2.1.2 app/views/layouts/application.html.haml
dry_crud-2.1.1 app/views/layouts/application.html.haml
dry_crud-2.1.0 app/views/layouts/application.html.haml