Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
LinuxSuRen
jenkins
提交
f0714788
J
jenkins
项目概览
LinuxSuRen
/
jenkins
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
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,发现更多精彩内容 >>
提交
f0714788
编写于
3月 30, 2016
作者:
R
recena
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[JENKINS-33755] Added border in default icons
上级
e74075ef
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
10 addition
and
11 deletion
+10
-11
core/src/main/resources/hudson/model/View/newJob.jelly
core/src/main/resources/hudson/model/View/newJob.jelly
+1
-1
war/src/main/js/add-item.js
war/src/main/js/add-item.js
+4
-5
war/src/main/js/widgets/add/addform.less
war/src/main/js/widgets/add/addform.less
+5
-5
未找到文件。
core/src/main/resources/hudson/model/View/newJob.jelly
浏览文件 @
f0714788
...
...
@@ -40,7 +40,7 @@ THE SOFTWARE.
<input name="name" id="name" placeholder="New item name..." type="text" />
<div class="input-help">» ${%ItemName.help}</div>
<div id="itemname-required" class="input-validation-message input-message-disabled">» ${%ItemName.validation.required}</div>
<div id="itemname-invalid" class="input-validation-message input-message-disabled">
»
</div>
<div id="itemname-invalid" class="input-validation-message input-message-disabled"></div>
<div id="itemtype-required" class="input-validation-message input-message-disabled">» ${%ItemType.validation.required}</div>
</div>
</div>
...
...
war/src/main/js/add-item.js
浏览文件 @
f0714788
...
...
@@ -16,9 +16,6 @@ var jRoot = $('head').attr('data-rooturl');
$
.
when
(
getItems
()).
done
(
function
(
data
){
$
(
function
()
{
// The main panel content is hidden by default via an inline style. We're ready to remove that now.
$
(
'
#add-item-panel
'
).
removeAttr
(
'
style
'
);
//////////////////////////
// helper functions...
...
...
@@ -66,7 +63,7 @@ $.when(getItems()).done(function(data){
function
activateValidationMessage
(
messageId
,
context
,
message
)
{
if
(
message
!==
undefined
&&
message
!==
''
)
{
$
(
messageId
,
context
).
text
(
message
);
$
(
messageId
,
context
).
html
(
'
»
'
+
message
);
}
cleanValidationMessages
(
context
);
hideInputHelp
(
context
);
...
...
@@ -153,6 +150,9 @@ $.when(getItems()).done(function(data){
return
$icn
;
}
// The main panel content is hidden by default via an inline style. We're ready to remove that now.
$
(
'
#add-item-panel
'
).
removeAttr
(
'
style
'
);
// Render all categories
var
$categories
=
$
(
'
div.categories
'
);
$
.
each
(
data
.
categories
,
function
(
i
,
elem
)
{
...
...
@@ -162,7 +162,6 @@ $.when(getItems()).done(function(data){
// Focus
$
(
"
#add-item-panel
"
).
find
(
"
#name
"
).
focus
();
// Init NameField
$
(
'
input[name="name"]
'
,
'
#createItem
'
).
blur
(
function
()
{
if
(
!
isItemNameEmpty
())
{
...
...
war/src/main/js/widgets/add/addform.less
浏览文件 @
f0714788
...
...
@@ -166,7 +166,7 @@
}
.c-D33833 {
border
-color:
#900;
border
: 1px solid
#900;
box-shadow:
inset #900 0 0 1px,
inset #fff 0 0 0 1px,
...
...
@@ -176,7 +176,7 @@
}
.c-6D6B6D {
border
-color:
#000;
border
: 1px solid
#000;
box-shadow:
inset #333 0 0 1px,
inset #fff 0 0 0 1px,
...
...
@@ -186,7 +186,7 @@
}
.c-335061 {
border
-color:
#356;
border
: 1px solid
#356;
box-shadow:
inset #024 0 0 1px,
inset #fff 0 0 0 1px,
...
...
@@ -196,7 +196,7 @@
}
.c-49728B {
border
-color:
#036;
border
: 1px solid
#036;
box-shadow:
inset #036 0 0 1px,
inset #fff 0 0 0 1px,
...
...
@@ -206,7 +206,7 @@
}
.c-6699CC {
border
-color:
#6699cc;
border
: 1px solid
#6699cc;
box-shadow:
inset #003399 0 0 1px,
inset #ffffff 0 0 0 1px,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录