Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
b7427faa
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,发现更多精彩内容 >>
未验证
提交
b7427faa
编写于
9月 03, 2015
作者:
D
Dmitriy Zaporozhets
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Improve starred and trending pages
Signed-off-by:
N
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
上级
1c8ec154
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
22 addition
and
25 deletion
+22
-25
app/assets/stylesheets/generic/blocks.scss
app/assets/stylesheets/generic/blocks.scss
+4
-0
app/assets/stylesheets/generic/common.scss
app/assets/stylesheets/generic/common.scss
+1
-1
app/assets/stylesheets/pages/projects.scss
app/assets/stylesheets/pages/projects.scss
+0
-11
app/views/explore/projects/starred.html.haml
app/views/explore/projects/starred.html.haml
+5
-3
app/views/explore/projects/trending.html.haml
app/views/explore/projects/trending.html.haml
+11
-9
app/views/layouts/header/_public.html.haml
app/views/layouts/header/_public.html.haml
+1
-1
未找到文件。
app/assets/stylesheets/generic/blocks.scss
浏览文件 @
b7427faa
...
...
@@ -30,4 +30,8 @@
.title
{
color
:
$gl-text-color
;
}
.oneline
{
line-height
:
44px
;
}
}
app/assets/stylesheets/generic/common.scss
浏览文件 @
b7427faa
...
...
@@ -301,7 +301,7 @@ table {
}
.btn-sign-in
{
margin-top
:
7
px
;
margin-top
:
15
px
;
text-shadow
:
none
;
}
...
...
app/assets/stylesheets/pages/projects.scss
浏览文件 @
b7427faa
...
...
@@ -259,17 +259,6 @@ pre.light-well {
margin-bottom
:
0px
;
border-top
:
1px
solid
#e7e9ed
;
border-bottom
:
1px
solid
#e7e9ed
;
.projects-list-filter
{
@include
input-big
;
padding
:
5px
18px
;
}
.btn
{
@include
btn-big
;
padding
:
5px
18px
;
}
}
/*
...
...
app/views/explore/projects/starred.html.haml
浏览文件 @
b7427faa
-
page_title
"Starred Projects"
-
if
current_user
=
render
'dashboard/projects_head'
.explore-trending-block
.lead
%i
.fa.fa-star
See most starred projects
.gray-content-block
.pull-right
=
render
'explore/projects/dropdown'
.oneline
%i
.fa.fa-star
See most starred projects
=
render
'projects'
,
projects:
@starred_projects
=
paginate
@starred_projects
,
theme:
'gitlab'
app/views/explore/projects/trending.html.haml
浏览文件 @
b7427faa
-
page_title
"Trending Projects"
-
if
current_user
=
render
'dashboard/projects_head'
.gray-content-block.explore-title
%h3
Explore GitLab
%p
.lead
Discover projects and groups. Share your projects with others
-
else
.explore-title
%h3
Explore GitLab
%p
.lead
Discover projects and groups. Share your projects with others
%br
.explore-trending-block
.lead
%i
.fa.fa-comments-o
See most discussed projects for last month
.gray-content-block
.pull-right
=
render
'explore/projects/dropdown'
.oneline
%i
.fa.fa-comments-o
See most discussed projects for last month
=
render
'projects'
,
projects:
@trending_projects
app/views/layouts/header/_public.html.haml
浏览文件 @
b7427faa
...
...
@@ -3,7 +3,7 @@
.header-content
-
unless
current_controller?
(
'sessions'
)
.pull-right
=
link_to
"Sign in"
,
new_session_path
(
:user
,
redirect_to_referer:
'yes'
),
class:
'btn btn-sign-in btn-success
btn-sm
'
=
link_to
"Sign in"
,
new_session_path
(
:user
,
redirect_to_referer:
'yes'
),
class:
'btn btn-sign-in btn-success'
%h1
.title
=
title
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录