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