lib/views/admin/admin.haml in schnitzelpress-0.1.1 vs lib/views/admin/admin.haml in schnitzelpress-0.2.0

- old
+ new

@@ -1,11 +1,12 @@ %section - %h1 Administration + %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 + %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"