Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_head.html.haml « network « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e75b85c7ade6a0ff7368dafadbc0a334995b831d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
%h3.page-title Project Network Graph
%hr

.clearfix
  .pull-left
    = render partial: 'shared/ref_switcher', locals: {destination: 'graph'}
  .pull-left
    = form_tag project_network_path(@project, @id), method: :get do |f|
      .control-group
        = label_tag :filter_ref, "Show only selected ref", class: 'control-label light'
        .controls
          = check_box_tag :filter_ref, 1, @options[:filter_ref]
    - @options.each do |key, value|
      = hidden_field_tag(key, value, id: nil) unless key == "filter_ref"

  .search.pull-right
    = form_tag project_network_path(@project, @id), method: :get do |f|
      .control-group
        = label_tag :search , "Looking for commit:", class: 'control-label light'
        .controls
          = text_field_tag :q, @options[:q], placeholder: "Input SHA", class: "search-input xlarge"
          = button_tag type: 'submit', class: 'btn vtop' do
            %i.icon-search
          - @options.each do |key, value|
            = hidden_field_tag(key, value, id: nil) unless key == "q"