gitlabhq/app/views/layouts/admin.html.haml

28 lines
1 KiB
Plaintext
Raw Normal View History

2012-02-09 08:59:04 +01:00
!!! 5
%html{ lang: "en"}
= render "layouts/head", title: "Admin area"
%body{class: "#{app_theme} admin"}
= render "layouts/head_panel", title: "Admin area"
= render "layouts/flash"
.container
2012-07-03 19:52:48 +02:00
%ul.main_menu
= nav_link(controller: :dashboard, html_options: {class: 'home'}) do
= link_to admin_root_path, title: "Stats" do
%i.icon-home
= nav_link(controller: :projects) do
2012-07-03 19:52:48 +02:00
= link_to "Projects", admin_projects_path
2013-01-19 18:11:11 +01:00
= nav_link(controller: :teams) do
= link_to "Teams", admin_teams_path
= nav_link(controller: :groups) do
= link_to "Groups", admin_groups_path
= nav_link(controller: :users) do
2012-07-03 19:52:48 +02:00
= link_to "Users", admin_users_path
= nav_link(controller: :logs) do
= link_to "Logs", admin_logs_path
= nav_link(controller: :hooks) do
2012-07-12 21:10:34 +02:00
= link_to "Hooks", admin_hooks_path
= nav_link(controller: :resque) do
2013-01-09 06:14:05 +01:00
= link_to "Background Jobs", admin_resque_path
2011-11-02 16:21:17 +01:00
2012-01-27 23:51:02 +01:00
.content= yield