Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
05da3801
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,发现更多精彩内容 >>
提交
05da3801
编写于
8月 16, 2012
作者:
D
Dmitriy Zaporozhets
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Restyled erros pages & avatar class
上级
17948951
变更
14
显示空白变更内容
内联
并排
Showing
14 changed file
with
231 addition
and
234 deletion
+231
-234
app/assets/stylesheets/common.scss
app/assets/stylesheets/common.scss
+13
-7
app/assets/stylesheets/gitlab_bootstrap.scss
app/assets/stylesheets/gitlab_bootstrap.scss
+138
-140
app/assets/stylesheets/sections/header.scss
app/assets/stylesheets/sections/header.scss
+19
-19
app/assets/stylesheets/themes/ui_basic.scss
app/assets/stylesheets/themes/ui_basic.scss
+5
-5
app/assets/stylesheets/themes/ui_mars.scss
app/assets/stylesheets/themes/ui_mars.scss
+12
-12
app/assets/stylesheets/themes/ui_modern.scss
app/assets/stylesheets/themes/ui_modern.scss
+2
-1
app/views/errors/access_denied.html.haml
app/views/errors/access_denied.html.haml
+4
-5
app/views/errors/git_not_found.html.haml
app/views/errors/git_not_found.html.haml
+5
-9
app/views/errors/gitolite.html.haml
app/views/errors/gitolite.html.haml
+24
-26
app/views/errors/not_found.html.haml
app/views/errors/not_found.html.haml
+4
-5
app/views/layouts/error.html.haml
app/views/layouts/error.html.haml
+2
-2
public/404.html
public/404.html
+1
-1
public/422.html
public/422.html
+1
-1
public/500.html
public/500.html
+1
-1
未找到文件。
app/assets/stylesheets/common.scss
浏览文件 @
05da3801
...
...
@@ -249,7 +249,7 @@ ul.bordered-list li:last-child { border:none }
li
.commit
{
.avatar
{
width
:
24px
;
top
:
-
3
px
;
top
:
-
5
px
;
margin-right
:
10px
;
margin-left
:
10px
;
}
...
...
@@ -305,12 +305,7 @@ p.time {
}
.styled_image
{
-webkit-border-radius
:
4px
;
-moz-border-radius
:
4px
;
border-radius
:
4px
;
-moz-box-shadow
:
0
0
5px
#888
;
-webkit-box-shadow
:
0
0
5px
#888
;
box-shadow
:
0
0
5px
#888
;
border
:
2px
solid
#ddd
;
}
.event_feed
{
...
...
@@ -729,3 +724,14 @@ li.note {
}
}
}
.git_error_tips
{
@extend
.span6
;
text-align
:left
;
margin-top
:
40px
;
pre
{
background
:white
;
border
:none
;
font-size
:
12px
;
}
}
app/assets/stylesheets/gitlab_bootstrap.scss
浏览文件 @
05da3801
...
...
@@ -325,9 +325,7 @@ img.avatar {
float
:left
;
margin-right
:
15px
;
width
:
40px
;
-webkit-border-radius
:
4px
;
-moz-border-radius
:
4px
;
border-radius
:
4px
;
border
:
2px
solid
#ddd
;
&
.s16
{
width
:
16px
;
...
...
app/assets/stylesheets/sections/header.scss
浏览文件 @
05da3801
...
...
@@ -96,7 +96,7 @@ header {
*/
.search
{
float
:
right
;
margin-right
:
50
px
;
margin-right
:
45
px
;
.search-input
{
@extend
.span2
;
...
...
@@ -125,13 +125,13 @@ header {
display
:
block
;
cursor
:
pointer
;
img
{
border-radius
:
4px
;
@include
border-radius
(
4px
)
;
right
:
5px
;
position
:
absolute
;
width
:
31
px
;
height
:
31
px
;
width
:
28
px
;
height
:
28
px
;
display
:
block
;
top
:
0
;
top
:
2px
;
&
:after
{
content
:
" "
;
display
:
block
;
...
...
@@ -186,7 +186,7 @@ header {
width
:
100px
;
position
:
absolute
;
right
:
10px
;
top
:
4
6
px
;
top
:
4
2
px
;
margin-top
:
0
;
float
:
right
;
box-shadow
:
0
1px
1px
rgba
(
0
,
0
,
0
,
0
.2
);
...
...
app/assets/stylesheets/themes/ui_basic.scss
浏览文件 @
05da3801
app/assets/stylesheets/themes/ui_mars.scss
浏览文件 @
05da3801
...
...
@@ -41,7 +41,7 @@
}
.search
{
float
:
right
;
margin-right
:
5
5px
;
margin-right
:
4
5px
;
.search-input
{
border
:
1px
solid
rgba
(
0
,
0
,
0
,
0
.7
);
box-shadow
:
0
1px
0
rgba
(
255
,
255
,
255
,
0
.2
)
,
0
2px
2px
rgba
(
0
,
0
,
0
,
0
.4
)
inset
;
...
...
app/assets/stylesheets/themes/ui_modern.scss
浏览文件 @
05da3801
...
...
@@ -91,7 +91,7 @@
*/
.search
{
float
:
right
;
margin-right
:
5
5px
;
margin-right
:
4
5px
;
.search-input
{
border
:
1px
solid
rgba
(
0
,
0
,
0
,
0
.7
);
box-shadow
:
0
1px
0
rgba
(
255
,
255
,
255
,
0
.2
)
,
0
2px
2px
rgba
(
0
,
0
,
0
,
0
.4
)
inset
;
...
...
@@ -127,6 +127,7 @@
.account-box
{
top
:
6px
;
img
{
top
:
1px
;
right
:
5px
;
width
:
26px
;
height
:
26px
;
...
...
app/views/errors/access_denied.html.haml
浏览文件 @
05da3801
.alert-message.block-message.error
%h3
Access Denied
%hr
%p
Youre not allowed to access this page
%p
Read more about project permissions
#{
link_to
"here"
,
help_permissions_path
,
class:
"vlink"
}
%h1
Access Denied
%hr
%h2
You are not allowed to access this page
%p
Read more about project permissions
#{
link_to
"here"
,
help_permissions_path
,
class:
"vlink"
}
app/views/errors/git_not_found.html.haml
浏览文件 @
05da3801
.alert-message.block-message.error
%h3
Git Resource Not found
%hr
%p
Application cant get access to some
%span
.label
branch
or
%span
.label
commit
in your repository. Maybe it was moved
%h1
404
%hr
%h2
Git Resource Not found
%p
Application cant get access to some branch or commit in your repository. Maybe it was removed
app/views/errors/gitolite.html.haml
浏览文件 @
05da3801
.alert-message.block-message.e
rror
%h3
Gitolite Erro
r
%h4
Application cant get access to your gitolite system.
%h1
Git E
rror
%h
r
%h2
Application cant get access to your gitolite system.
%h4
Tips for Administrator:
%ul
.git_error_tips
%h4
Tips for Administrator:
%ol
%li
%p
Check git logs in admin area
...
...
app/views/errors/not_found.html.haml
浏览文件 @
05da3801
.alert-message.block-message.error
%h3
Not found
%hr
%p
Resource you were looking for doesn't exist.
%P
You may have mistyped the address or it was removed.
%h1
404
%hr
%h2
Resource you were looking for doesn't exist.
%p
You may have mistyped the address or the page may have moved.
app/views/layouts/error.html.haml
浏览文件 @
05da3801
...
...
@@ -6,5 +6,5 @@
=
render
"layouts/head_panel"
,
title:
""
.container
.content
%
br
%h3
=
yield
%
center
.padded.prepend-top-20
=
yield
public/404.html
浏览文件 @
05da3801
...
...
@@ -7,7 +7,7 @@
<body>
<h1>
404
</h1>
<div
class=
"alert-message block-message error"
>
<div>
<h2>
The page you were looking for doesn't exist.
</h2>
<p>
You may have mistyped the address or the page may have moved.
</p>
</div>
...
...
public/422.html
浏览文件 @
05da3801
...
...
@@ -8,7 +8,7 @@
<body>
<!-- This file lives in public/422.html -->
<h1>
422
</h1>
<div
class=
"alert-message block-message error"
>
<div>
<h2>
The change you wanted was rejected.
</h2>
<p>
Maybe you tried to change something you didn't have access to.
</p>
</div>
...
...
public/500.html
浏览文件 @
05da3801
...
...
@@ -8,7 +8,7 @@
<body>
<!-- This file lives in public/500.html -->
<h1>
500
</h1>
<div
class=
"alert-message block-message error"
>
<div>
<h2>
We're sorry, but something went wrong.
</h2>
<p>
We've been notified about this issue and we'll take a look at it shortly.
</p>
</div>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录