2016-06-03 18:09:45 +00:00
|
|
|
- @no_container = true
|
2016-04-12 14:16:39 +00:00
|
|
|
- page_title "Pipelines"
|
2016-05-28 17:26:08 +00:00
|
|
|
= render "projects/pipelines/head"
|
2016-04-12 14:16:39 +00:00
|
|
|
|
2016-06-30 13:01:26 +00:00
|
|
|
%div{ class: container_class }
|
2016-06-03 18:09:45 +00:00
|
|
|
.top-area
|
|
|
|
%ul.nav-links
|
2017-02-15 14:06:00 +00:00
|
|
|
%li.js-pipelines-tab-all{ class: active_when(@scope.nil?) }>
|
2016-06-03 18:09:45 +00:00
|
|
|
= link_to project_pipelines_path(@project) do
|
|
|
|
All
|
|
|
|
%span.badge.js-totalbuilds-count
|
|
|
|
= number_with_delimiter(@pipelines_count)
|
|
|
|
|
2017-02-15 14:06:00 +00:00
|
|
|
%li.js-pipelines-tab-pending{ class: active_when(@scope == 'pending') }>
|
|
|
|
= link_to project_pipelines_path(@project, scope: :pending) do
|
|
|
|
Pending
|
|
|
|
%span.badge
|
|
|
|
= number_with_delimiter(@pending_count)
|
|
|
|
|
|
|
|
%li.js-pipelines-tab-running{ class: active_when(@scope == 'running') }>
|
2016-06-03 18:09:45 +00:00
|
|
|
= link_to project_pipelines_path(@project, scope: :running) do
|
|
|
|
Running
|
|
|
|
%span.badge.js-running-count
|
2017-02-15 14:06:00 +00:00
|
|
|
= number_with_delimiter(@running_count)
|
|
|
|
|
|
|
|
%li.js-pipelines-tab-finished{ class: active_when(@scope == 'finished') }>
|
|
|
|
= link_to project_pipelines_path(@project, scope: :finished) do
|
|
|
|
Finished
|
|
|
|
%span.badge
|
|
|
|
= number_with_delimiter(@finished_count)
|
2016-06-03 18:09:45 +00:00
|
|
|
|
2017-02-15 14:06:00 +00:00
|
|
|
%li.js-pipelines-tab-branches{ class: active_when(@scope == 'branches') }>
|
2016-06-03 18:09:45 +00:00
|
|
|
= link_to project_pipelines_path(@project, scope: :branches) do
|
|
|
|
Branches
|
|
|
|
|
2017-02-15 14:06:00 +00:00
|
|
|
%li.js-pipelines-tab-tags{ class: active_when(@scope == 'tags') }>
|
2016-06-03 18:09:45 +00:00
|
|
|
= link_to project_pipelines_path(@project, scope: :tags) do
|
|
|
|
Tags
|
|
|
|
|
|
|
|
.nav-controls
|
|
|
|
- if can? current_user, :create_pipeline, @project
|
|
|
|
= link_to new_namespace_project_pipeline_path(@project.namespace, @project), class: 'btn btn-create' do
|
2016-07-06 17:15:28 +00:00
|
|
|
Run pipeline
|
2016-06-03 18:09:45 +00:00
|
|
|
|
|
|
|
- unless @repository.gitlab_ci_yml
|
2016-05-16 22:06:26 +00:00
|
|
|
= link_to 'Get started with Pipelines', help_page_path('ci/quick_start/README'), class: 'btn btn-info'
|
2016-06-03 18:09:45 +00:00
|
|
|
|
|
|
|
= link_to ci_lint_path, class: 'btn btn-default' do
|
|
|
|
%span CI Lint
|
2017-01-02 23:26:41 +00:00
|
|
|
.content-list.pipelines{ data: { url: namespace_project_pipelines_path(@project.namespace, @project, format: :json) } }
|
2017-02-25 00:55:47 +00:00
|
|
|
.vue-pipelines-index
|
2016-10-25 22:00:38 +00:00
|
|
|
|
2017-03-02 02:28:34 +00:00
|
|
|
= page_specific_javascript_bundle_tag('common_vue')
|
2017-02-05 20:44:01 +00:00
|
|
|
= page_specific_javascript_bundle_tag('vue_pipelines')
|