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-06-29 13:44:55 +02:00
|
|
|
= link_to "Stats", admin_root_path, :class => "home #{'current' if controller.controller_name == "dashboard"}"
|
|
|
|
= link_to "Projects", admin_projects_path, :class => ('current' if controller.controller_name == "projects")
|
|
|
|
= link_to "Users", admin_users_path, :class => ('current' if controller.controller_name == 'users')
|
|
|
|
= link_to "Emails", admin_emails_path, :class => ('current' if controller.controller_name == 'mailer')
|
|
|
|
= link_to "Resque", admin_resque_path, :class => ('current' if controller.controller_name == 'resque')
|
2011-11-02 16:21:17 +01:00
|
|
|
|
2012-01-27 23:51:02 +01:00
|
|
|
.content= yield
|