Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
705521f3
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,发现更多精彩内容 >>
提交
705521f3
编写于
1月 30, 2014
作者:
D
Dmitriy Zaporozhets
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'ui_fixes' into 'master'
UI Fixes
上级
b4662179
d5e8fcb3
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
23 addition
and
16 deletion
+23
-16
app/assets/stylesheets/generic/typography.scss
app/assets/stylesheets/generic/typography.scss
+0
-3
app/assets/stylesheets/highlight/dark.scss
app/assets/stylesheets/highlight/dark.scss
+4
-0
app/assets/stylesheets/highlight/monokai.scss
app/assets/stylesheets/highlight/monokai.scss
+4
-0
app/assets/stylesheets/highlight/solarized_dark.scss
app/assets/stylesheets/highlight/solarized_dark.scss
+4
-0
app/assets/stylesheets/sections/issues.scss
app/assets/stylesheets/sections/issues.scss
+0
-2
app/assets/stylesheets/sections/notes.scss
app/assets/stylesheets/sections/notes.scss
+1
-1
app/views/projects/protected_branches/index.html.haml
app/views/projects/protected_branches/index.html.haml
+7
-7
app/views/search/results/_blob.html.haml
app/views/search/results/_blob.html.haml
+1
-2
app/views/shared/_file_hljs.html.haml
app/views/shared/_file_hljs.html.haml
+2
-1
未找到文件。
app/assets/stylesheets/generic/typography.scss
浏览文件 @
705521f3
...
...
@@ -90,9 +90,6 @@ a:focus {
font-size
:
14px
;
line-height
:
1
.6
;
.white
.highlight
pre
{
background
:
#f5f5f5
;
}
ul
{
padding
:
0
;
margin
:
0
0
9px
25px
!
important
;
...
...
app/assets/stylesheets/highlight/dark.scss
浏览文件 @
705521f3
...
...
@@ -9,6 +9,10 @@
border-left
:
1px
solid
#444
;
}
.no-highlight
{
color
:
#DDD
;
}
.line-numbers
a
{
color
:
#666
;
}
...
...
app/assets/stylesheets/highlight/monokai.scss
浏览文件 @
705521f3
...
...
@@ -9,6 +9,10 @@
background
:
#558
;
}
.no-highlight
{
color
:
#DDD
;
}
.line-numbers
a
{
color
:
#666
;
}
...
...
app/assets/stylesheets/highlight/solarized_dark.scss
浏览文件 @
705521f3
...
...
@@ -9,6 +9,10 @@
background
:
#000
;
}
.no-highlight
{
color
:
#DDD
;
}
pre
{
background-color
:
#002B36
;
color
:
#eee
;
...
...
app/assets/stylesheets/sections/issues.scss
浏览文件 @
705521f3
...
...
@@ -60,7 +60,6 @@ input.check_all_issues {
.btn.close_issue
{
color
:
#B94A48
;
font-weight
:
bold
;
@include
shade
;
&
:hover
{
color
:
#B94A48
;
}
...
...
@@ -68,7 +67,6 @@ input.check_all_issues {
.btn.reopen_issue
{
color
:
#468847
;
font-weight
:
bold
;
@include
shade
;
&
:hover
{
color
:
#468847
;
}
...
...
app/assets/stylesheets/sections/notes.scss
浏览文件 @
705521f3
...
...
@@ -337,7 +337,7 @@ ul.notes {
box-shadow
:
none
;
font-size
:
14px
;
height
:
80px
;
width
:
98
.6
%
;
width
:
100
%
;
}
.form-actions
{
...
...
app/views/projects/protected_branches/index.html.haml
浏览文件 @
705521f3
...
...
@@ -3,7 +3,7 @@
.col-md-3
=
render
"projects/branches/filter"
.col-md-9
.
alert.aler
t-info
.
bs-callout.bs-callou
t-info
%p
Protected branches designed to prevent push for all except
#{
link_to
"masters"
,
help_permissions_path
,
class:
"vlink"
}
.
%p
This ability allows:
%ul
...
...
@@ -12,18 +12,18 @@
%p
Read more about project permissions
#{
link_to
"here"
,
help_permissions_path
,
class:
"underlined_link"
}
-
if
can?
current_user
,
:admin_project
,
@project
=
form_for
[
@project
,
@protected_branch
]
do
|
f
|
=
form_for
[
@project
,
@protected_branch
]
,
html:
{
class:
'form-horizontal'
}
do
|
f
|
-
if
@protected_branch
.
errors
.
any?
.alert.alert-danger
%ul
-
@protected_branch
.
errors
.
full_messages
.
each
do
|
msg
|
%li
=
msg
.
entry.clearfix
=
f
.
label
:name
,
"Branch"
.col-
md-3
=
f
.
select
(
:name
,
@project
.
open_branches
.
map
{
|
br
|
[
br
.
name
,
br
.
name
]
}
,
{
include_blank:
"Select branch"
},
{
class:
"select2
span3
"
})
.
form-group
=
f
.
label
:name
,
"Branch"
,
class:
'control-label'
.col-
sm-10
=
f
.
select
(
:name
,
@project
.
open_branches
.
map
{
|
br
|
[
br
.
name
,
br
.
name
]
}
,
{
include_blank:
"Select branch"
},
{
class:
"select2"
})
.form-actions
=
f
.
submit
'Protect'
,
class:
"btn-create btn"
-
unless
@branches
.
empty?
%h5
Already Protected:
...
...
app/views/search/results/_blob.html.haml
浏览文件 @
705521f3
...
...
@@ -6,5 +6,4 @@
%strong
=
blob
.
filename
.file-content.code.term
%div
{
class:
user_color_scheme_class
}
=
raw
blob
.
colorize
(
formatter: :gitlab
,
options:
{
first_line_number:
blob
.
startline
}
)
=
render
'shared/file_hljs'
,
blob:
blob
,
first_line_number:
blob
.
startline
app/views/shared/_file_hljs.html.haml
浏览文件 @
705521f3
%div
.highlighted-data
{
class:
user_color_scheme_class
}
.line-numbers
-
blob
.
data
.
lines
.
size
.
times
do
|
index
|
-
i
=
index
+
1
-
offset
=
defined?
(
first_line_number
)
?
first_line_number
:
1
-
i
=
index
+
offset
=
link_to
"#L
#{
i
}
"
,
id:
"L
#{
i
}
"
,
rel:
"#L
#{
i
}
"
do
%i
.icon-link
=
i
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录