Sha256: 8d5e9a80d5bbebdc099630875023ac7ee6d8b0f507985ab22469ce2a1fa82317

Contents?: true

Size: 1.28 KB

Versions: 6

Compression:

Stored size: 1.28 KB

Contents

!!! Strict
%html{:lang => "en", :xmlns => "http://www.w3.org/1999/xhtml"}
  %head
    %meta{:content => "text/html; charset=utf-8", "http-equiv" => "Content-Type"}
    %title <%= options[:name] %>
    =stylesheet_link_tag :base, "themes/<%= options[:theme] %>/style"
  %body
    #container
      #header
        %h1=link_to "<%= options[:name] %>", url(:base_index)
        #user-navigation
          %ul.wat-cf
            %li=link_to pat(:profile), url(:accounts, :edit, :id => current_account.id)
            %li=link_to pat(:logout), url(:sessions, :destroy), :method => :delete
        #main-navigation
          %ul.wat-cf
            -project_modules.each do |project_module|
              %li{:class => ("active" if request.path_info =~ /^#{project_module.path}/)}
                =link_to project_module.human_name, project_module.path("/admin")
      #wrapper.wat-cf
        .flash=[:error, :warning, :notice].map { |type| flash_tag(type, :class => "message #{type}") }.join
        #main
          =yield
          #footer
            .block
              %p
                Copyright ©
                =Time.now.year
                Your Site - Powered by
                =link_to "Padrino v.#{Padrino.version}", "http://padrino.github.com", :target => :_blank
        #sidebar=yield_content :sidebar

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
padrino-admin-0.9.13 lib/padrino-admin/generators/templates/haml/app/layouts/application.haml.tt
padrino-admin-0.9.12 lib/padrino-admin/generators/templates/haml/app/layouts/application.haml.tt
padrino-admin-0.9.11 lib/padrino-admin/generators/templates/haml/app/layouts/application.haml.tt
padrino-admin-0.9.10 lib/padrino-admin/generators/templates/haml/app/layouts/application.haml.tt
padrino-admin-0.9.9 lib/padrino-admin/generators/templates/haml/app/layouts/application.haml.tt
padrino-admin-0.9.7 lib/padrino-admin/generators/templates/haml/app/layouts/application.haml.tt