-
@@ -187,7 +187,7 @@
var option = "
"; //动态添加数据
$("select[name='client_id']").append(option);
- $("select[name='client_id']").find("option[value='{{.t.Client.Id}}']").attr("selected", true);
+ $("select[name='client_id']").find("option[value='{{.client_id}}']").attr("selected", true);
}
}
}
diff --git a/web/views/index/list.html b/web/views/index/list.html
index 2d1d4ae..dd4728c 100644
--- a/web/views/index/list.html
+++ b/web/views/index/list.html
@@ -76,7 +76,7 @@
+ '
: ' + row.Client.Cnf.Compress + ' '
+ '
: ' + row.Client.Cnf.U + ' '
+ '
: ' + row.Client.Cnf.P + ' '
- + '
: ' + row.IsHttp + ' '
+ + '
: ' + row.ProtoVersion + ' '
if (row.Mode == "p2p") {
return tmp + "
"
+ '
: ' + "
./npc{{.win}} -server={{.ip}}:{{.p}} -vkey=" + row.Client.VerifyKey
@@ -215,6 +215,7 @@
title: '',//内容
align: 'center',
halign: 'center',
+ width: '200px',
visible: true,//false表示不显示
formatter: function (value, row, index) {
btn_group = ''
@@ -227,8 +228,12 @@
}
btn_group += "
'
+
btn_group += '
'
+ btn_group += '" class="btn btn-outline btn-success">'
+
+ btn_group += "