2020-06-22 08:08:47 -04:00
|
|
|
- breadcrumb_title _("Graph")
|
|
|
|
- page_title _("Graph"), @ref
|
2013-02-04 22:46:31 -05:00
|
|
|
= render "head"
|
2021-02-09 10:09:39 -05:00
|
|
|
.gl-mt-5
|
2020-10-06 20:08:24 -04:00
|
|
|
.project-network.gl-border-1.gl-border-solid.gl-border-gray-300
|
|
|
|
.controls.gl-bg-gray-50.gl-p-2.gl-font-base.gl-text-gray-400.gl-border-b-1.gl-border-b-solid.gl-border-b-gray-300
|
2017-06-29 13:06:35 -04:00
|
|
|
= form_tag project_network_path(@project, @id), method: :get, class: 'form-inline network-form' do |f|
|
2021-02-04 07:09:25 -05:00
|
|
|
= text_field_tag :extended_sha1, @options[:extended_sha1], placeholder: _("Git revision"), class: 'search-input form-control gl-form-input input-mx-250 search-sha gl-mr-2'
|
|
|
|
= button_tag class: 'btn gl-button btn-success btn-icon' do
|
2020-10-07 17:08:21 -04:00
|
|
|
= sprite_icon('search')
|
2020-11-20 07:09:35 -05:00
|
|
|
.inline.gl-ml-5
|
2018-04-11 14:05:57 -04:00
|
|
|
.form-check.light
|
2018-05-31 15:20:46 -04:00
|
|
|
= check_box_tag :filter_ref, 1, @options[:filter_ref], class: 'form-check-input'
|
|
|
|
= label_tag :filter_ref, class: 'form-check-label' do
|
2018-02-07 22:46:58 -05:00
|
|
|
%span= _("Begin with the selected commit")
|
2014-06-14 12:35:45 -04:00
|
|
|
|
2016-10-28 07:38:14 -04:00
|
|
|
- if @commit
|
2020-10-06 20:08:24 -04:00
|
|
|
.network-graph.gl-bg-white.gl-overflow-scroll.gl-overflow-x-hidden{ data: { url: @url, commit_url: @commit_url, ref: @ref, commit_id: @commit.id } }
|
2020-06-26 02:09:03 -04:00
|
|
|
.text-center.gl-mt-3
|
2020-04-06 05:09:17 -04:00
|
|
|
.spinner.spinner-md
|