Sha256: 8535c213d3f0f4b83e51be94cf61640d09f9109eb9f98c6ffe27d862f6215e35

Contents?: true

Size: 898 Bytes

Versions: 3

Compression:

Stored size: 898 Bytes

Contents

!!!
%html{lang: I18n.locale}
  %head
    %meta{:charset => "utf-8"}
    %title
      = content_for?(:title) ? (yield(:title) + " - I18n Dashboard") : "I18n Dashboard"
    %meta{:content => "width=device-width, initial-scale=1.0", :name => "viewport"}
    %meta{:content => "Fourmach.com", :name => "author"}

    = stylesheet_link_tag "i18n_dashboard/application", media: nil

    / Le HTML5 shim, for IE6-8 support of HTML5 elements
    /[if lt IE 9]
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>

    = csrf_meta_tag
  %body{id: "#{controller.controller_name}-#{controller.action_name}"}
    / = render 'application/admin_menu'

    .container
      %h1= yield(:title)

      #flash
        - flash.each do |key, value|
          .alert{ :class => "alert-#{key}" }
            = value


      = yield

    = javascript_include_tag "i18n_dashboard/application"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
i18n_dashboard-0.1.5 app/views/layouts/i18n_dashboard/application.html.haml
i18n_dashboard-0.1.4 app/views/layouts/i18n_dashboard/application.html.haml
i18n_dashboard-0.1.3 app/views/layouts/i18n_dashboard/application.html.haml