Commit dcdf214f authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

More compact search page

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 3d02ead9
.search-results {
.search-result-row {
border-bottom: 1px solid #EEE;
padding-bottom: 10px;
margin-bottom: 10px;
border-bottom: 1px solid #DDD;
padding-bottom: 15px;
margin-bottom: 15px;
}
}
%ul.nav.nav-pills.search-filter
%ul.nav.nav-tabs.search-filter
- if @project
%li{class: ("active" if @scope == 'blobs')}
= link_to search_filter_path(scope: 'blobs') do
......
- page_title @search_term
= render 'search/form'
%hr
%br
- if @search_term
= render 'search/category'
%hr
= render 'search/results'
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment