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
Kazuhiko Shiozaki
gitlab-ce
Commits
fb01f458
Commit
fb01f458
authored
Oct 26, 2011
by
gitlabhq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
issue search styleup
parent
7d773ecb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
49 additions
and
30 deletions
+49
-30
app/assets/stylesheets/projects.css.scss
app/assets/stylesheets/projects.css.scss
+17
-0
app/views/issues/index.html.haml
app/views/issues/index.html.haml
+22
-21
config/database.yml
config/database.yml
+10
-9
No files found.
app/assets/stylesheets/projects.css.scss
View file @
fb01f458
...
@@ -681,3 +681,20 @@ tbody tr:nth-child(2n) td, tbody tr.even td {
...
@@ -681,3 +681,20 @@ tbody tr:nth-child(2n) td, tbody tr.even td {
}
}
}
}
}
}
.top_panel_issues
{
#issue_search_form
{
margin
:
5px
0
;
input
{
border
:
1px
solid
#D3D3D3
;
padding
:
3px
;
height
:
20px
;
width
:
300px
;
&
:focus
{
border-color
:
#c2e1ef
;
}
}
}
}
app/views/issues/index.html.haml
View file @
fb01f458
%div
%div
-
if
can?
current_user
,
:write_issue
,
@project
.top_panel_issues
.left
-
if
can?
current_user
,
:write_issue
,
@project
=
form_tag
search_project_issues_path
(
@project
),
:method
=>
:get
,
:remote
=>
true
do
%div
{
:class
=>
"left"
,
:style
=>
"margin-right: 10px;"
}
=
hidden_field_tag
:project_id
,
@project
.
id
,
{
:id
=>
'project_id'
}
=
link_to
'New Issue'
,
new_project_issue_path
(
@project
),
:remote
=>
true
,
:class
=>
"lbutton vm"
=
search_field_tag
:issue_search
,
nil
,
{
:placeholder
=>
'Search'
,
:class
=>
'issue_search'
}
=
form_tag
search_project_issues_path
(
@project
),
:method
=>
:get
,
:remote
=>
true
,
:class
=>
:left
,
:id
=>
"issue_search_form"
do
=
link_to
'New Issue'
,
new_project_issue_path
(
@project
),
:remote
=>
true
,
:class
=>
"lbutton vm"
=
hidden_field_tag
:project_id
,
@project
.
id
,
{
:id
=>
'project_id'
}
=
search_field_tag
:issue_search
,
nil
,
{
:placeholder
=>
'Search'
,
:class
=>
'issue_search'
}
.right
=
form_tag
project_issues_path
(
@project
),
:method
=>
:get
do
.right
.span-2
=
form_tag
project_issues_path
(
@project
),
:method
=>
:get
do
=
radio_button_tag
:f
,
0
,
(
params
[
:f
]
||
"0"
)
==
"0"
,
:onclick
=>
"this.form.submit()"
,
:id
=>
"open_issues"
,
:class
=>
"status"
.span-2
=
label_tag
"open_issues"
,
"Open"
=
radio_button_tag
:f
,
0
,
(
params
[
:f
]
||
"0"
)
==
"0"
,
:onclick
=>
"this.form.submit()"
,
:id
=>
"open_issues"
,
:class
=>
"status"
.span-2
=
label_tag
"open_issues"
,
"Open"
=
radio_button_tag
:f
,
2
,
params
[
:f
]
==
"2"
,
:onclick
=>
"this.form.submit()"
,
:id
=>
"closed_issues"
,
:class
=>
"status"
.span-2
=
label_tag
"closed_issues"
,
"Closed"
=
radio_button_tag
:f
,
2
,
params
[
:f
]
==
"2"
,
:onclick
=>
"this.form.submit()"
,
:id
=>
"closed_issues"
,
:class
=>
"status"
.span-2
=
label_tag
"closed_issues"
,
"Closed"
=
radio_button_tag
:f
,
3
,
params
[
:f
]
==
"3"
,
:onclick
=>
"this.form.submit()"
,
:id
=>
"my_issues"
,
:class
=>
"status"
.span-2
=
label_tag
"my_issues"
,
"To Me"
=
radio_button_tag
:f
,
3
,
params
[
:f
]
==
"3"
,
:onclick
=>
"this.form.submit()"
,
:id
=>
"my_issues"
,
:class
=>
"status"
.span-2
=
label_tag
"my_issues"
,
"To Me"
=
radio_button_tag
:f
,
1
,
params
[
:f
]
==
"1"
,
:onclick
=>
"this.form.submit()"
,
:id
=>
"all_issues"
,
:class
=>
"status"
.span-2
=
label_tag
"all_issues"
,
"All"
=
radio_button_tag
:f
,
1
,
params
[
:f
]
==
"1"
,
:onclick
=>
"this.form.submit()"
,
:id
=>
"all_issues"
,
:class
=>
"status"
=
label_tag
"all_issues"
,
"All"
#issues-table-holder
=
render
"issues"
#issues-table-holder
=
render
"issues"
%br
%br
...
...
config/database.yml
View file @
fb01f458
...
@@ -4,9 +4,8 @@
...
@@ -4,9 +4,8 @@
# Ensure the SQLite 3 gem is defined in your Gemfile
# Ensure the SQLite 3 gem is defined in your Gemfile
# gem 'sqlite3'
# gem 'sqlite3'
development
:
development
:
adapter
:
mysql2
adapter
:
sqlite3
database
:
gitlab_development
database
:
db/development.sqlite3
username
:
root
pool
:
5
pool
:
5
timeout
:
5000
timeout
:
5000
...
@@ -14,11 +13,13 @@ development:
...
@@ -14,11 +13,13 @@ development:
# re-generated from your development database when you run "rake".
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
# Do not set this db to the same as development or production.
test
:
test
:
adapter
:
mysql2
adapter
:
sqlite3
database
:
gitlab_development
database
:
db/test.sqlite3
username
:
root
pool
:
5
timeout
:
5000
production
:
production
:
adatper
:
mysql2
adapter
:
sqlite3
database
:
gitlab_test
database
:
db/production.sqlite3
username
:
root
pool
:
5
timeout
:
5000
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