Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
f8526fef
Commit
f8526fef
authored
Feb 05, 2016
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix project filter form rendering
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
3f1bd844
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
+11
-7
app/assets/stylesheets/framework/nav.scss
app/assets/stylesheets/framework/nav.scss
+4
-0
app/views/dashboard/_projects_head.html.haml
app/views/dashboard/_projects_head.html.haml
+7
-7
No files found.
app/assets/stylesheets/framework/nav.scss
View file @
f8526fef
...
...
@@ -85,6 +85,10 @@
display
:
inline-block
;
}
>
form
{
display
:
inline-block
;
}
input
{
height
:
34px
;
display
:
inline-block
;
...
...
app/views/dashboard/_projects_head.html.haml
View file @
f8526fef
...
...
@@ -13,10 +13,10 @@
Explore Projects
.nav-controls
.pull-right
=
form_tag
request
.
original_url
,
method: :get
,
class:
'pull-left project-filter-form'
,
id:
'project-filter-form'
do
|
f
|
=
search_field_tag
:filter_projects
,
params
[
:filter_projects
],
placeholder:
'Filter by name...'
,
class:
'pull-left form-control project-filter-form-field form-control'
,
spellcheck:
false
,
id:
'project-filter-form-field
'
-
if
current_user
.
can_create_project?
=
link_to
new_project_path
,
class:
'btn btn-new pull-left
'
do
=
icon
(
'plus'
)
New Project
=
form_tag
request
.
original_url
,
method: :get
,
class:
'project-filter-form'
,
id:
'project-filter-form'
do
|
f
|
=
search_field_tag
:filter_projects
,
params
[
:filter_projects
],
placeholder:
'Filter by name...'
,
class:
'project-filter-form-field form-control input-short'
,
spellcheck:
false
,
id:
'project-filter-form-field'
=
render
'explore/projects/dropdown
'
-
if
current_user
.
can_create_project?
=
link_to
new_project_path
,
class:
'btn btn-new
'
do
=
icon
(
'plus'
)
New Project
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