Sha256: 0373dde69ad73523b1d56d1cf6866e7558b383e7f2369154aacd5baccc812f65

Contents?: true

Size: 1.31 KB

Versions: 8

Compression:

Stored size: 1.31 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 Padrino Admin
    =stylesheet_link_tag :base, "themes/<%= options[:theme] %>/style"
  %body
    #container
      #header
        %h1=link_to "Padrino Admin", url(:base_index)
        #user-navigation
          %ul.wat-cf
            %li=link_to pat(:profile), url(:<%= @model_plural %>, :edit, :id => current_account.id)
            %li=button_to pat(:logout), url(:sessions, :destroy), :method => :delete, :class => :button_to
        #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 &copy;
                =Time.now.year
                Your Site - Powered by
                =link_to "Padrino v.#{Padrino.version}", "http://www.padrinorb.com", :target => :_blank
        #sidebar=yield_content :sidebar

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
bootstrap-on-0.0.6 lib/bootstrap-on/templates/haml/app/layouts/application.haml.tt
bootstrap-on-0.0.5 lib/bootstrap-on/templates/haml/app/layouts/application.haml.tt
bootstrap-on-0.0.4 lib/bootstrap-on/templates/haml/app/layouts/application.haml.tt
bootstrap-on-0.0.3 lib/bootstrap-on/templates/haml/app/layouts/application.haml.tt
bootstrap-on-0.0.2 lib/bootstrap-on/templates/haml/app/layouts/application.haml.tt
bootstrap-on-0.0.1 lib/bootstrap-on/templates/haml/app/layouts/application.haml.tt
bootstrap-on-0.0.0 lib/bootstrap-on/templates/haml/app/layouts/application.haml.tt
padrino-admin-0.10.7 lib/padrino-admin/generators/templates/haml/app/layouts/application.haml.tt