old_sql 1.26.0 → 1.27.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.
- data/README.md +15 -21
- data/app/controllers/old_sql/report_controller.rb +141 -120
- data/app/views/old_sql/report/_query.html.erb +49 -0
- data/app/views/old_sql/report/_reports.html.erb +40 -0
- data/app/views/old_sql/report/index.html.erb +20 -46
- data/app/views/old_sql/report/{datagrid.html.erb → jqgrid.html.erb} +11 -4
- data/config/routes.rb +1 -1
- data/lib/old_sql/report_processor/base.rb +60 -28
- data/public/javascripts/old_sql/chart.js +1 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom.min.js +65 -0
- data/public/javascripts/old_sql/old_sql.js +130 -32
- data/public/stylesheets/old_sql/old_sql.css +29 -32
- data/public/stylesheets/old_sql/table.css +29 -29
- data/public/stylesheets/old_sql/ui-lightness/jquery-ui-1.8.13.custom.css +60 -0
- metadata +6 -4
@@ -6,25 +6,13 @@
|
|
6
6
|
.ui-timepicker-div td { font-size: 90%; }
|
7
7
|
|
8
8
|
body{
|
9
|
-
background:#fff url(../../images/rails_admin/background.png) repeat-x;
|
10
9
|
font-family:Verdana, Geneva, sans-serif;
|
11
10
|
font-size:12px;
|
12
11
|
}
|
13
12
|
|
14
|
-
#
|
15
|
-
|
16
|
-
|
17
|
-
padding:3px;
|
18
|
-
}
|
19
|
-
|
20
|
-
#report_list {
|
21
|
-
padding-top:10px;
|
22
|
-
}
|
23
|
-
|
24
|
-
#cohort-date-div {
|
25
|
-
padding-top: 15px;
|
26
|
-
padding-bottom: 25px;
|
27
|
-
display:inline-block;
|
13
|
+
#old-sql {
|
14
|
+
width:100%;
|
15
|
+
text-align:center;
|
28
16
|
}
|
29
17
|
|
30
18
|
#report-form {
|
@@ -34,6 +22,12 @@ body{
|
|
34
22
|
padding-bottom: 20px;
|
35
23
|
}
|
36
24
|
|
25
|
+
a {
|
26
|
+
text-decoration: none;
|
27
|
+
color:#215086;
|
28
|
+
font-weight:bold;
|
29
|
+
}
|
30
|
+
|
37
31
|
#links {
|
38
32
|
float: left;
|
39
33
|
padding-left: 150px;
|
@@ -63,29 +57,32 @@ body{
|
|
63
57
|
display:inline-block;
|
64
58
|
}
|
65
59
|
|
66
|
-
#
|
67
|
-
|
68
|
-
margin-right:10px;
|
69
|
-
display:inline-block;
|
70
|
-
font-weight: bold;
|
71
|
-
width: 150px;
|
60
|
+
#data_grid {
|
61
|
+
padding-top:10px;
|
72
62
|
}
|
73
63
|
|
74
|
-
|
75
|
-
|
64
|
+
.query {
|
65
|
+
width:900;
|
66
|
+
float:left;
|
76
67
|
}
|
77
68
|
|
78
|
-
|
69
|
+
.query div {
|
79
70
|
padding-top:10px;
|
80
71
|
}
|
81
72
|
|
82
|
-
#
|
83
|
-
|
73
|
+
#query-text {
|
74
|
+
font-size:12pt;
|
84
75
|
}
|
85
76
|
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
77
|
+
#saved_queries div {
|
78
|
+
padding-top:10px;
|
79
|
+
}
|
80
|
+
|
81
|
+
#saved_queries {
|
82
|
+
float:left;
|
83
|
+
padding-top:7px;
|
84
|
+
}
|
85
|
+
|
86
|
+
#saved-queries-list {
|
87
|
+
width:500;
|
88
|
+
}
|
@@ -2,63 +2,63 @@
|
|
2
2
|
}
|
3
3
|
|
4
4
|
body{
|
5
|
-
|
6
|
-
|
7
|
-
|
5
|
+
background:#fff url(../../images/rails_admin/background.png) repeat-x;
|
6
|
+
font-family:Verdana, Geneva, sans-serif;
|
7
|
+
font-size:12px;
|
8
8
|
}
|
9
9
|
|
10
10
|
.grid {
|
11
|
-
|
11
|
+
border-collapse: collapse;
|
12
12
|
}
|
13
13
|
|
14
14
|
.even {
|
15
|
-
|
15
|
+
background-color: #FFFFFF;
|
16
16
|
}
|
17
17
|
|
18
18
|
.odd {
|
19
|
-
|
19
|
+
background-color: #F2F2F2;
|
20
20
|
}
|
21
21
|
|
22
22
|
td, th {
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
23
|
+
display: table-cell;
|
24
|
+
vertical-align: inherit;
|
25
|
+
font-family:Verdana, Geneva, sans-serif;
|
26
|
+
font-size:12px;
|
27
27
|
}
|
28
28
|
|
29
29
|
th {
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
30
|
+
margin-left: 5px;
|
31
|
+
text-align: left;
|
32
|
+
border-bottom: 2px solid #B9B9B9;
|
33
|
+
padding: 9px 0;
|
34
34
|
}
|
35
35
|
|
36
36
|
#content {
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
37
|
+
width:960px;
|
38
|
+
background:#FFF;
|
39
|
+
margin-bottom: 20px;
|
40
|
+
border-bottom: 1px solid #e6e6e6;
|
41
41
|
}
|
42
42
|
|
43
43
|
.ra-block .ui-widget-header {
|
44
|
-
|
44
|
+
padding:8px;
|
45
45
|
}
|
46
46
|
|
47
47
|
.ra-block-content {
|
48
|
-
|
49
|
-
|
50
|
-
|
48
|
+
padding:10px;
|
49
|
+
border-left:1px solid #e6e6e6;
|
50
|
+
border-right:1px solid #e6e6e6;
|
51
51
|
}
|
52
52
|
|
53
53
|
.ra-block-content .ra-block-content {
|
54
|
-
|
54
|
+
border: none;
|
55
55
|
}
|
56
56
|
|
57
57
|
.ra-block .ra-block-toolbar {
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
58
|
+
border-top:1px solid #e6e6e6;
|
59
|
+
border-bottom:1px solid #e6e6e6;
|
60
|
+
border-left: none;
|
61
|
+
border-right: none;
|
62
|
+
padding:5px;
|
63
|
+
margin-bottom: 10px;
|
64
64
|
}
|
@@ -326,6 +326,25 @@
|
|
326
326
|
* http://docs.jquery.com/UI/Selectable#theming
|
327
327
|
*/
|
328
328
|
.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; }
|
329
|
+
/*
|
330
|
+
* jQuery UI Accordion 1.8.13
|
331
|
+
*
|
332
|
+
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
333
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
334
|
+
* http://jquery.org/license
|
335
|
+
*
|
336
|
+
* http://docs.jquery.com/UI/Accordion#theming
|
337
|
+
*/
|
338
|
+
/* IE/Win - Fix animation bug - #4615 */
|
339
|
+
.ui-accordion { width: 100%; }
|
340
|
+
.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; }
|
341
|
+
.ui-accordion .ui-accordion-li-fix { display: inline; }
|
342
|
+
.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
|
343
|
+
.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em .7em; }
|
344
|
+
.ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; }
|
345
|
+
.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; }
|
346
|
+
.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; }
|
347
|
+
.ui-accordion .ui-accordion-content-active { display: block; }
|
329
348
|
/*
|
330
349
|
* jQuery UI Autocomplete 1.8.13
|
331
350
|
*
|
@@ -438,6 +457,47 @@ button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra pad
|
|
438
457
|
.ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; }
|
439
458
|
.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
|
440
459
|
.ui-draggable .ui-dialog-titlebar { cursor: move; }
|
460
|
+
/*
|
461
|
+
* jQuery UI Slider 1.8.13
|
462
|
+
*
|
463
|
+
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
464
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
465
|
+
* http://jquery.org/license
|
466
|
+
*
|
467
|
+
* http://docs.jquery.com/UI/Slider#theming
|
468
|
+
*/
|
469
|
+
.ui-slider { position: relative; text-align: left; }
|
470
|
+
.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
|
471
|
+
.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }
|
472
|
+
|
473
|
+
.ui-slider-horizontal { height: .8em; }
|
474
|
+
.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
|
475
|
+
.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
|
476
|
+
.ui-slider-horizontal .ui-slider-range-min { left: 0; }
|
477
|
+
.ui-slider-horizontal .ui-slider-range-max { right: 0; }
|
478
|
+
|
479
|
+
.ui-slider-vertical { width: .8em; height: 100px; }
|
480
|
+
.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
|
481
|
+
.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
|
482
|
+
.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
|
483
|
+
.ui-slider-vertical .ui-slider-range-max { top: 0; }/*
|
484
|
+
* jQuery UI Tabs 1.8.13
|
485
|
+
*
|
486
|
+
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
487
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
488
|
+
* http://jquery.org/license
|
489
|
+
*
|
490
|
+
* http://docs.jquery.com/UI/Tabs#theming
|
491
|
+
*/
|
492
|
+
.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
|
493
|
+
.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; }
|
494
|
+
.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; }
|
495
|
+
.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; }
|
496
|
+
.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; }
|
497
|
+
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
|
498
|
+
.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
|
499
|
+
.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; }
|
500
|
+
.ui-tabs .ui-tabs-hide { display: none !important; }
|
441
501
|
/*
|
442
502
|
* jQuery UI Datepicker 1.8.13
|
443
503
|
*
|
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.27.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Eddie Gonzales
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-06-
|
13
|
+
date: 2011-06-27 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: devise
|
@@ -51,9 +51,11 @@ files:
|
|
51
51
|
- app/views/layouts/old_sql/chart.html.erb
|
52
52
|
- app/views/layouts/old_sql/report.html.erb
|
53
53
|
- app/views/old_sql/errors/401.html.erb
|
54
|
+
- app/views/old_sql/report/_query.html.erb
|
55
|
+
- app/views/old_sql/report/_reports.html.erb
|
54
56
|
- app/views/old_sql/report/chart.html.erb
|
55
|
-
- app/views/old_sql/report/datagrid.html.erb
|
56
57
|
- app/views/old_sql/report/index.html.erb
|
58
|
+
- app/views/old_sql/report/jqgrid.html.erb
|
57
59
|
- app/views/old_sql/report/print.html.erb
|
58
60
|
- app/views/old_sql/report/table.html.erb
|
59
61
|
- config/locales/old_sql.en.yml
|
@@ -195,7 +197,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
195
197
|
requirements:
|
196
198
|
- - ">="
|
197
199
|
- !ruby/object:Gem::Version
|
198
|
-
hash:
|
200
|
+
hash: 3902348799946431913
|
199
201
|
segments:
|
200
202
|
- 0
|
201
203
|
version: "0"
|