Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
62cd17bb
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,发现更多精彩内容 >>
提交
62cd17bb
编写于
9月 20, 2016
作者:
J
James Lopez
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fixes CSS issues and namespace path issue. Also tested in different browsers.
上级
13e81898
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
16 addition
and
6 deletion
+16
-6
app/assets/stylesheets/pages/projects.scss
app/assets/stylesheets/pages/projects.scss
+10
-0
app/views/import/github/status.html.haml
app/views/import/github/status.html.haml
+6
-6
未找到文件。
app/assets/stylesheets/pages/projects.scss
浏览文件 @
62cd17bb
...
...
@@ -769,4 +769,14 @@ pre.light-well {
display
:
block
;
}
}
}
.project-path
{
#path
.form-control
{
min-width
:
100px
;
}
.select2-choice
{
border-top-right-radius
:
0
;
border-bottom-right-radius
:
0
;
}
}
\ No newline at end of file
app/views/import/github/status.html.haml
浏览文件 @
62cd17bb
...
...
@@ -46,16 +46,16 @@
=
github_project_link
(
repo
.
full_name
)
%td
.import-target
%fieldset
.row
.input-group
.col-sm-8
.input-group
.project-path.input-group-btn
-
if
false
-
if
current_user
.
can_select_namespace?
-
selected
=
params
[
:namespace_id
]
||
:current_user
-
opts
=
current_user
.
can_create_group?
?
{
extra_group:
Group
.
new
(
name:
repo
.
owner
.
login
)
}
:
{
display_path:
true
}
=
select_tag
:namespace_id
,
namespaces_options
(
selected
,
opts
),
{
class:
'select2 js-select-namespace'
,
tabindex:
1
}
-
opts
=
current_user
.
can_create_group?
?
{
extra_group:
Group
.
new
(
name:
repo
.
owner
.
login
,
path:
repo
.
owner
.
login
)
}:
{
}
=
select_tag
:namespace_id
,
namespaces_options
(
selected
,
opts
.
merge
({
display_path:
true
})
),
{
class:
'select2 js-select-namespace'
,
tabindex:
1
}
-
else
=
text_field_tag
:path
,
current_user
.
namespace_path
,
class:
"
form-control"
,
tabindex:
1
,
autofocus:
true
,
disabled:
true
=
text_field_tag
:path
,
current_user
.
namespace_path
,
class:
"
input-large form-control"
,
tabindex:
1
,
disabled:
true
%span
.input-group-addon
/
=
text_field_tag
:path
,
repo
.
name
,
class:
"form-control"
,
tabindex:
2
,
autofocus:
true
,
required:
true
=
text_field_tag
:path
,
repo
.
name
,
class:
"
input-mini
form-control"
,
tabindex:
2
,
autofocus:
true
,
required:
true
%td
.import-actions.job-status
=
button_tag
class:
"btn btn-import js-add-to-import"
do
Import
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录