Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/ci/_nav_project.html.haml')
-rw-r--r--app/views/layouts/ci/_nav_project.html.haml40
1 files changed, 40 insertions, 0 deletions
diff --git a/app/views/layouts/ci/_nav_project.html.haml b/app/views/layouts/ci/_nav_project.html.haml
new file mode 100644
index 00000000000..24ee1609d25
--- /dev/null
+++ b/app/views/layouts/ci/_nav_project.html.haml
@@ -0,0 +1,40 @@
+%ul.nav.nav-pills.nav-stacked.project-menu
+ = nav_link path: 'projects#show' do
+ = link_to ci_project_path(@project) do
+ %i.fa-list-alt
+ Commits
+ %small.pull-right= @project.commits.count
+ = nav_link path: 'charts#show' do
+ = link_to ci_project_charts_path(@project) do
+ %i.fa-bar-chart
+ Charts
+ = nav_link path: ['runners#index', 'runners#show'] do
+ = link_to ci_project_runners_path(@project) do
+ %i.fa-cog
+ Runners
+ = nav_link path: 'variables#index' do
+ = link_to ci_project_variables_path(@project) do
+ %i.fa-code
+ Variables
+ = nav_link path: 'web_hooks#index' do
+ = link_to ci_project_web_hooks_path(@project) do
+ %i.fa-link
+ Web Hooks
+ = nav_link path: 'triggers#index' do
+ = link_to ci_project_triggers_path(@project) do
+ %i.fa-retweet
+ Triggers
+ = nav_link path: 'services#index' do
+ = link_to ci_project_services_path(@project) do
+ %i.fa-share
+ Services
+ = nav_link path: 'events#index' do
+ = link_to ci_project_events_path(@project) do
+ %i.fa-book
+ Events
+ %li
+ %hr
+ = nav_link path: 'projects#edit' do
+ = link_to edit_ci_project_path(@project) do
+ %i.fa-cogs
+ Settings