old_sql 1.27.0 → 1.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
|
|
1
1
|
<script>
|
2
|
-
|
3
|
-
$('#query
|
2
|
+
$(document).ready(function($){
|
3
|
+
$('#run-query').bind('click', function() {
|
4
4
|
query();
|
5
5
|
});
|
6
6
|
|
@@ -25,11 +25,21 @@ jQuery(document).ready(function($){
|
|
25
25
|
</div>
|
26
26
|
|
27
27
|
<div>
|
28
|
-
<textarea id="query-text"
|
28
|
+
<textarea id="query-text"></textarea>
|
29
29
|
</div>
|
30
30
|
|
31
31
|
<div>
|
32
|
-
<
|
32
|
+
<span class="query-button">
|
33
|
+
<input id="run-query" type="submit" value="Run" onclick="return true;" /> or press ctrl-enter
|
34
|
+
</span>
|
35
|
+
|
36
|
+
<span class="query-button">
|
37
|
+
<input id="print-query" type="submit" value="Print" onclick="return true;" />
|
38
|
+
</span>
|
39
|
+
|
40
|
+
<span class="query-button">
|
41
|
+
<input id="export-query-as-csv" type="submit" value="Export to CSV" onclick="return true;" />
|
42
|
+
</span>
|
33
43
|
</div>
|
34
44
|
</div>
|
35
45
|
|
@@ -44,6 +54,6 @@ jQuery(document).ready(function($){
|
|
44
54
|
</div>
|
45
55
|
|
46
56
|
<div>
|
47
|
-
<input id="delete-saved-queries" type="
|
57
|
+
<input id="delete-saved-queries" type="submit" value="Clear" onclick="return true;" />
|
48
58
|
</div>
|
49
59
|
</div>
|
@@ -22,6 +22,7 @@ function query()
|
|
22
22
|
|
23
23
|
if (!sql) {
|
24
24
|
alert('Invalid Query.');
|
25
|
+
return;
|
25
26
|
}
|
26
27
|
|
27
28
|
var src = "http://"+host+":"+port+"/sql/reports/jqgrid/?&query="+sql+"&db="+db+"&caption=Ad Hoc Query&w="+$(document).width();
|
@@ -175,4 +176,8 @@ jQuery(document).ready(function($){
|
|
175
176
|
|
176
177
|
$(function() {
|
177
178
|
$( "#tabs" ).tabs();
|
179
|
+
});
|
180
|
+
|
181
|
+
$(function() {
|
182
|
+
$( "input:submit").button();
|
178
183
|
});
|
@@ -7,7 +7,7 @@
|
|
7
7
|
|
8
8
|
body{
|
9
9
|
font-family:Verdana, Geneva, sans-serif;
|
10
|
-
font-size:
|
10
|
+
font-size:10px;
|
11
11
|
}
|
12
12
|
|
13
13
|
#old-sql {
|
@@ -24,7 +24,7 @@ body{
|
|
24
24
|
|
25
25
|
a {
|
26
26
|
text-decoration: none;
|
27
|
-
color:#
|
27
|
+
color:#287EA9;
|
28
28
|
font-weight:bold;
|
29
29
|
}
|
30
30
|
|
@@ -38,7 +38,7 @@ a {
|
|
38
38
|
padding-bottom:8px;
|
39
39
|
display:block;
|
40
40
|
text-decoration: none;
|
41
|
-
color:#
|
41
|
+
color:#287EA9;
|
42
42
|
font-weight:bold;
|
43
43
|
}
|
44
44
|
|
@@ -62,7 +62,7 @@ a {
|
|
62
62
|
}
|
63
63
|
|
64
64
|
.query {
|
65
|
-
width:
|
65
|
+
width:710;
|
66
66
|
float:left;
|
67
67
|
}
|
68
68
|
|
@@ -72,6 +72,8 @@ a {
|
|
72
72
|
|
73
73
|
#query-text {
|
74
74
|
font-size:12pt;
|
75
|
+
width:700;
|
76
|
+
height:200;
|
75
77
|
}
|
76
78
|
|
77
79
|
#saved_queries div {
|
@@ -84,5 +86,11 @@ a {
|
|
84
86
|
}
|
85
87
|
|
86
88
|
#saved-queries-list {
|
87
|
-
width:
|
89
|
+
width:400;
|
90
|
+
height:200;
|
91
|
+
}
|
92
|
+
|
93
|
+
.query-button {
|
94
|
+
padding-top:0px;
|
95
|
+
padding-right:10px;
|
88
96
|
}
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: old_sql
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.
|
5
|
+
version: 1.28.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Eddie Gonzales
|
@@ -197,7 +197,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
197
197
|
requirements:
|
198
198
|
- - ">="
|
199
199
|
- !ruby/object:Gem::Version
|
200
|
-
hash:
|
200
|
+
hash: -4145538432671084881
|
201
201
|
segments:
|
202
202
|
- 0
|
203
203
|
version: "0"
|