debian-mirror-gitlab/app/views/layouts/nav/_admin.html.haml

66 lines
1.9 KiB
Text
Raw Normal View History

2015-04-26 12:48:37 +05:30
%ul.nav.nav-sidebar
2014-09-02 18:07:02 +05:30
= nav_link(controller: :dashboard, html_options: {class: 'home'}) do
= link_to admin_root_path, title: "Stats" do
2015-04-26 12:48:37 +05:30
%i.fa.fa-dashboard
%span
Overview
2014-09-02 18:07:02 +05:30
= nav_link(controller: :projects) do
2015-04-26 12:48:37 +05:30
= link_to admin_namespaces_projects_path, title: 'Projects' do
%i.fa.fa-cube
%span
Projects
2014-09-02 18:07:02 +05:30
= nav_link(controller: :users) do
2015-04-26 12:48:37 +05:30
= link_to admin_users_path, title: 'Users' do
%i.fa.fa-user
%span
Users
2014-09-02 18:07:02 +05:30
= nav_link(controller: :groups) do
2015-04-26 12:48:37 +05:30
= link_to admin_groups_path, title: 'Groups' do
%i.fa.fa-group
%span
Groups
= nav_link(controller: :deploy_keys) do
= link_to admin_deploy_keys_path, title: 'Deploy Keys' do
%i.fa.fa-key
%span
Deploy Keys
2014-09-02 18:07:02 +05:30
= nav_link(controller: :logs) do
2015-04-26 12:48:37 +05:30
= link_to admin_logs_path, title: 'Logs' do
%i.fa.fa-file-text
%span
Logs
2014-09-02 18:07:02 +05:30
= nav_link(controller: :broadcast_messages) do
2015-04-26 12:48:37 +05:30
= link_to admin_broadcast_messages_path, title: 'Broadcast Messages' do
%i.fa.fa-bullhorn
%span
Messages
2014-09-02 18:07:02 +05:30
= nav_link(controller: :hooks) do
2015-04-26 12:48:37 +05:30
= link_to admin_hooks_path, title: 'Hooks' do
%i.fa.fa-external-link
%span
Hooks
2014-09-02 18:07:02 +05:30
= nav_link(controller: :background_jobs) do
2015-04-26 12:48:37 +05:30
= link_to admin_background_jobs_path, title: 'Background Jobs' do
%i.fa.fa-cog
%span
Background Jobs
= nav_link(controller: :applications) do
= link_to admin_applications_path, title: 'Applications' do
%i.fa.fa-cloud
%span
Applications
= nav_link(controller: :services) do
= link_to admin_application_settings_services_path, title: 'Service Templates' do
%i.fa.fa-copy
%span
Service Templates
= nav_link(controller: :application_settings, html_options: { class: 'separate-item'}) do
= link_to admin_application_settings_path, title: 'Settings' do
%i.fa.fa-cogs
%span
Settings
2014-09-02 18:07:02 +05:30