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

22 lines
815 B
Text
Raw Normal View History

2021-03-08 18:12:59 +05:30
- add_page_specific_style 'page_bundles/ci_status'
2021-03-11 19:13:27 +05:30
- add_page_specific_style 'page_bundles/admin/jobs_index'
2021-03-08 18:12:59 +05:30
2020-07-28 23:09:34 +05:30
- breadcrumb_title _("Jobs")
- page_title _("Jobs")
2019-12-04 20:38:33 +05:30
.top-area.scrolling-tabs-container.inner-page-scroll-tabs
- build_path_proc = ->(scope) { admin_jobs_path(scope: scope) }
= render "shared/builds/tabs", build_path_proc: build_path_proc, all_builds: @all_builds, scope: @scope
2019-12-04 20:38:33 +05:30
- if @all_builds.running_or_pending.any?
2021-01-29 00:20:46 +05:30
#js-stop-jobs-modal
2019-12-04 20:38:33 +05:30
.nav-controls
2021-01-29 00:20:46 +05:30
%button#js-stop-jobs-button.btn.gl-button.btn-danger{ data: { url: cancel_all_admin_jobs_path } }
2019-12-04 20:38:33 +05:30
= s_('AdminArea|Stop all jobs')
2019-12-04 20:38:33 +05:30
.row-content-block.second-block
#{(@scope || 'all').capitalize} jobs
2019-12-04 20:38:33 +05:30
%ul.content-list.builds-content-list.admin-builds-table
= render "projects/jobs/table", builds: @builds, admin: true