Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
jenkins
提交
2ee47a19
J
jenkins
项目概览
xxadev
/
jenkins
与 Fork 源项目一致
从无法访问的项目Fork
通知
3
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,发现更多精彩内容 >>
提交
2ee47a19
编写于
3月 02, 2016
作者:
G
gusreiber
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fixing less variables for scrollspy
上级
daa52d7f
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
31 addition
and
5 deletion
+31
-5
core/src/main/resources/hudson/model/Job/configure.jelly
core/src/main/resources/hudson/model/Job/configure.jelly
+1
-2
core/src/main/resources/lib/layout/layout.jelly
core/src/main/resources/lib/layout/layout.jelly
+11
-2
war/src/main/js/config-tabbar.js
war/src/main/js/config-tabbar.js
+1
-0
war/src/main/js/widgets/variables.less
war/src/main/js/widgets/variables.less
+18
-1
未找到文件。
core/src/main/resources/hudson/model/Job/configure.jelly
浏览文件 @
2ee47a19
...
...
@@ -27,13 +27,12 @@ THE SOFTWARE.
-->
<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form" xmlns:i="jelly:fmt">
<l:layout title="${it.displayName} Config" norefresh="true" permission="${it.EXTENDED_READ}">
<l:layout title="${it.displayName} Config"
cssClass="config j-hide-left"
norefresh="true" permission="${it.EXTENDED_READ}">
<st:include page="sidepanel.jelly" />
<f:breadcrumb-config-outline />
<l:main-panel>
<l:js src="jsbundles/config-tabbar.js" />
<l:css src="jsbundles/jenkins-widgets.css" />
<div class="behavior-loading">${%LOADING}</div>
<f:form method="post" action="configSubmit" name="config" tableClass="job-config tabbed">
<j:set var="descriptor" value="${it.descriptor}" />
...
...
core/src/main/resources/lib/layout/layout.jelly
浏览文件 @
2ee47a19
...
...
@@ -37,6 +37,9 @@ THE SOFTWARE.
If non-null and not "false", auto refresh is disabled on this page.
This is necessary for pages that include forms.
</st:attribute>
<st:attribute
name=
"cssclass"
deprecated=
"true"
>
specify a css class name to include in the top level of this layout dom.
</st:attribute>
<st:attribute
name=
"css"
deprecated=
"true"
>
specify path that starts from "/" for loading additional CSS stylesheet.
path is interprted as relative to the context root. e.g.,
...
...
@@ -96,7 +99,13 @@ ${h.initPageVariables(context)}
</j:if>
<link
rel=
"shortcut icon"
href=
"${resURL}/favicon.ico"
type=
"image/vnd.microsoft.icon"
/>
<link
rel=
"mask-icon"
href=
"${rootURL}/images/mask-icon.svg"
color=
"black"
/>
<!-- should the sidebar be hidden on load? -->
<style>
body
.j-hide-left
#side-panel
{
width
:
0
;
padding
:
0
;
overflow
:
hidden
;}
body
.j-hide-left
#main-panel
{
margin
:
0
auto
;
max-width
:
900px
;}
</style>
<!-- are we running as an unit test? -->
<script>
var
isRunAsTest
=
$
{
h
.
isUnitTest
};
var
rootURL
=
"
${rootURL}
"
;
var
resURL
=
"
${resURL}
"
;
</script>
...
...
@@ -169,7 +178,7 @@ ${h.initPageVariables(context)}
<
script
src
=
"
${resURL}/jsbundles/page-init.js
"
type
=
"
text/javascript
"
/>
<
/head
>
<
body
id
=
"
jenkins
"
class
=
"
yui-skin-sam jenkins-${h.version}
"
data
-
version
=
"
jenkins-${h.version}
"
data
-
model
-
type
=
"
${it.class.name}
"
>
<
body
id
=
"
jenkins
"
class
=
"
yui-skin-sam jenkins-${h.version}
${attrs.cssClass}
"
data
-
version
=
"
jenkins-${h.version}
"
data
-
model
-
type
=
"
${it.class.name}
"
>
<!--
for
accessibility
,
skip
the
entire
navigation
bar
and
etc
and
go
straight
to
the
head
of
the
content
-->
<
a
href
=
"
#skip2content
"
class
=
"
skiplink
"
>
Skip
to
content
<
/a
>
...
...
war/src/main/js/config-tabbar.js
浏览文件 @
2ee47a19
...
...
@@ -2,6 +2,7 @@ var $ = require('jquery-detached').getJQuery();
var
jenkinsLocalStorage
=
require
(
'
./util/jenkinsLocalStorage.js
'
);
var
configMetadata
=
require
(
'
./widgets/config/model/ConfigTableMetaData.js
'
);
$
(
'
body
'
).
addClass
(
'
config
'
);
$
(
function
()
{
// Horrible ugly hack...
// We need to use Behaviour.js to wait until after radioBlock.js Behaviour.js rules
...
...
war/src/main/js/widgets/variables.less
浏览文件 @
2ee47a19
@brightest:#fff;
@bright:#f9f9f9;
@medium-translucent: rgba(255,255,255,.75);
@pale-green-trans:rgba(245, 249, 239,.75);
@j-pale-blue:#C0D8E2;
@shade-hint: rgba(0,0,0,.025);
@shade: rgba(0,0,0,.1);
...
...
@@ -15,4 +19,17 @@
@danger-dark-line:#942e22;
@input-line-height:2.25em;
@radius:3px;
\ No newline at end of file
@radius:3px;
@light-backgrond: #eee;
@solid-border: #ccc;
@radius:3px;
@line-blue: #69c;
@line-green: #acb;
@danger: #d24939;
@danger-line:#be3a2b;
@danger-dark:#a23225;
@danger-dark-line:#942e22;
@input-line-height:2.25em;
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录