0
0
Fork 0
zero-blog/views/admin_layout.haml

32 lines
826 B
Plaintext
Raw Normal View History

2011-06-26 08:57:59 +02:00
!!! 5
%html
%head
%title="zero-knowledge - Adminpanel"
%link{:rel => 'stylesheet', :href => '/admin/stylesheet.css', :type => 'text/css'}
2011-06-28 15:15:17 +02:00
%script{:src => '/public/head.min.js'}
2011-06-26 08:57:59 +02:00
%body
2011-08-09 11:06:53 +02:00
#menu
%ul
%li
%a{:href => '/'}="main"
%li
%a{:href => '/admin'}="admin"
-if @account
%li
%a{:href => '/admin/post/new'}="create"
%li
%a{:href => '/admin/tag'}="tags"
#messages
-unless flash.error.nil?
%p.error=flash.error
-unless flash.warning.nil?
%p.warning=flash.warning
-unless flash.notice.nil?
%p.notice=flash.notice
#content=yield
:javascript
head.js(
'http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js',
'/public/admin.js'
)