diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-05-13 21:18:08 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-05-13 21:18:08 +0300 |
commit | c5feabde2d8cd023215af4d2ceeb7a64839fc428 (patch) | |
tree | 5285844980d5e42ecf86ff4d1df63704ed12a949 /app/views/public/projects | |
parent | 50d4420237a9de7be1304607147aec22e4a14af7 (diff) | |
download | gitlab-ce-c5feabde2d8cd023215af4d2ceeb7a64839fc428.tar.gz |
Add simple search to projects in public area
Diffstat (limited to 'app/views/public/projects')
-rw-r--r-- | app/views/public/projects/index.html.haml | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/app/views/public/projects/index.html.haml b/app/views/public/projects/index.html.haml index c31fcfd15de..e2b19d0d824 100644 --- a/app/views/public/projects/index.html.haml +++ b/app/views/public/projects/index.html.haml @@ -1,6 +1,16 @@ -%h3.page_title - Projects (#{@projects.total_count}) - %small with read-only access +.row + .span6 + %h3.page_title + Projects (#{@projects.total_count}) + %small with read-only access + .span6 + .pull-right + = form_tag public_projects_path, method: :get, class: 'form-inline' do |f| + .search-holder + .input + = search_field_tag :search, params[:search], placeholder: "gitlab-ci", class: "span3 search-text-input", id: "projects_search" + = submit_tag 'Search', class: "btn btn-primary wide" + %hr .public-projects |