BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
dcdf214f
Unverified
Commit
dcdf214f
authored
Aug 27, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More compact search page
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
3d02ead9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
6 deletions
+5
-6
search.scss
app/assets/stylesheets/pages/search.scss
+3
-3
_category.html.haml
app/views/search/_category.html.haml
+1
-1
show.html.haml
app/views/search/show.html.haml
+1
-2
No files found.
app/assets/stylesheets/pages/search.scss
View file @
dcdf214f
.search-results
{
.search-result-row
{
border-bottom
:
1px
solid
#
EEE
;
padding-bottom
:
1
0
px
;
margin-bottom
:
1
0
px
;
border-bottom
:
1px
solid
#
DDD
;
padding-bottom
:
1
5
px
;
margin-bottom
:
1
5
px
;
}
}
app/views/search/_category.html.haml
View file @
dcdf214f
%ul
.nav.nav-
pill
s.search-filter
%ul
.nav.nav-
tab
s.search-filter
-
if
@project
%li
{
class:
(
"active"
if
@scope
==
'blobs'
)}
=
link_to
search_filter_path
(
scope:
'blobs'
)
do
...
...
app/views/search/show.html.haml
View file @
dcdf214f
-
page_title
@search_term
=
render
'search/form'
%
h
r
%
b
r
-
if
@search_term
=
render
'search/category'
%hr
=
render
'search/results'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment