Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
野花太放肆
jenkins
提交
937315a2
J
jenkins
项目概览
野花太放肆
/
jenkins
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
J
jenkins
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
937315a2
编写于
4月 19, 2013
作者:
K
Kohsuke Kawaguchi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Delete button will highlight what it is going to delete
上级
d74ef278
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
22 addition
and
7 deletion
+22
-7
changelog.html
changelog.html
+2
-0
core/src/main/resources/lib/form/repeatable/repeatable.js
core/src/main/resources/lib/form/repeatable/repeatable.js
+10
-2
war/src/main/webapp/css/style.css
war/src/main/webapp/css/style.css
+8
-5
war/src/main/webapp/scripts/hudson-behavior.js
war/src/main/webapp/scripts/hudson-behavior.js
+2
-0
未找到文件。
changelog.html
浏览文件 @
937315a2
...
...
@@ -57,6 +57,8 @@ Upcoming changes</a>
<ul
class=
image
>
<li
class=
rfe
>
Slave status monitor page shows when the data is last obtained
<li
class=
rfe
>
Delete button to highlight what it is going to delete.
<li
class=
rfe
>
Breadcrumb is reworked to show descendants to provide additional navigational shortcuts.
(
<a
href=
"https://wiki.jenkins-ci.org/display/JENKINS/FOSDEM+UI+Enhancement+discussion+notes+2013"
>
discussion
</a>
)
...
...
core/src/main/resources/lib/form/repeatable/repeatable.js
浏览文件 @
937315a2
...
...
@@ -119,10 +119,18 @@ Behaviour.specify("INPUT.repeatable-add", 'repeatable', 0, function(e) {
});
Behaviour
.
specify
(
"
INPUT.repeatable-delete
"
,
'
repeatable
'
,
0
,
function
(
e
)
{
makeButton
(
e
,
function
(
e
)
{
var
b
=
makeButton
(
e
,
function
(
e
)
{
repeatableSupport
.
onDelete
(
e
.
target
);
});
e
=
null
;
// avoid memory leak
var
be
=
$
(
b
.
get
(
"
element
"
));
be
.
on
(
"
mouseover
"
,
function
()
{
$
(
this
).
up
(
"
.repeated-chunk
"
).
addClassName
(
"
hover
"
);
});
be
.
on
(
"
mouseout
"
,
function
()
{
$
(
this
).
up
(
"
.repeated-chunk
"
).
removeClassName
(
"
hover
"
);
});
e
=
be
=
null
;
// avoid memory leak
});
// radio buttons in repeatable content
...
...
war/src/main/webapp/css/style.css
浏览文件 @
937315a2
...
...
@@ -808,6 +808,14 @@ TABLE.fingerprint-in-build TD {
/* ========================= repeatable elements ========================= */
.repeated-chunk
{
border
:
2px
dashed
transparent
;
}
.repeated-chunk.hover
{
border-color
:
#CCC
;
}
.repeated-chunk
.show-if-last
{
visibility
:
hidden
;
}
.repeated-chunk.last
.show-if-last
{
visibility
:
visible
;
}
...
...
@@ -966,12 +974,7 @@ TEXTAREA.rich-editor {
padding-left
:
20px
;
}
.hetero-list-container.with-drag-drop
.repeated-chunk.hover
{
border
:
2px
dashed
#CCC
;
}
.hetero-list-container.with-drag-drop
.repeated-chunk
{
border
:
2px
dashed
transparent
;
padding
:
0.5em
;
margin-top
:
0.5em
;
margin-bottom
:
0.5em
;
...
...
war/src/main/webapp/scripts/hudson-behavior.js
浏览文件 @
937315a2
...
...
@@ -470,6 +470,8 @@ function registerRegexpValidator(e,regexp,message) {
* button element
* @param onclick
* onclick handler
* @return
* YUI Button widget.
*/
function
makeButton
(
e
,
onclick
)
{
var
h
=
e
.
onclick
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录