gitlab-org--gitlab-foss/app/views/graph/_head.html.haml

19 lines
654 B
Plaintext
Raw Normal View History

2013-02-12 17:22:40 +00:00
%h3.page_title Project Network Graph
%hr
.clearfix
.pull-left
2013-04-14 12:08:16 +00:00
= render partial: 'shared/ref_switcher', locals: {destination: 'graph'}
2013-02-05 03:46:31 +00:00
2013-02-12 17:22:40 +00:00
.search.pull-right
2013-04-14 12:08:16 +00:00
= form_tag project_graph_path(@project, @id), method: :get do |f|
2013-02-12 17:22:40 +00:00
.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"
2013-02-12 17:22:40 +00:00
= 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"
2013-02-12 17:22:40 +00:00