mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-09 12:46:07 +10:00
More compact search page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
.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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
%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
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
- page_title @search_term
|
||||
= render 'search/form'
|
||||
%hr
|
||||
%br
|
||||
- if @search_term
|
||||
= render 'search/category'
|
||||
%hr
|
||||
= render 'search/results'
|
||||
|
||||
Reference in New Issue
Block a user