OSDN Git Service

Refactor: remove dup code
[wvm/gitlab.git] / app / views / graph / _head.html.haml
1 %h3.page_title Project Network Graph
2 %hr
3
4 .clearfix
5   .pull-left
6     = render partial: 'shared/ref_switcher', locals: {destination: 'graph'}
7
8   .search.pull-right
9     = form_tag project_graph_path(@project, @id), method: :get do |f|
10       .control-group
11         = label_tag :search , "Looking for commit:", class: 'control-label light'
12         .controls
13           = text_field_tag :q, @q, placeholder: "Input SHA", class: "search-input xlarge"
14           = button_tag type: 'submit', class: 'btn vtop' do
15             %i.icon-search
16