debian-mirror-gitlab/app/views/admin/jobs/index.html.haml

23 lines
807 B
Text
Raw Normal View History

2018-03-17 18:26:18 +05:30
- breadcrumb_title "Jobs"
- @no_container = true
2016-08-24 12:49:21 +05:30
%div{ class: container_class }
2018-03-17 18:26:18 +05:30
.top-area.scrolling-tabs-container.inner-page-scroll-tabs
2017-09-10 17:25:29 +05:30
- build_path_proc = ->(scope) { admin_jobs_path(scope: scope) }
2016-09-29 09:46:39 +05:30
= render "shared/builds/tabs", build_path_proc: build_path_proc, all_builds: @all_builds, scope: @scope
2018-03-27 19:54:05 +05:30
- if @all_builds.running_or_pending.any?
#stop-jobs-modal
.nav-controls
2018-03-17 18:26:18 +05:30
%button#stop-jobs-button.btn.btn-danger{ data: { toggle: 'modal',
target: '#stop-jobs-modal',
url: cancel_all_admin_jobs_path } }
= s_('AdminArea|Stop all jobs')
.row-content-block.second-block
2017-08-17 22:00:37 +05:30
#{(@scope || 'all').capitalize} jobs
2017-08-17 22:00:37 +05:30
%ul.content-list.builds-content-list.admin-builds-table
2017-09-10 17:25:29 +05:30
= render "projects/jobs/table", builds: @builds, admin: true