gitlabhq/app/views/layouts/admin.html.haml
Martin Bastien 6641761e5c Fix current class for hooks tab in admin section
Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com>
2012-08-15 00:03:13 -04:00

23 lines
782 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
%ul.main_menu
%li.home{class: tab_class(:admin_root)}
= link_to "Stats", admin_root_path
%li{class: tab_class(:admin_projects)}
= link_to "Projects", admin_projects_path
%li{class: tab_class(:admin_users)}
= link_to "Users", admin_users_path
%li{class: tab_class(:admin_logs)}
= link_to "Logs", admin_logs_path
%li{class: tab_class(:admin_hooks)}
= link_to "Hooks", admin_hooks_path
%li{class: tab_class(:admin_resque)}
= link_to "Resque", admin_resque_path
.content= yield