Toggle navigation
Toggle navigation
This project
Loading...
Sign in
monitor_v3
/
hg-monitor-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
XuHaoJie
3 years ago
Commit
4f43231a6c3b32e6318a6cf13746c7f615cde673
1 parent
eba2e2a3
青海-首页-多个连接状态时列表的悬浮提示信息不准确
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
hg-monitor-web-qh/src/main/resources/static/src/views/layout.html
hg-monitor-web-qh/src/main/resources/static/src/views/layout.html
View file @
4f43231
...
...
@@ -765,10 +765,10 @@
linkStateTips
+=
`
<
ul
class
=
'ul-link-state-tips'
>
`
;
layui
.
each
(
d
.
linkStateList
,
function
(
index
,
value
)
{
if
(
value
.
state
.
indexOf
(
'成功'
)
!==
-
1
)
{
linkStateTips
+=
`
<
li
class
=
'li-link-state-tips-green'
>
$
{
value
.
protocol
}
:
$
{
value
.
state
}
<
/li>`
;
linkStateTips
+=
`
<
li
class
=
'li-link-state-tips-green'
>
$
{
value
.
protocol
==
'SSH'
?
value
.
protocol
:
'自动发现'
}
:
$
{
value
.
state
}
<
/li>`
;
linkStateHtml
+=
'<span class="layui-badge-dot layui-bg-green"></span>'
;
}
else
{
linkStateTips
+=
`
<
li
class
=
'li-link-state-tips-red'
>
$
{
value
.
protocol
}
:
$
{
value
.
state
}
<
/li>`
;
linkStateTips
+=
`
<
li
class
=
'li-link-state-tips-red'
>
$
{
value
.
protocol
==
'SSH'
?
value
.
protocol
:
'自动发现'
}
:
$
{
value
.
state
}
<
/li>`
;
linkStateHtml
+=
'<span class="layui-badge-dot layui-bg-red"></span>'
;
}
});
...
...
Please
register
or
login
to post a comment