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