Commit 622dae76cc0e9e3c76c5d2ba18efeb139644881e

Authored by Dmitriy Zaporozhets
1 parent ddea7d16

style network graph form a bit

app/assets/stylesheets/gitlab_bootstrap/common.scss
@@ -20,6 +20,7 @@ @@ -20,6 +20,7 @@
20 .hint { font-style: italic; color: #999; } 20 .hint { font-style: italic; color: #999; }
21 .light { color: #888 } 21 .light { color: #888 }
22 .tiny { font-weight: normal } 22 .tiny { font-weight: normal }
  23 +.vtop { vertical-align: top; }
23 24
24 25
25 /** ALERT MESSAGES **/ 26 /** ALERT MESSAGES **/
app/views/graph/_head.html.haml
1 -%ul.nav.nav-tabs  
2 - %li 1 +%h3.page_title Project Network Graph
  2 +%hr
  3 +
  4 +.clearfix
  5 + .pull-left
3 = render partial: 'shared/ref_switcher', locals: {destination: 'graph', path: @path} 6 = render partial: 'shared/ref_switcher', locals: {destination: 'graph', path: @path}
4 - %li.pull-right.search  
5 - = form_tag project_graph_path(@project, params[:id]), method: :get, class: 'navbar-form' do |f|  
6 - = label_tag :search , "Looking for commit:"  
7 - = text_field_tag :q, @q, placeholder: "Input SHA", class: "search-input"  
8 7
9 -%h3.page_title Project Network Graph 8 + .search.pull-right
  9 + = form_tag project_graph_path(@project, params[: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 +