Merge pull request #77 from libinsong/master

add json view aip link
This commit is contained in:
温高铁
2012-08-26 06:56:52 -07:00
5 changed files with 8 additions and 43 deletions
@@ -27,49 +27,6 @@ body{
background-color: #E5E5E5;
}
.navbar .brand {
color: #555555;
}
.navbar .nav > li > a {
color: #555555;
float: none;
padding: 10px 15px;
text-decoration: none;
text-shadow: 0 1px 0 #FFFFFF;
}
.navbar .nav,
.navbar .nav > li {
font-size: 14px;
float:none;
display:inline-block;
*display:inline; /* ie7 fix */
*zoom:1; /* hasLayout ie7 trigger */
vertical-align: top;
}
.navbar-inner {
text-align:center;
background-color:#FAFAFA;
background-image:-moz-linear-gradient(center top , #FFFFFF, #F2F2F2);
background-image:-ms-linear-gradient(top,#FFFFFF,#F2F2F2);
background-image:-webkit-gradient(linear,0 0,0 100%,from(#FFFFFF),to(#F2F2F2));
background-image:-webkit-linear-gradient(top,#FFFFFF,#F2F2F2);
background-image:-o-linear-gradient(top,#FFFFFF,#F2F2F2);
background-image:linear-gradient(top,#FFFFFF,#F2F2F2);
filter:progid:dximagetransform.microsoft.gradient(startColorstr='#FFFFFF',endColorstr='#F2F2F2',GradientType=0)
}
.navbar .nav > .active > a, .navbar .nav > .active > a:hover, .navbar .nav > .active > a:focus {
background-color: #E5E5E5;
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.125) inset;
color: #555555;
text-decoration: none;
}
.navbar .nav > li > a:focus, .navbar .nav > li > a:hover {
background-color: transparent;
color: #333333;
text-decoration: none;
}
.striped {
background-color: #fff;
@@ -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() {