Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
f912650d
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,体验更适合开发者的 AI 搜索 >>
未验证
提交
f912650d
编写于
4月 24, 2015
作者:
D
Dmitriy Zaporozhets
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Improve mobile UI for dashboard and project pages
Signed-off-by:
N
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
上级
6ae606d8
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
68 addition
and
32 deletion
+68
-32
CHANGELOG
CHANGELOG
+1
-0
app/assets/stylesheets/generic/mobile.scss
app/assets/stylesheets/generic/mobile.scss
+33
-0
app/views/dashboard/_activities.html.haml
app/views/dashboard/_activities.html.haml
+11
-10
app/views/groups/show.html.haml
app/views/groups/show.html.haml
+11
-10
app/views/projects/show.html.haml
app/views/projects/show.html.haml
+12
-12
未找到文件。
CHANGELOG
浏览文件 @
f912650d
...
...
@@ -21,6 +21,7 @@ v 7.11.0 (unreleased)
- Improve UI for sidebar. Increase separation between navigation and content
- Improve new project command options (Ben Bodenmiller)
- Prevent sending empty messages to HipChat (Chulki Lee)
- Improve UI for mobile phones on dashboard and project pages
v 7.10.0 (unreleased)
- Ignore submodules that are defined in .gitmodules but are checked in as directories.
...
...
app/assets/stylesheets/generic/mobile.scss
浏览文件 @
f912650d
...
...
@@ -4,6 +4,11 @@
margin-top
:
20px
;
}
.container-fluid
{
padding-left
:
5px
;
padding-right
:
5px
;
}
.nav.nav-tabs
>
li
>
a
{
padding
:
10px
;
font-size
:
12px
;
...
...
@@ -27,6 +32,34 @@
.project-home-links
{
display
:
none
;
}
.project-avatar
{
display
:
none
;
}
.project-home-panel
{
padding-left
:
0
!
important
;
.project-home-row
{
.project-home-desc
{
margin-right
:
0
!
important
;
float
:
none
!
important
;
}
.project-repo-buttons
{
position
:
static
;
margin-top
:
15px
;
width
:
100%
;
float
:
none
;
text-align
:
left
;
}
}
}
.navbar-inner
.title
{
margin-left
:
6px
!
important
;
max-width
:
70%
!
important
;
}
}
@media
(
max-width
:
$screen-sm-max
)
{
...
...
app/views/dashboard/_activities.html.haml
浏览文件 @
f912650d
=
render
"events/event_last_push"
,
event:
@last_push
.hidden-xs
=
render
"events/event_last_push"
,
event:
@last_push
-
if
current_user
%ul
.nav.nav-pills.event_filter.pull-right
%li
.pull-right
=
link_to
dashboard_path
(
:atom
,
{
private_token:
current_user
.
private_token
}),
class:
'rss-btn'
do
%i
.fa.fa-rss
Activity Feed
=
render
'shared/event_filter'
%hr
-
if
current_user
%ul
.nav.nav-pills.event_filter.pull-right
%li
.pull-right
=
link_to
dashboard_path
(
:atom
,
{
private_token:
current_user
.
private_token
}),
class:
'rss-btn'
do
%i
.fa.fa-rss
Activity Feed
=
render
'shared/event_filter'
%hr
.content_list
=
spinner
app/views/groups/show.html.haml
浏览文件 @
f912650d
...
...
@@ -15,18 +15,19 @@
%hr
.row
%section
.activities.col-md-8
-
if
current_user
=
render
"events/event_last_push"
,
event:
@last_push
.hidden-xs
-
if
current_user
%ul
.nav.nav-pills.event_filter.pull-right
%li
=
link_to
group_path
(
@group
,
{
format: :atom
,
private_token:
current_user
.
private_token
}),
title:
"Feed"
,
class:
'rss-btn'
do
%i
.fa.fa-rss
Activity Feed
=
render
"events/event_last_push"
,
event:
@last_push
-
if
current_user
%ul
.nav.nav-pills.event_filter.pull-right
%li
=
link_to
group_path
(
@group
,
{
format: :atom
,
private_token:
current_user
.
private_token
}),
title:
"Feed"
,
class:
'rss-btn'
do
%i
.fa.fa-rss
Activity Feed
=
render
'shared/event_filter'
%hr
=
render
'shared/event_filter'
%hr
.content_list
=
spinner
...
...
app/views/projects/show.html.haml
浏览文件 @
f912650d
...
...
@@ -7,7 +7,6 @@
=
render
'shared/no_password'
=
render
"home_panel"
%ul
.nav.nav-tabs
%li
.active
=
link_to
'#tab-activity'
,
'data-toggle'
=>
'tab'
do
...
...
@@ -17,11 +16,11 @@
=
link_to
'#tab-readme'
,
'data-toggle'
=>
'tab'
do
Readme
-
if
@repository
.
changelog
%li
%li
.hidden-xs
=
link_to
changelog_url
(
@project
)
do
Changelog
-
if
@repository
.
contribution_guide
%li
%li
.hidden-xs
=
link_to
contribution_guide_url
(
@project
)
do
Contribution guide
-
if
@repository
.
license
...
...
@@ -42,17 +41,18 @@
=
link_to
'#aside'
,
class:
'show-aside'
do
%i
.fa.fa-angle-left
%section
.col-md-9
=
render
"events/event_last_push"
,
event:
@last_push
.hidden-xs
=
render
"events/event_last_push"
,
event:
@last_push
-
if
current_user
%ul
.nav.nav-pills.event_filter.pull-right
%li
=
link_to
namespace_project_path
(
@project
.
namespace
,
@project
,
format: :atom
,
private_token:
current_user
.
private_token
),
title:
"Feed"
,
class:
'rss-btn'
do
%i
.fa.fa-rss
Activity Feed
-
if
current_user
%ul
.nav.nav-pills.event_filter.pull-right
%li
=
link_to
namespace_project_path
(
@project
.
namespace
,
@project
,
format: :atom
,
private_token:
current_user
.
private_token
),
title:
"Feed"
,
class:
'rss-btn'
do
%i
.fa.fa-rss
Activity Feed
=
render
'shared/event_filter'
%hr
=
render
'shared/event_filter'
%hr
.content_list
=
spinner
%aside
.col-md-3.project-side
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录