Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
roginluo
Jenkins
提交
a277b734
J
Jenkins
项目概览
roginluo
/
Jenkins
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
J
Jenkins
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
a277b734
编写于
7月 14, 2014
作者:
T
tfennelly
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[JENKINS-23492] Fixed auth/login links in top navbar
上级
65d3799f
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
16 addition
and
4 deletion
+16
-4
core/src/main/resources/lib/layout/breadcrumbs.css
core/src/main/resources/lib/layout/breadcrumbs.css
+3
-0
core/src/main/resources/lib/layout/breadcrumbs.js
core/src/main/resources/lib/layout/breadcrumbs.js
+8
-0
core/src/main/resources/lib/layout/layout.jelly
core/src/main/resources/lib/layout/layout.jelly
+1
-1
core/src/main/resources/lib/layout/menu_down_arrow2.png
core/src/main/resources/lib/layout/menu_down_arrow2.png
+0
-0
war/src/main/webapp/css/style.css
war/src/main/webapp/css/style.css
+4
-3
未找到文件。
core/src/main/resources/lib/layout/breadcrumbs.css
浏览文件 @
a277b734
...
...
@@ -83,6 +83,9 @@
cursor
:
pointer
;
z-index
:
2000
;
}
#menuSelector
.inverse
{
background-image
:
url(menu_down_arrow2.png)
;
}
A
.model-link.inside
,
#breadcrumbs
A
.inside
{
/* additional 'inside' class allows pre-allocation of the context menu space */
padding-right
:
16px
;
...
...
core/src/main/resources/lib/layout/breadcrumbs.js
浏览文件 @
a277b734
...
...
@@ -103,8 +103,16 @@ var breadcrumbs = (function() {
*/
menuSelector
.
show
=
function
(
target
)
{
var
xy
=
Dom
.
getXY
(
target
);
if
(
$
(
target
).
hasClassName
(
"
inside
"
))
xy
[
0
]
-=
this
.
offsetWidth
;
// show the menu selector inside the text
if
(
$
(
target
).
hasClassName
(
"
inverse
"
))
{
menuSelector
.
addClassName
(
"
inverse
"
);
}
else
{
menuSelector
.
removeClassName
(
"
inverse
"
);
}
xy
[
0
]
+=
target
.
offsetWidth
;
xy
[
1
]
+=
target
.
offsetHeight
/
2
-
this
.
offsetHeight
/
2
;
Dom
.
setXY
(
this
,
xy
);
...
...
core/src/main/resources/lib/layout/layout.jelly
浏览文件 @
a277b734
...
...
@@ -170,7 +170,7 @@ ${h.initPageVariables(context)}
</j:otherwise>
</j:choose>
<span
style=
"white-space:nowrap"
>
<a
href=
"${rootURL}/user/${user.id}"
class=
"model-link inside"
><b>
${userName}
</b></a>
<a
href=
"${rootURL}/user/${user.id}"
class=
"model-link inside
inverse
"
><b>
${userName}
</b></a>
<j:if
test=
"${app.securityRealm.canLogOut()}"
>
|
<a
href=
"${rootURL}/logout"
><b>
${%logout}
</b></a>
...
...
core/src/main/resources/lib/layout/menu_down_arrow2.png
0 → 100644
浏览文件 @
a277b734
此差异由.gitattributes 抑制。
war/src/main/webapp/css/style.css
浏览文件 @
a277b734
...
...
@@ -184,13 +184,14 @@ dt {
}
#header
.login
{
position
:
relative
;
top
:
8px
;
color
:
white
;
margin-right
:
10px
;
}
#header
.login
a
{
position
:
relative
;
top
:
10px
;
#header
.login
a
,
#header
.login
a
:visited
{
color
:
white
;
}
a
:link
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录