debian-mirror-gitlab/app/views/layouts/ci/_nav_admin.html.haml

36 lines
1 KiB
Text
Raw Normal View History

2015-09-25 12:07:36 +05:30
%ul.nav.nav-sidebar
= nav_link do
= link_to admin_root_path, title: 'Back to admin', data: {placement: 'right'}, class: 'back-link' do
= icon('caret-square-o-left fw')
%span
Back to admin
%li.separate-item
= nav_link path: 'projects#index' do
= link_to ci_admin_projects_path do
= icon('list-alt fw')
2015-11-26 14:37:03 +05:30
%span
Projects
2015-09-25 12:07:36 +05:30
= nav_link path: 'events#index' do
= link_to ci_admin_events_path do
= icon('book fw')
2015-11-26 14:37:03 +05:30
%span
Events
2015-09-25 12:07:36 +05:30
= nav_link path: ['runners#index', 'runners#show'] do
= link_to ci_admin_runners_path do
= icon('cog fw')
2015-11-26 14:37:03 +05:30
%span
Runners
%span.count= Ci::Runner.count(:all)
2015-09-25 12:07:36 +05:30
= nav_link path: 'builds#index' do
= link_to ci_admin_builds_path do
= icon('link fw')
2015-11-26 14:37:03 +05:30
%span
Builds
%span.count= Ci::Build.count(:all)
2015-09-25 12:07:36 +05:30
= nav_link(controller: :application_settings, html_options: { class: 'separate-item'}) do
= link_to ci_admin_application_settings_path do
= icon('cogs fw')
%span
Settings