Sha256: 9a717427908524714f4bca38947bbb93ff369a534abe203203c919934e2d0f96

Contents?: true

Size: 511 Bytes

Versions: 2

Compression:

Stored size: 511 Bytes

Contents

%section
  %h1 #{icon 'cog'} Administration
  %p
    You're logged in as #{session[:auth][:uid]}.
  %ul.admin
    %li
      %a.green.button{:href => '/admin/new'} Create new Post or Page
      %a.blue.button{:href => '/admin/config'} Configuration
      %a.red.button{:href => '/logout'} Logout

  = partial "admin_post_list", :posts => @drafts, :title => "Drafts"
  = partial "admin_post_list", :posts => @posts,  :title => "Published Posts"
  = partial "admin_post_list", :posts => @pages,  :title => "Pages"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
schnitzelpress-0.2.1 lib/views/admin/admin.haml
schnitzelpress-0.2.0 lib/views/admin/admin.haml