mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
refactor sqlDetail.js -> sql-detail.js
This commit is contained in:
@@ -96,7 +96,7 @@ function ajaxResponseForDataSourceSqlStatInfo() {
|
||||
var sqlStat = sqlStatList[i];
|
||||
var newRow = sqlStatTable.insertRow(-1);
|
||||
newRow.insertCell(-1).innerHTML = i+1;
|
||||
newRow.insertCell(-1).innerHTML = '<a target="_blank" href="sqlDetail.html?sqlId=' + sqlStat.ID + '">' + subSqlString(sqlStat.SQL, 25) + '</a>';
|
||||
newRow.insertCell(-1).innerHTML = '<a target="_blank" href="sql-detail.html?sqlId=' + sqlStat.ID + '">' + subSqlString(sqlStat.SQL, 25) + '</a>';
|
||||
// if (sqlStat.File)
|
||||
// newRow.insertCell(-1).innerHTML = sqlStat.File;
|
||||
// else
|
||||
|
||||
+3
-3
@@ -5,13 +5,13 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf8" />
|
||||
<link href="css/style.css" type="text/css" rel="stylesheet"/>
|
||||
<script src="js/common.js" type="text/javascript" charset="utf8"></script>
|
||||
<script src="js/sqlDetail.js" type="text/javascript" charset="utf8"></script>
|
||||
<script src="js/sql-detail.js" type="text/javascript" charset="utf8"></script>
|
||||
<script >
|
||||
function init(){
|
||||
ajaxRequestForSqlInfo();
|
||||
var time3=setInterval("ajaxRequestForSqlInfo();",5000);
|
||||
buildMenu();
|
||||
buildFooter();
|
||||
buildMenu();
|
||||
buildFooter();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
Reference in New Issue
Block a user