gitlab-org--gitlab-foss/app/views/layouts/ci/_nav_admin.html.haml

34 lines
1,023 B
Text
Raw Normal View History

2015-09-11 13:25:53 -04:00
%ul.nav.nav-sidebar
= nav_link do
= link_to admin_root_path, title: 'Back to admin', data: {placement: 'right'}, class: 'back-link' do
2015-09-11 13:25:53 -04:00
= icon('caret-square-o-left fw')
%span
Back to admin
2015-09-11 13:25:53 -04:00
%li.separate-item
2015-08-26 20:58:16 -04:00
= nav_link path: 'projects#index' do
2015-08-25 21:42:46 -04:00
= link_to ci_admin_projects_path do
= icon('list-alt fw')
2015-08-25 21:42:46 -04:00
Projects
2015-08-26 20:58:16 -04:00
= nav_link path: 'events#index' do
2015-08-25 21:42:46 -04:00
= link_to ci_admin_events_path do
= icon('book fw')
2015-08-25 21:42:46 -04:00
Events
2015-09-14 07:58:38 -04:00
= nav_link path: ['runners#index', 'runners#show'] do
2015-08-25 21:42:46 -04:00
= link_to ci_admin_runners_path do
= icon('cog fw')
2015-08-25 21:42:46 -04:00
Runners
%small.pull-right
= Ci::Runner.count(:all)
2015-08-26 20:58:16 -04:00
= nav_link path: 'builds#index' do
2015-08-25 21:42:46 -04:00
= link_to ci_admin_builds_path do
= icon('link fw')
2015-08-25 21:42:46 -04:00
Builds
%small.pull-right
= Ci::Build.count(:all)
= nav_link(controller: :application_settings, html_options: { class: 'separate-item'}) do
= link_to ci_admin_application_settings_path do
= icon('cogs fw')
2015-08-25 21:42:46 -04:00
%span
Settings