2012-02-09 08:59:04 +01:00
|
|
|
!!! 5
|
|
|
|
%html{ :lang => "en"}
|
|
|
|
= render "layouts/head"
|
2012-03-01 21:43:04 +01:00
|
|
|
%body{:class => "#{app_theme} 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
|
2012-02-20 07:39:03 +01:00
|
|
|
= render "layouts/const_menu_links"
|
2012-04-20 18:41:49 +02:00
|
|
|
= link_to "Stats", admin_root_path, :class => controller.controller_name == "dashboard" ? "current" : nil
|
2012-02-12 01:38:38 +01:00
|
|
|
= link_to "Projects", admin_projects_path, :class => controller.controller_name == "projects" ? "current" : nil
|
2012-04-16 22:33:03 +02:00
|
|
|
= link_to "Users", admin_users_path, :class => controller.controller_name == "users" ? "current" : nil
|
2012-02-12 01:38:38 +01:00
|
|
|
= 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
|