Sha256: c7904c33cd50016a2d95d97fb9aa2746b8595abf85cb9998205facf5540f0fad

Contents?: true

Size: 1.63 KB

Versions: 1

Compression:

Stored size: 1.63 KB

Contents

!!!
%html
  %head
    %title
      = @layout[:title] || default_view_title
    %meta{:name => 'keywords'            , :content => @layout[:keywords]}
    %meta{:name => 'description'         , :content => @layout[:desc]}
    %meta{:name => 'robots'              , :content => @layout[:all]}
    %meta{'http-equiv' => 'content-type' , :content => "text/html; charset=utf-8"}

    = stylesheet_link_tag    "application"
    = javascript_include_tag "application"

    = csrf_meta_tags
    
    = stylesheet_link_tag     *@layout[:css]
    = stylesheet_link_tag     *@layout[:admin][:css]
    = javascript_include_tag  *@layout[:admin][:js]

    %style
      = yield :styles


  %body#body{:class=>"#{params[:controller]} #{params[:action]}"}

    #head
      %h1#layout
        #{@layout[:admin][:title]} 

      - if @layout[:show_h1] 

        %h1#page
          = raw @layout[:h1] || default_view_title
    
      =clear

    #container
      = raw display_flash

      #content
        .section 
          = yield 

      #nav
        .section
          %h3 Manage Resources
          %ul
            %li= link_to 'Home', '/'
            - model_info.each do |x|
              %li= link_to x[0], send(x[1])

        -#.section
          -#%h3 Site Admin
          -#%ul
            -#- CONFIG['admin_menu'].each do |x|
              -#%li
                -#= link_to x.humanize, ''                     |
                  -## send("admin_#{x.sp_to_underscore}_path") |
      = clear

    #debug_box

      =debug params 
      =debug session
      








- if @layout[:uses_jquery_notify] #growl-like notifier
  = render :partial => "shared/jquery_notify/templates"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pixelearth-3.2.4 app/views/layouts/admin.html.haml