Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
13207310
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,发现更多精彩内容 >>
提交
13207310
编写于
5月 12, 2017
作者:
K
Kushal Pandya
提交者:
Phil Hughes
5月 12, 2017
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix accessibility issues for Input fields across GitLab
上级
f99e8c07
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
9 addition
and
6 deletion
+9
-6
app/helpers/button_helper.rb
app/helpers/button_helper.rb
+4
-1
app/views/layouts/_search.html.haml
app/views/layouts/_search.html.haml
+1
-1
app/views/projects/edit.html.haml
app/views/projects/edit.html.haml
+2
-2
app/views/projects/new.html.haml
app/views/projects/new.html.haml
+1
-1
app/views/shared/_clone_panel.html.haml
app/views/shared/_clone_panel.html.haml
+1
-1
未找到文件。
app/helpers/button_helper.rb
浏览文件 @
13207310
...
...
@@ -42,7 +42,10 @@ module ButtonHelper
class:
"btn
#{
css_class
}
"
,
data:
data
,
type: :button
,
title:
title
title:
title
,
aria:
{
label:
title
}
end
def
http_clone_button
(
project
,
placement
=
'right'
,
append_link:
true
)
...
...
app/views/layouts/_search.html.haml
浏览文件 @
13207310
...
...
@@ -13,7 +13,7 @@
.location-badge
=
label
.search-input-wrap
.dropdown
{
data:
{
url:
search_autocomplete_path
}
}
=
search_field_tag
'search'
,
nil
,
placeholder:
'Search'
,
class:
'search-input dropdown-menu-toggle no-outline js-search-dashboard-options'
,
spellcheck:
false
,
tabindex:
'1'
,
autocomplete:
'off'
,
data:
{
toggle:
'dropdown'
,
issues_path:
issues_dashboard_url
,
mr_path:
merge_requests_dashboard_url
}
=
search_field_tag
'search'
,
nil
,
placeholder:
'Search'
,
class:
'search-input dropdown-menu-toggle no-outline js-search-dashboard-options'
,
spellcheck:
false
,
tabindex:
'1'
,
autocomplete:
'off'
,
data:
{
toggle:
'dropdown'
,
issues_path:
issues_dashboard_url
,
mr_path:
merge_requests_dashboard_url
}
,
aria:
{
label:
'Search'
}
.dropdown-menu.dropdown-select
=
dropdown_content
do
%ul
...
...
app/views/projects/edit.html.haml
浏览文件 @
13207310
...
...
@@ -40,8 +40,8 @@
.form_group.prepend-top-20.sharing-and-permissions
.row.js-visibility-select
.col-md-9
%label
.label-light
=
label_tag
:project_visibility
,
'Project Visibility'
,
class:
'label-light'
.label-light
=
label_tag
:project_visibility
,
'Project Visibility'
,
class:
'label-light'
,
for: :project_visibility_level
=
link_to
"(?)"
,
help_page_path
(
"public_access/public_access"
)
%span
.help-block
.col-md-3.visibility-select-container
...
...
app/views/projects/new.html.haml
浏览文件 @
13207310
...
...
@@ -30,7 +30,7 @@
#{
root_url
}#{
current_user
.
username
}
/
=
f
.
hidden_field
:namespace_id
,
value:
current_user
.
namespace_id
.form-group.col-xs-12.col-sm-6.project-path
=
f
.
label
:
namespace_id
,
class:
'label-light'
do
=
f
.
label
:
path
,
class:
'label-light'
do
%span
Project name
=
f
.
text_field
:path
,
placeholder:
"my-awesome-project"
,
class:
"form-control"
,
tabindex:
2
,
autofocus:
true
,
required:
true
...
...
app/views/shared/_clone_panel.html.haml
浏览文件 @
13207310
...
...
@@ -17,7 +17,7 @@
%li
=
http_clone_button
(
project
)
=
text_field_tag
:project_clone
,
default_url_to_repo
(
project
),
class:
"js-select-on-focus form-control"
,
readonly:
true
=
text_field_tag
:project_clone
,
default_url_to_repo
(
project
),
class:
"js-select-on-focus form-control"
,
readonly:
true
,
aria:
{
label:
'Project clone URL'
}
.input-group-btn
=
clipboard_button
(
target:
'#project_clone'
,
title:
"Copy URL to clipboard"
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录