28 lines
1 KiB
Plaintext
28 lines
1 KiB
Plaintext
!!! 5
|
|
%html{ lang: "en"}
|
|
= render "layouts/head", title: "Admin area"
|
|
%body{class: "#{app_theme} admin"}
|
|
= render "layouts/flash"
|
|
= render "layouts/head_panel", title: "Admin area"
|
|
.container
|
|
%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
|
|
= link_to "Projects", admin_projects_path
|
|
= 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
|
|
= link_to "Users", admin_users_path
|
|
= nav_link(controller: :logs) do
|
|
= link_to "Logs", admin_logs_path
|
|
= nav_link(controller: :hooks) do
|
|
= link_to "Hooks", admin_hooks_path
|
|
= nav_link(controller: :resque) do
|
|
= link_to "Background Jobs", admin_resque_path
|
|
|
|
.content= yield
|