Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-cloud-netflix
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
spring-cloud-netflix
Commits
3e04856a
Commit
3e04856a
authored
Jul 02, 2018
by
赵天增
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
点击事件
parent
8afda0c4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
status.ftl
...eka-server/src/main/resources/templates/eureka/status.ftl
+7
-4
No files found.
spring-cloud-netflix-eureka-server/src/main/resources/templates/eureka/status.ftl
View file @
3e04856a
...
@@ -59,8 +59,9 @@
...
@@ -59,8 +59,9 @@
<a
href=
"${instance.url}"
target=
"_blank"
>
${instance.id}
</a>
<a
href=
"${instance.url}"
target=
"_blank"
>
${instance.id}
</a>
<
#
else
>
<
#
else
>
${instance.id}
${instance.id}
</
#
if><
#
if
instance_has_next
>
,
</
#
if>
</
#
if>
<button
id=
"cc"
type=
"button"
onclick=
"close(${instance.id})"
>
关闭
</button>
<button
class=
"cc"
type=
"button"
onclick=
"close()"
>
关闭
</button>
<
#
if
instance_has_next
>
,
</
#
if>
</
#
list>
</
#
list>
</
#
list>
</
#
list>
</td>
</td>
...
@@ -122,9 +123,11 @@
...
@@ -122,9 +123,11 @@
<script
type=
"text/javascript"
src=
"eureka/js/wro.js"
></script>
<script
type=
"text/javascript"
src=
"eureka/js/wro.js"
></script>
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
$
(
'
#
cc'
).
click
(
function
()
{
$
(
'
.
cc'
).
click
(
function
()
{
debugger
;
debugger
;
alert
(
"弹出成功"
)
/*alert("弹出成功")*/
var
str
=
$
(
this
).
prev
().
text
();
console
.
log
(
str
);
});
});
$
(
'table.stripeable tr:odd'
).
addClass
(
'odd'
);
$
(
'table.stripeable tr:odd'
).
addClass
(
'odd'
);
$
(
'table.stripeable tr:even'
).
addClass
(
'even'
);
$
(
'table.stripeable tr:even'
).
addClass
(
'even'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment