mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
detail页面添加view json api 链接
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
<div class="span12">
|
||||
<h3>
|
||||
Spring View
|
||||
<a id="viewJsonApi" target="_blank">View JSON API</a>
|
||||
</h3>
|
||||
<table id="dataTable" class="table table-bordered" style="background-color: #fff">
|
||||
<tr>
|
||||
@@ -104,6 +105,7 @@
|
||||
init : function() {
|
||||
druid.common.buildHead(5);
|
||||
this.ajaxRequestForBasicInfo();
|
||||
$("#viewJsonApi").attr("href", 'spring-detail.json?class=' + clazz + '&method=' + method);
|
||||
},
|
||||
|
||||
ajaxRequestForBasicInfo : function() {
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
<div class="span12">
|
||||
<h3>
|
||||
FULL SQL
|
||||
<a id="viewJsonApi" target="_blank">View JSON API</a>
|
||||
</h3>
|
||||
<h5 id="fullSql"></h5>
|
||||
<h2> Format View:</h2>
|
||||
@@ -109,6 +110,7 @@
|
||||
init : function() {
|
||||
druid.common.buildHead(2);
|
||||
this.ajaxRequestForBasicInfo();
|
||||
$("#viewJsonApi").attr("href", 'sql-' + sqlId + '.json');
|
||||
},
|
||||
|
||||
ajaxRequestForBasicInfo : function() {
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
<div class="span12">
|
||||
<h3>
|
||||
Web Session View
|
||||
<a id="viewJsonApi" target="_blank">View JSON API</a>
|
||||
</h3>
|
||||
<table id="dataTable" class="table table-bordered" style="background-color: #fff">
|
||||
<tr>
|
||||
@@ -94,6 +95,7 @@
|
||||
init : function() {
|
||||
druid.common.buildHead(4);
|
||||
this.ajaxRequestForBasicInfo();
|
||||
$("#viewJsonApi").attr("href", 'websession-' + sessionId + '.json');
|
||||
},
|
||||
|
||||
ajaxRequestForBasicInfo : function() {
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
<div class="span12">
|
||||
<h3>
|
||||
Web URI View
|
||||
<a id="viewJsonApi" target="_blank">View JSON API</a>
|
||||
</h3>
|
||||
<table id="dataTable" class="table table-bordered" style="background-color: #fff">
|
||||
<tr>
|
||||
@@ -111,6 +112,7 @@
|
||||
init : function() {
|
||||
druid.common.buildHead(3);
|
||||
this.ajaxRequestForBasicInfo();
|
||||
$("#viewJsonApi").attr("href", 'weburi-' + encodeURI(uri) + '.json');
|
||||
},
|
||||
|
||||
ajaxRequestForBasicInfo : function() {
|
||||
|
||||
Reference in New Issue
Block a user