gitlabhq/app/views/layouts/admin.html.haml
2012-04-16 23:33:03 +03:00

16 lines
672 B
Plaintext

!!! 5
%html{ :lang => "en"}
= render "layouts/head"
%body{:class => "#{app_theme} admin"}
= render "layouts/flash"
= render "layouts/head_panel", :title => "Admin area"
.container
%nav.main_menu
= render "layouts/const_menu_links"
= link_to "Projects", admin_projects_path, :class => controller.controller_name == "projects" ? "current" : nil
= link_to "Users", admin_users_path, :class => controller.controller_name == "users" ? "current" : nil
= link_to "Emails", admin_emails_path, :class => controller.controller_name == "mailer" ? "current" : nil
= link_to "Resque", "/info/resque"
.content= yield