From 99036685fea7d223231aaa9cf6859b0c32c85042 Mon Sep 17 00:00:00 2001 From: lujianbo <387852424@qq.com> Date: Mon, 5 Aug 2013 23:32:14 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=B8=BAwall.html=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=BA=8F=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/support/http/resources/js/lang.js | 1 + src/main/resources/support/http/resources/wall.html | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/main/resources/support/http/resources/js/lang.js b/src/main/resources/support/http/resources/js/lang.js index df2f7b886c..6118441704 100644 --- a/src/main/resources/support/http/resources/js/lang.js +++ b/src/main/resources/support/http/resources/js/lang.js @@ -204,6 +204,7 @@ druid.lang = function() { 'WhiteListSize':['WhiteListSize', '白名单长度'], 'SyntaxErrrorCount':['SyntaxErrrorCount', '语法错误次数'], 'TableName':['TableName', '表名'], + 'TableNumber':['Number','序号'], 'Sample':['Sample','样本'], 'ExecuteCount':['ExecuteCount','执行数'], diff --git a/src/main/resources/support/http/resources/wall.html b/src/main/resources/support/http/resources/wall.html index e7722f10d3..e07809101f 100644 --- a/src/main/resources/support/http/resources/wall.html +++ b/src/main/resources/support/http/resources/wall.html @@ -75,6 +75,8 @@ class="table table-bordered table-striped responsive-utilities"> + TableNumber TableName "; html += "" + table.name + ""; html += "" + replace(table.selectCount) + ""; From 200b423c2c50d4ffe85e7690e0c40b56dce496ce Mon Sep 17 00:00:00 2001 From: lujianbo <387852424@qq.com> Date: Tue, 6 Aug 2013 00:07:11 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=B8=BA=E7=99=BD=E5=90=8D=E5=8D=95?= =?UTF-8?q?=E5=92=8C=E9=BB=91=E5=90=8D=E5=8D=95=E6=B7=BB=E5=8A=A0=E5=BA=8F?= =?UTF-8?q?=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/support/http/resources/wall.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/resources/support/http/resources/wall.html b/src/main/resources/support/http/resources/wall.html index e07809101f..f4840d16f8 100644 --- a/src/main/resources/support/http/resources/wall.html +++ b/src/main/resources/support/http/resources/wall.html @@ -128,6 +128,7 @@ class="table table-bordered responsive-utilities"> + TableNumber SQL Sample ExecuteCount @@ -143,6 +144,7 @@ class="table table-bordered responsive-utilities"> + TableNumber SQL Sample ExecuteCount @@ -247,6 +249,7 @@ for ( var i = 0; i < whiteList.length; ++i) { var white = whiteList[i]; html += ""; + html += ""+ (i+1) +""; html += "" + white.sql + ""; if (white.sample === undefined) { @@ -284,6 +287,7 @@ for ( var i = 0; i < blackList.length; ++i) { var black = blackList[i]; html += ""; + html += ""+ (i+1) +""; html += "" + black.sql + ""; if (black.sample === undefined) {