Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
fb01f458
G
gitlab-foss
项目概览
李少辉-开发者
/
gitlab-foss
通知
15
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gitlab-foss
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
fb01f458
编写于
10月 26, 2011
作者:
G
gitlabhq
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
issue search styleup
上级
7d773ecb
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
49 addition
and
30 deletion
+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
未找到文件。
app/assets/stylesheets/projects.css.scss
浏览文件 @
fb01f458
...
...
@@ -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
浏览文件 @
fb01f458
%div
-
if
can?
current_user
,
:write_issue
,
@project
.left
=
form_tag
search_project_issues_path
(
@project
),
:method
=>
:get
,
:remote
=>
true
do
=
hidden_field_tag
:project_id
,
@project
.
id
,
{
:id
=>
'project_id'
}
=
search_field_tag
:issue_search
,
nil
,
{
:placeholder
=>
'Search'
,
:class
=>
'issue_search'
}
=
link_to
'New Issue'
,
new_project_issue_path
(
@project
),
:remote
=>
true
,
:class
=>
"lbutton vm"
.right
=
form_tag
project_issues_path
(
@project
),
:method
=>
:get
do
.span-2
=
radio_button_tag
:f
,
0
,
(
params
[
:f
]
||
"0"
)
==
"0"
,
:onclick
=>
"this.form.submit()"
,
:id
=>
"open_issues"
,
:class
=>
"status"
=
label_tag
"open_issues"
,
"Open"
.span-2
=
radio_button_tag
:f
,
2
,
params
[
:f
]
==
"2"
,
:onclick
=>
"this.form.submit()"
,
:id
=>
"closed_issues"
,
:class
=>
"status"
=
label_tag
"closed_issues"
,
"Closed"
.span-2
=
radio_button_tag
:f
,
3
,
params
[
:f
]
==
"3"
,
:onclick
=>
"this.form.submit()"
,
:id
=>
"my_issues"
,
:class
=>
"status"
=
label_tag
"my_issues"
,
"To Me"
.span-2
=
radio_button_tag
:f
,
1
,
params
[
:f
]
==
"1"
,
:onclick
=>
"this.form.submit()"
,
:id
=>
"all_issues"
,
:class
=>
"status"
=
label_tag
"all_issues"
,
"All"
.top_panel_issues
-
if
can?
current_user
,
:write_issue
,
@project
%div
{
:class
=>
"left"
,
:style
=>
"margin-right: 10px;"
}
=
link_to
'New Issue'
,
new_project_issue_path
(
@project
),
:remote
=>
true
,
:class
=>
"lbutton vm"
=
form_tag
search_project_issues_path
(
@project
),
:method
=>
:get
,
:remote
=>
true
,
:class
=>
:left
,
:id
=>
"issue_search_form"
do
=
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
.span-2
=
radio_button_tag
:f
,
0
,
(
params
[
:f
]
||
"0"
)
==
"0"
,
:onclick
=>
"this.form.submit()"
,
:id
=>
"open_issues"
,
:class
=>
"status"
=
label_tag
"open_issues"
,
"Open"
.span-2
=
radio_button_tag
:f
,
2
,
params
[
:f
]
==
"2"
,
:onclick
=>
"this.form.submit()"
,
:id
=>
"closed_issues"
,
:class
=>
"status"
=
label_tag
"closed_issues"
,
"Closed"
.span-2
=
radio_button_tag
:f
,
3
,
params
[
:f
]
==
"3"
,
:onclick
=>
"this.form.submit()"
,
:id
=>
"my_issues"
,
:class
=>
"status"
=
label_tag
"my_issues"
,
"To Me"
.span-2
=
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"
%br
...
...
config/database.yml
浏览文件 @
fb01f458
...
...
@@ -4,9 +4,8 @@
# Ensure the SQLite 3 gem is defined in your Gemfile
# gem 'sqlite3'
development
:
adapter
:
mysql2
database
:
gitlab_development
username
:
root
adapter
:
sqlite3
database
:
db/development.sqlite3
pool
:
5
timeout
:
5000
...
...
@@ -14,11 +13,13 @@ development:
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test
:
adapter
:
mysql2
database
:
gitlab_development
username
:
root
adapter
:
sqlite3
database
:
db/test.sqlite3
pool
:
5
timeout
:
5000
production
:
adatper
:
mysql2
database
:
gitlab_test
username
:
root
adapter
:
sqlite3
database
:
db/production.sqlite3
pool
:
5
timeout
:
5000
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录