style network graph form a bit

This commit is contained in:
Dmitriy Zaporozhets 2013-02-12 19:22:40 +02:00
parent ddea7d1689
commit 622dae76cc
2 changed files with 16 additions and 8 deletions

View file

@ -20,6 +20,7 @@
.hint { font-style: italic; color: #999; }
.light { color: #888 }
.tiny { font-weight: normal }
.vtop { vertical-align: top; }
/** ALERT MESSAGES **/

View file

@ -1,9 +1,16 @@
%ul.nav.nav-tabs
%li
= render partial: 'shared/ref_switcher', locals: {destination: 'graph', path: @path}
%li.pull-right.search
= form_tag project_graph_path(@project, params[:id]), method: :get, class: 'navbar-form' do |f|
= label_tag :search , "Looking for commit:"
= text_field_tag :q, @q, placeholder: "Input SHA", class: "search-input"
%h3.page_title Project Network Graph
%hr
.clearfix
.pull-left
= render partial: 'shared/ref_switcher', locals: {destination: 'graph', path: @path}
.search.pull-right
= form_tag project_graph_path(@project, params[:id]), method: :get do |f|
.control-group
= label_tag :search , "Looking for commit:", class: 'control-label light'
.controls
= text_field_tag :q, @q, placeholder: "Input SHA", class: "search-input xlarge"
= button_tag type: 'submit', class: 'btn vtop' do
%i.icon-search