Sha256: d1d5371e18f25ec348b037d89078a583a3b4414b00c62a2bcf7ee0c3e494ed75

Contents?: true

Size: 1.17 KB

Versions: 6

Compression:

Stored size: 1.17 KB

Contents

!!!
%html
  %head
    %title #{@page_title} - Shoppe
    = stylesheet_link_tag 'shoppe/application'
    = javascript_include_tag 'shoppe/application'
    = csrf_meta_tags
  %body
    %nav.sidebar
      %header.logo
        %h1= link_to "Shoppe", root_path
        %p v#{Shoppe::VERSION}
      %p.logged
        Logged in as #{current_user.full_name}
      %ul
        %li
          %span.pending= Shoppe::Order.pending.count
          = link_to "Orders", [:orders], :class => @active_nav == :orders ? 'active' : ''
        %li= link_to "Products", [:products], :class => @active_nav == :products ? 'active' : ''
        %li= link_to "Product Categories", :product_categories, :class => @active_nav == :product_categories ? 'active' : ''
        %li= link_to "Delivery Services", [:delivery_services], :class => @active_nav == :delivery_services ? 'active' : ''
        %li= link_to "Users", [:users], :class => @active_nav == :users ? 'active' : ''
        %li= link_to "Logout", [:logout], :method => :delete
    
    %header.main
      = yield :header
      
    #content  
      = display_flash
      %section.main
        = yield

    %footer 
      %p.store= link_to "Goto Storefront", '/'
      

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
shoppe-0.0.10 app/views/layouts/shoppe/application.html.haml
shoppe-0.0.9 app/views/layouts/shoppe/application.html.haml
shoppe-0.0.8 app/views/layouts/shoppe/application.html.haml
shoppe-0.0.7 app/views/layouts/shoppe/application.html.haml
shoppe-0.0.6 app/views/layouts/shoppe/application.html.haml
shoppe-0.0.5 app/views/layouts/shoppe/application.html.haml