Sha256: 42b2018c02d4a2976ffe8f58af6a0b33d422845e34a1b5517d37e4182aca60f7

Contents?: true

Size: 1.37 KB

Versions: 7

Compression:

Stored size: 1.37 KB

Contents

doctype html
html id="controller_#{controller_name}" 
  head
    meta charset='utf-8'
    meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'
    meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" 
    title= @page_title || 'Simple Admin'
    = stylesheet_link_tag 'ab_admin/application', :media => 'all'
    script(src='//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js')
    script(src='//ajax.googleapis.com/ajax/libs/jqueryui/1.8.21/jquery-ui.min.js')
    script(src='//cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.0.0.beta6/handlebars.min.js')
    script(src='//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.4.2/underscore-min.js')
    = include_gon
    = javascript_include_tag 'ab_admin/application'
    = csrf_meta_tags
    = yield(:head)
  body id="action_#{action_name}" 
    #loading.label.label-warning= t 'admin.loading'
    = render 'layouts/admin/navigation'
    #main role="main" 
      .container-fluid
        #wrap.row-fluid
          = render('admin/shared/flash', :flash => flash) if flash
          .wrap_content
            .clearfix[data-pjax-container=true class=layout_css]= yield
          - if collection_action? && settings[:search]
            .sidebar.well= render 'search_layout'
          - elsif content_for? :sidebar
            = yield :sidebar
          = yield :bottom
    = render 'layouts/admin/footer'

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ab_admin-0.2.3 app/views/layouts/admin/application.html.slim
ab_admin-0.2.2 app/views/layouts/admin/application.html.slim
ab_admin-0.2.1 app/views/layouts/admin/application.html.slim
ab_admin-0.2.0 app/views/layouts/admin/application.html.slim
ab_admin-0.1.2 app/views/layouts/admin/application.html.slim
ab_admin-0.1.1 app/views/layouts/admin/application.html.slim
ab_admin-0.1.0 app/views/layouts/admin/application.html.slim