Sha256: 161acd553c74cc94bddd300f068ff86d2fd1c0288afb09802c8b7fd5c786cb37

Contents?: true

Size: 1.51 KB

Versions: 3

Compression:

Stored size: 1.51 KB

Contents

!!! 5
%html
  %head
    %title= "#{@abstract_model.try(:pretty_name) || @page_name} | #{[_get_plugin_name[0] || 'Rails', _get_plugin_name[1] || 'Admin'].join(' ')}"
    %meta{:content => "text/html; charset=utf-8", "http-equiv" => "Content-Type"}
    %meta{:content => "NONE,NOARCHIVE", :name => "robots"}
    = csrf_meta_tag
    = stylesheet_link_tag "rails_admin/rails_admin.css", :media => :all
    = javascript_include_tag "rails_admin/rails_admin.js"
  %body.rails_admin
    .navbar.navbar-fixed-top
      .navbar-inner
        .container-fluid
          %a.brand{:href => dashboard_path}
            = _get_plugin_name[0] || 'Rails'
            %small= _get_plugin_name[1] || 'Admin'
          .nav-collapse
            = render :partial => 'layouts/rails_admin/secondary_navigation'
    .container-fluid
      .row-fluid
        .span3
          .well.sidebar-nav
            %ul.nav.nav-list= main_navigation
        .span9
          .row-fluid
            .content
              .page-header
                %h1= @page_name
              - flash && flash.each do |key, value|
                .alert{:class => "alert-#{key}"}
                  %a.close{:href => '#', :'data-dismiss' => "alert"}×
                  = value
              = breadcrumb
              %ul.nav.nav-tabs
                = menu_for((@abstract_model ? (@object.try(:id) ? :member : :collection) : :root), @abstract_model, @object)
                = content_for :contextual_tabs
              = yield
              %footer
                %p © RailsAdmin 2012

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
drewda_rails_admin-0.0.1 app/views/layouts/rails_admin/application.html.haml
obitum-rails_admin-0.0.4 app/views/layouts/rails_admin/application.html.haml
obitum-rails_admin-0.0.3 app/views/layouts/rails_admin/application.html.haml