Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
3dcc4419
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,发现更多精彩内容 >>
提交
3dcc4419
编写于
7月 09, 2013
作者:
D
Dmitriy Zaporozhets
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Cleaner dashboard sidebar
上级
03586c6c
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
58 addition
and
58 deletion
+58
-58
app/assets/stylesheets/common.scss
app/assets/stylesheets/common.scss
+0
-11
app/assets/stylesheets/sections/dashboard.scss
app/assets/stylesheets/sections/dashboard.scss
+31
-16
app/assets/stylesheets/sections/events.scss
app/assets/stylesheets/sections/events.scss
+2
-6
app/views/dashboard/_groups.html.haml
app/views/dashboard/_groups.html.haml
+6
-6
app/views/dashboard/_projects.html.haml
app/views/dashboard/_projects.html.haml
+10
-9
app/views/groups/_projects.html.haml
app/views/groups/_projects.html.haml
+9
-10
未找到文件。
app/assets/stylesheets/common.scss
浏览文件 @
3dcc4419
...
...
@@ -206,17 +206,6 @@ p.time {
}
}
.arrow
{
background
:
#E3E5EA
;
padding
:
5px
;
margin-top
:
5px
;
@include
border-radius
(
5px
);
text-shadow
:
none
;
color
:
#999
;
line-height
:
16px
;
font-weight
:
bold
;
}
.thin_area
{
height
:
150px
;
}
...
...
app/assets/stylesheets/sections/dashboard.scss
浏览文件 @
3dcc4419
...
...
@@ -14,22 +14,6 @@
padding
:
2px
15px
;
}
.nav-projects-tabs
li
{
padding
:
0
;
}
.well-list
{
li
{
padding
:
15px
;
}
.arrow
{
float
:
right
;
padding
:
10px
;
margin
:
0
;
}
.last_activity
{
padding-top
:
5px
;
display
:
block
;
span
,
strong
{
font-size
:
12px
;
color
:
#666
;
}
}
}
}
}
}
...
...
@@ -85,3 +69,34 @@
}
}
}
.project-row
,
.group-row
{
padding
:
15px
!
important
;
.namespace-name
{
color
:
#666
;
font-weight
:
bold
;
}
.project-name
,
.group-name
{
font-size
:
16px
;
}
.arrow
{
float
:
right
;
padding
:
10px
5px
;
margin
:
0
;
font-size
:
20px
;
color
:
#666
;
}
.last-activity
,
.owner-info
{
color
:
#AAA
;
display
:
block
;
margin-top
:
5px
;
.date
,
.owner
{
color
:
#777
;
}
}
}
app/assets/stylesheets/sections/events.scss
浏览文件 @
3dcc4419
...
...
@@ -41,6 +41,8 @@
}
}
.event-body
{
margin-left
:
35px
;
.commit
p
{
color
:
#666
;
padding-top
:
5px
;
...
...
@@ -51,7 +53,6 @@
.event-note
{
color
:
#555
;
margin-top
:
5px
;
margin-left
:
35px
;
pre
{
border
:
none
;
...
...
@@ -77,10 +78,6 @@
margin-right
:
5px
;
}
}
.avatar
{
position
:
relative
;
top
:
-3px
;
}
.event_icon
{
position
:
relative
;
float
:
right
;
...
...
@@ -95,7 +92,6 @@
}
}
ul
{
margin-left
:
35px
;
margin-bottom
:
5px
;
.avatar
{
width
:
18px
;
...
...
app/views/dashboard/_groups.html.haml
浏览文件 @
3dcc4419
...
...
@@ -8,15 +8,15 @@
New Group
%ul
.well-list.dash-list
-
groups
.
each
do
|
group
|
%li
%li
.group-row
=
link_to
group_path
(
id:
group
.
path
),
class:
dom_class
(
group
)
do
%s
trong
.well-titl
e
%s
pan
.group-nam
e
=
truncate
(
group
.
name
,
length:
35
)
%span
.arrow
→
%span
.
last_activity
%s
trong
Owner:
%span
=
group
.
owner_name
%i
.icon-angle-right
%span
.
owner-info
%s
pan
Owner:
%span
.owner
=
group
.
owner_name
-
if
groups
.
blank?
%li
%h3
.nothing_here_message
You have no groups yet.
app/views/dashboard/_projects.html.haml
浏览文件 @
3dcc4419
...
...
@@ -9,18 +9,19 @@
%ul
.well-list.dash-list
-
projects
.
each
do
|
project
|
%li
%li
.project-row
=
link_to
project_path
(
project
),
class:
dom_class
(
project
)
do
-
if
project
.
namespace
=
project
.
namespace
.
human_name
\/
%strong
.well-title
%span
.namespace-name
-
if
project
.
namespace
=
project
.
namespace
.
human_name
\/
%span
.project-name
=
truncate
(
project
.
name
,
length:
25
)
%span
.arrow
→
%span
.last
_
activity
%s
trong
Last activity:
%span
=
project_last_activity
(
project
)
%i
.icon-angle-right
%span
.last
-
activity
%s
pan
Last activity:
%span
.date
=
project_last_activity
(
project
)
-
if
projects
.
blank?
%li
%h3
.nothing_here_message
There are no projects here.
...
...
app/views/groups/_projects.html.haml
浏览文件 @
3dcc4419
.ui-box
%h5
.title
Projects
%small
(
#{
projects
.
count
}
)
Projects (
#{
projects
.
count
}
)
-
if
can?
current_user
,
:manage_group
,
@group
%span
.pull-right
=
link_to
new_project_path
(
namespace_id:
@group
.
id
),
class:
"btn
btn-tiny info
"
do
=
link_to
new_project_path
(
namespace_id:
@group
.
id
),
class:
"btn"
do
%i
.icon-plus
New Project
%ul
.well-list
-
if
projects
.
blank?
%p
.nothing_here_message
This groups has no projects yet
-
projects
.
each
do
|
project
|
%li
%li
.project-row
=
link_to
project_path
(
project
),
class:
dom_class
(
project
)
do
%strong
.well-title
=
truncate
(
project
.
name
,
length:
25
)
%span
.project-name
=
truncate
(
project
.
name
,
length:
25
)
%span
.arrow
→
%span
.last
_
activity
%s
trong
Last activity:
%span
=
project_last_activity
(
project
)
%i
.icon-angle-right
%span
.last
-
activity
%s
pan
Last activity:
%span
.date
=
project_last_activity
(
project
)
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录