Sha256: e635cbfa8248f07e2adbdd154dc2fe335cc517e8935252a9c3ea0092ef1dc009

Contents?: true

Size: 1.16 KB

Versions: 3

Compression:

Stored size: 1.16 KB

Contents

!!!
%html{lang: "en"}
  %head
    %meta{charset: "utf-8"}/
    %meta{content: "IE=edge", "http-equiv" => "X-UA-Compatible"}/
    %meta{content: "width=device-width, initial-scale=1", name: "viewport"}/
    %title Polygallery Dummy

    = stylesheet_link_tag    'application', media: 'all'

    / Bootstrap
    / HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries
    / WARNING: Respond.js doesn't work if you view the page via file://
    /[if lt IE 9]
      = javascript_include_tag "https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"
      = javascript_include_tag "https://oss.maxcdn.com/respond/1.4.2/respond.min.js"

    = csrf_meta_tags
  %body
    .container-fluid
      #flash-display
        - if flash.any? && @slides.present? && @slides.any?
          %br
        - flash.each do |type, msg|
          - type = 'danger' if type == 'error'
          - type = 'info' if type == 'notice'
          %div{:class => "alert alert-#{type} fadeout", :data => {:dismiss => "alert"}, :style => 'margin-top:25px;margin-bottom:0px;'}
            %button.close ×
            = msg if msg.is_a?(String)
      = yield
    = javascript_include_tag 'application'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
polygallery-0.0.8 test/dummy/app/views/layouts/application.html.haml
polygallery-0.0.7 test/dummy/app/views/layouts/application.html.haml
polygallery-0.0.6 test/dummy/app/views/layouts/application.html.haml