2012-02-09 08:59:04 +01:00
|
|
|
!!! 5
|
|
|
|
%html{ :lang => "en"}
|
|
|
|
= render "layouts/head"
|
2012-01-27 23:51:02 +01:00
|
|
|
%body.admin
|
2012-02-09 08:59:14 +01:00
|
|
|
= render "layouts/flash"
|
|
|
|
= render "layouts/head_panel", :title => "Admin area"
|
2012-02-12 16:48:17 +01:00
|
|
|
.container
|
2012-02-12 01:38:38 +01:00
|
|
|
%nav.main_menu
|
|
|
|
= link_to "Users", admin_users_path, :class => controller.controller_name == "users" ? "current" : nil
|
|
|
|
= link_to "Projects", admin_projects_path, :class => controller.controller_name == "projects" ? "current" : nil
|
|
|
|
= link_to "Emails", admin_emails_path, :class => controller.controller_name == "mailer" ? "current" : nil
|
|
|
|
= link_to "Resque", "/info/resque"
|
2011-11-02 16:21:17 +01:00
|
|
|
|
2012-01-27 23:51:02 +01:00
|
|
|
.content= yield
|