From 7c9f777eac1ee68053d5fa82b52e3358dcc4ea76 Mon Sep 17 00:00:00 2001
From: hzgjq <49267192+hzgjq@users.noreply.github.com>
Date: Mon, 2 Mar 2020 18:26:45 +0800
Subject: [PATCH] Update hlist.html
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
hostlist 列表中,客户端在线时点击在线状态可以直接进行访问
---
web/views/index/hlist.html | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/web/views/index/hlist.html b/web/views/index/hlist.html
index 6e9b686..e3613c4 100644
--- a/web/views/index/hlist.html
+++ b/web/views/index/hlist.html
@@ -134,8 +134,9 @@
halign: 'center',
visible: true,//false表示不显示
formatter: function (value, row, index) {
+ hosturl = ((row.Scheme == 'http' ) ? 'http://' : 'https://') + row.Host + row.Location
if (row.Client.IsConnect) {
- return ''
+ return ''
} else {
return ''
}