summaryrefslogtreecommitdiff
path: root/app/views/projects/network
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-01-04 19:27:09 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-01-04 19:27:09 +0200
commit0a364762d96f2474e9cd177fba54b7a2e5614e8a (patch)
treecaa7e182f5c77bfc82d5fcaa2fc175c4dd93b69a /app/views/projects/network
parent09c2f8c7b10fe78a0e3feead06b6010f88238c79 (diff)
downloadgitlab-ce-0a364762d96f2474e9cd177fba54b7a2e5614e8a.tar.gz
twbs3 style for admin, tree, network, commits
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/projects/network')
-rw-r--r--app/views/projects/network/_head.html.haml34
1 files changed, 13 insertions, 21 deletions
diff --git a/app/views/projects/network/_head.html.haml b/app/views/projects/network/_head.html.haml
index 6b940c471fa..70c05461d5e 100644
--- a/app/views/projects/network/_head.html.haml
+++ b/app/views/projects/network/_head.html.haml
@@ -1,23 +1,15 @@
-.clearfix
- .pull-left
+.row.append-bottom-20
+ .col-sm-2
= render partial: 'shared/ref_switcher', locals: {destination: 'graph'}
- .pull-left
- = form_tag project_network_path(@project, @id), method: :get do |f|
- .form-group
- = label_tag :filter_ref, "Begin with the selected commit", class: 'control-label light'
- .col-sm-10
- = 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|
- .form-group
- = label_tag :search , "Looking for commit:", class: 'control-label light'
- .col-sm-10
- = text_field_tag :extended_sha1, @options[:extended_sha1], placeholder: "Input an extended SHA1 syntax", class: "search-input form-control"
- = 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 == "extended_sha1"
+ .col-sm-10
+ = form_tag project_network_path(@project, @id), method: :get, class: 'form-inline' do |f|
+ = label_tag :search , "Looking for", class: 'light inline-label'
+ = text_field_tag :extended_sha1, @options[:extended_sha1], placeholder: "Input an extended SHA1 syntax", class: "search-input form-control input-mx-250"
+ = button_tag type: 'submit', class: 'btn btn-success' do
+ %i.icon-search
+ .inline.prepend-left-20
+ .checkbox.light
+ = label_tag :filter_ref do
+ = check_box_tag :filter_ref, 1, @options[:filter_ref]
+ %span Begin with the selected commit