Sha256: 73c81e6dffef932079b9ff85a05fc964de992eacc385e7f26ffcf1f6933348d9

Contents?: true

Size: 1.13 KB

Versions: 1

Compression:

Stored size: 1.13 KB

Contents

!!!
%html{lang: I18n.locale}
  %head
    %meta{charset: 'utf-8'}
    %meta{name: 'viewport', content: 'initial-scale=1.0'}
    = csrf_meta_tags
    %meta{name: 'turbolinks-cache-control', content: 'no-preview'}

    %link{rel: 'icon', href: image_url("spina/favicon.png")}

    %title Spina CMS

    / Stylesheet
    = stylesheet_link_tag 'spina/admin/application', data: {turbolinks_track: true}

    /[if lt IE 9]
      = javascript_include_tag '//html5shiv.googlecode.com/svn/trunk/html5.js', data: {turbolinks_track: true}

    / JavaScript
    = javascript_include_tag 'spina/admin/application', data: {turbolinks_track: true}
    = yield(:plugin_stylesheets)

    / Plugins
    - Spina::Plugin.all.each do |plugin|
      - if current_theme.plugins.include? plugin.name
        - if lookup_context.exists? "spina/admin/hooks/#{ plugin.namespace }/_head"
          = render "spina/admin/hooks/#{ plugin.namespace }/head"

  %body
    = render 'spina/admin/shared/primary_navigation'

    %section#main
      = yield(:permanent_notice)

      = render 'spina/admin/shared/notifications'

      = content_for?(:application) ? yield(:application) : yield

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spina-2.0.0.alpha app/views/layouts/spina/admin/admin.html.haml