gitlabhq/app/views/layouts/admin.html.haml
Robert Speicher 7754189187 Fully embrace Ruby 1.9 hash syntax
Didn't bother with files in db/, config/, or features/
2012-08-10 18:25:15 -04:00

23 lines
783 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_emails)}
= link_to "Hooks", admin_hooks_path
%li{class: tab_class(:admin_resque)}
= link_to "Resque", admin_resque_path
.content= yield