dbconsole 0.0.3 → 0.0.4
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.
- checksums.yaml +8 -8
- data/app/assets/javascripts/dbconsole/jquery-1.10.2.js +9789 -0
- data/app/assets/javascripts/dbconsole/jquery-ui-1.10.4.custom.min.js +7 -0
- data/app/assets/javascripts/dbconsole/jquery.tablesorter.min.js +4 -0
- data/app/assets/javascripts/dbconsole/jquery.ui.core.js +320 -0
- data/app/assets/javascripts/dbconsole/jquery.ui.tabs.js +849 -0
- data/app/assets/javascripts/dbconsole/jquery.ui.widget.js +521 -0
- data/app/assets/stylesheets/dbconsole/asc.gif +0 -0
- data/app/assets/stylesheets/dbconsole/bg.gif +0 -0
- data/app/assets/stylesheets/dbconsole/demos.css +19 -0
- data/app/assets/stylesheets/dbconsole/desc.gif +0 -0
- data/app/assets/stylesheets/dbconsole/images/animated-overlay.gif +0 -0
- data/app/assets/stylesheets/dbconsole/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/app/assets/stylesheets/dbconsole/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/app/assets/stylesheets/dbconsole/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/app/assets/stylesheets/dbconsole/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/app/assets/stylesheets/dbconsole/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/app/assets/stylesheets/dbconsole/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/app/assets/stylesheets/dbconsole/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/app/assets/stylesheets/dbconsole/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/app/assets/stylesheets/dbconsole/images/ui-icons_222222_256x240.png +0 -0
- data/app/assets/stylesheets/dbconsole/images/ui-icons_2e83ff_256x240.png +0 -0
- data/app/assets/stylesheets/dbconsole/images/ui-icons_454545_256x240.png +0 -0
- data/app/assets/stylesheets/dbconsole/images/ui-icons_888888_256x240.png +0 -0
- data/app/assets/stylesheets/dbconsole/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/app/assets/stylesheets/dbconsole/jquery.ui.core.css +93 -0
- data/app/assets/stylesheets/dbconsole/jquery.ui.tabs.css +51 -0
- data/app/assets/stylesheets/dbconsole/jquery.ui.theme.css +410 -0
- data/app/assets/stylesheets/dbconsole/style.css +98 -0
- data/app/controllers/dbconsole/databases_controller.rb +74 -10
- data/app/controllers/dbconsole/style.css +85 -0
- data/app/views/dbconsole/databases/create.html.erb +155 -0
- data/app/views/dbconsole/databases/index.html.erb +5 -2
- data/app/views/dbconsole/databases/show.html.erb +155 -0
- data/app/views/layouts/dbconsole/application.html.erb +3 -1
- data/lib/dbconsole/version.rb +1 -1
- metadata +47 -2
@@ -0,0 +1,85 @@
|
|
1
|
+
/* tables */
|
2
|
+
table.tablesorter {
|
3
|
+
font-family:arial;
|
4
|
+
background-color: #CDCDCD;
|
5
|
+
margin:10px 0pt 15px;
|
6
|
+
font-size: 8pt;
|
7
|
+
width: 100%;
|
8
|
+
text-align: left;
|
9
|
+
}
|
10
|
+
table.tablesorter thead tr th, table.tablesorter tfoot tr th {
|
11
|
+
background-color: #e6EEEE;
|
12
|
+
border: 1px solid #FFF;
|
13
|
+
font-size: 8pt;
|
14
|
+
padding: 4px;
|
15
|
+
}
|
16
|
+
table.tablesorter thead tr .header {
|
17
|
+
background-image: url(bg.gif);
|
18
|
+
background-repeat: no-repeat;
|
19
|
+
background-position: center right;
|
20
|
+
cursor: pointer;
|
21
|
+
}
|
22
|
+
table.tablesorter tbody td {
|
23
|
+
color: #3D3D3D;
|
24
|
+
padding: 4px;
|
25
|
+
background-color: #FFF;
|
26
|
+
vertical-align: top;
|
27
|
+
}
|
28
|
+
table.tablesorter tbody tr.odd td {
|
29
|
+
background-color:#F0F0F6;
|
30
|
+
}
|
31
|
+
table.tablesorter thead tr .headerSortUp {
|
32
|
+
background-image: url(asc.gif);
|
33
|
+
}
|
34
|
+
table.tablesorter thead tr .headerSortDown {
|
35
|
+
background-image: url(desc.gif);
|
36
|
+
}
|
37
|
+
table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
|
38
|
+
background-color: #8dbdd8;
|
39
|
+
}
|
40
|
+
|
41
|
+
.deletebtn {
|
42
|
+
cursor:pointer;
|
43
|
+
-moz-box-shadow:inset 0px 0px 0px 3px #ffffff;
|
44
|
+
-webkit-box-shadow:inset 0px 0px 0px 3px #ffffff;
|
45
|
+
box-shadow:inset 0px 0px 0px 3px #ffffff;
|
46
|
+
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #E6EEEE), color-stop(1, #e9e9e9) );
|
47
|
+
background:-moz-linear-gradient( center top, #E6EEEE 5%, #e9e9e9 100% );
|
48
|
+
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#E6EEEE', endColorstr='#e9e9e9');
|
49
|
+
background-color:#E6EEEE;
|
50
|
+
-webkit-border-top-left-radius:15px;
|
51
|
+
-moz-border-radius-topleft:15px;
|
52
|
+
border-top-left-radius:15px;
|
53
|
+
-webkit-border-top-right-radius:15px;
|
54
|
+
-moz-border-radius-topright:15px;
|
55
|
+
border-top-right-radius:15px;
|
56
|
+
-webkit-border-bottom-right-radius:15px;
|
57
|
+
-moz-border-radius-bottomright:15px;
|
58
|
+
border-bottom-right-radius:15px;
|
59
|
+
-webkit-border-bottom-left-radius:15px;
|
60
|
+
-moz-border-radius-bottomleft:15px;
|
61
|
+
border-bottom-left-radius:15px;
|
62
|
+
text-indent:-1.31px;
|
63
|
+
border:1px solid #dcdcdc;
|
64
|
+
display:inline-block;
|
65
|
+
color:#666666;
|
66
|
+
font-family:Arial;
|
67
|
+
font-size:12px;
|
68
|
+
font-weight:bold;
|
69
|
+
font-style:normal;
|
70
|
+
height:28px;
|
71
|
+
line-height:28px;
|
72
|
+
width:60px;
|
73
|
+
text-decoration:none;
|
74
|
+
text-align:center;
|
75
|
+
text-shadow:2px 1px 0px #ffffff;
|
76
|
+
}
|
77
|
+
.deletebtn:hover {
|
78
|
+
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #e9e9e9), color-stop(1, #E6EEEE) );
|
79
|
+
background:-moz-linear-gradient( center top, #e9e9e9 5%, #E6EEEE 100% );
|
80
|
+
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e9e9e9', endColorstr='#E6EEEE');
|
81
|
+
background-color:#e9e9e9;
|
82
|
+
}.deletebtn:active {
|
83
|
+
position:relative;
|
84
|
+
top:1px;
|
85
|
+
}
|
@@ -0,0 +1,155 @@
|
|
1
|
+
|
2
|
+
<script>
|
3
|
+
$(function() {
|
4
|
+
$( "#tabs" ).tabs();
|
5
|
+
});
|
6
|
+
|
7
|
+
$(document).ready(function()
|
8
|
+
{
|
9
|
+
$("#myTable").tablesorter();
|
10
|
+
}
|
11
|
+
);
|
12
|
+
</script>
|
13
|
+
|
14
|
+
<div style="position: absolute; margin: 0px; left: 206px; right: 206px; height: 636px; width: 915px; z-index: 0; padding: 10px; background: none repeat scroll 0% 0% rgb(255, 255, 255); border: 1px solid rgb(187, 187, 187); overflow: auto; display: block; visibility: visible;">
|
15
|
+
<% if flash[:notice] %>
|
16
|
+
<div class="notice"><%= flash[:notice] %></div>
|
17
|
+
<% end %>
|
18
|
+
<%= @class_name%> Table :
|
19
|
+
<div id="tabs">
|
20
|
+
<ul>
|
21
|
+
<li><a href="#tabs-1">All Records</a></li>
|
22
|
+
<li><a href="#tabs-2">Insert New</a></li>
|
23
|
+
</ul>
|
24
|
+
<div id="tabs-1">
|
25
|
+
<p>
|
26
|
+
<table id="myTable" class="tablesorter">
|
27
|
+
<thead>
|
28
|
+
<tr>
|
29
|
+
<% @col_names.each do |column| %>
|
30
|
+
<th><%= column %></th>
|
31
|
+
<% end%>
|
32
|
+
</tr>
|
33
|
+
</thead>
|
34
|
+
<tbody>
|
35
|
+
<% @records.each do |record| %>
|
36
|
+
<tr id="record-<%= record[0]%>">
|
37
|
+
<% @colidinfo.each_with_index do |column, index| %>
|
38
|
+
<td><%= record[@colidinfo[index]]%></td>
|
39
|
+
<% end%>
|
40
|
+
<td>
|
41
|
+
<%= form_tag(action:"destroy", method: "delete") do %>
|
42
|
+
<input type="hidden" name="_method" id="_method" value="delete" />
|
43
|
+
<input type="hidden" name="tablename" value="<%= @class_name_org%>"/>
|
44
|
+
<input type="hidden" name="recordid" value="<%= record[0]%>" />
|
45
|
+
<%= submit_tag("Delete", class: "deletebtn", data: {confirm: "Are you sure?"} ) %>
|
46
|
+
<% end %>
|
47
|
+
</td>
|
48
|
+
</tr>
|
49
|
+
<% end%>
|
50
|
+
</tbody>
|
51
|
+
</table>
|
52
|
+
</p>
|
53
|
+
</div>
|
54
|
+
<div id="tabs-2">
|
55
|
+
<%= form_tag(action:"create", method: "post") do %>
|
56
|
+
<table style="width:200px, margin:0 0 0 0px;">
|
57
|
+
<tr><th colspan="2">Insert New Record</th></tr>
|
58
|
+
<%! @global_variable = 0 %>
|
59
|
+
<%= hidden_field_tag "column_names", @col_names %>
|
60
|
+
<%= hidden_field_tag "tablename", @class_name_org %>
|
61
|
+
|
62
|
+
<% @col_names.each do |column| %>
|
63
|
+
<% if column != 'id' and column != 'created_at' and column != 'updated_at'%>
|
64
|
+
<tr>
|
65
|
+
<td>
|
66
|
+
<% @global_variable = @global_variable+1 %>
|
67
|
+
<%= label_tag(column, column) %>
|
68
|
+
</td>
|
69
|
+
<td>
|
70
|
+
<%= text_field_tag(column) %>
|
71
|
+
</td>
|
72
|
+
</tr>
|
73
|
+
<%end%>
|
74
|
+
<% end%>
|
75
|
+
<tr>
|
76
|
+
<td colspan="2">
|
77
|
+
<%= submit_tag("Add Record") %>
|
78
|
+
</td>
|
79
|
+
</tr>
|
80
|
+
</table>
|
81
|
+
<% end %>
|
82
|
+
</div>
|
83
|
+
</div>
|
84
|
+
<br />
|
85
|
+
<br />
|
86
|
+
<!--<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
87
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
88
|
+
<head>
|
89
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
90
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
91
|
+
<title>My First Grid</title>
|
92
|
+
|
93
|
+
|
94
|
+
<style type="text/css">
|
95
|
+
html, body {
|
96
|
+
margin: 0;
|
97
|
+
padding: 0;
|
98
|
+
font-size: 75%;
|
99
|
+
}
|
100
|
+
</style>
|
101
|
+
|
102
|
+
|
103
|
+
<script type="text/javascript">
|
104
|
+
var cols = ""
|
105
|
+
|
106
|
+
<% @col_names.each do |i| %>
|
107
|
+
cols += "{ name: <%= i%>, width: 55 },"
|
108
|
+
<% end%>
|
109
|
+
cols = cols.substring(0, cols.length-1)
|
110
|
+
alert(cols);
|
111
|
+
$(function () {
|
112
|
+
$("#list").jqGrid({
|
113
|
+
url: "example.php",
|
114
|
+
datatype: "json",
|
115
|
+
mtype: "GET",
|
116
|
+
colNames: ["id", "name", "created_at", "Updated_at"],
|
117
|
+
colModel: [{name:'id', width:55},
|
118
|
+
{name:'name', width:90},
|
119
|
+
{name:'created_at', width:100},
|
120
|
+
{name:'updated_at', width:80}],
|
121
|
+
pager: "#pager",
|
122
|
+
rowNum: 10,
|
123
|
+
rowList: [10, 20, 30],
|
124
|
+
viewrecords: true,
|
125
|
+
gridview: true,
|
126
|
+
autoencode: true,
|
127
|
+
caption: "Users Records"
|
128
|
+
});
|
129
|
+
});
|
130
|
+
</script>
|
131
|
+
|
132
|
+
</head>
|
133
|
+
<body>
|
134
|
+
<table id="list"><tr><td></td></tr></table>
|
135
|
+
<div id="pager"></div>
|
136
|
+
</body>
|
137
|
+
</html>-->
|
138
|
+
|
139
|
+
|
140
|
+
</div>
|
141
|
+
<div style="position: absolute; margin: 0px; left: 0px; right: auto; height: 636px; z-index: 0; padding: 5px; background: none repeat scroll 0% 0% rgb(255, 255, 255); border: 1px solid rgb(187, 187, 187); overflow: auto; width: 178px; display: block; visibility: visible;">
|
142
|
+
<div style="font-family:arial;font-size: 10pt;width: 100%;text-align: left;">
|
143
|
+
<% @tables.each do |i| %>
|
144
|
+
<%= link_to i, '/dbconsole/databases/'+i %><br/>
|
145
|
+
<% end%>
|
146
|
+
</div>
|
147
|
+
</div>
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
|
@@ -1,3 +1,6 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
<div style="position: absolute; margin: 0px; left: 206px; right: 206px; top: 47px; bottom: 47px; height: 556px; width: 915px; z-index: 0; padding: 10px; background: none repeat scroll 0% 0% rgb(255, 255, 255); border: 1px solid rgb(187, 187, 187); overflow: auto; display: block; visibility: visible;"></div>
|
2
|
+
<div style="position: absolute; margin: 0px; left: 0px; right: auto; top: 47px; bottom: 47px; height: 556px; z-index: 0; padding: 10px; background: none repeat scroll 0% 0% rgb(255, 255, 255); border: 1px solid rgb(187, 187, 187); overflow: auto; width: 178px; display: block; visibility: visible;">
|
3
|
+
<% @tables.each do |i| %>
|
4
|
+
<%= link_to i, '/dbconsole/databases/'+i %><br/>
|
3
5
|
<% end%>
|
6
|
+
</div>
|
@@ -0,0 +1,155 @@
|
|
1
|
+
|
2
|
+
<script>
|
3
|
+
$(function() {
|
4
|
+
$( "#tabs" ).tabs();
|
5
|
+
});
|
6
|
+
|
7
|
+
$(document).ready(function()
|
8
|
+
{
|
9
|
+
$("#myTable").tablesorter();
|
10
|
+
}
|
11
|
+
);
|
12
|
+
</script>
|
13
|
+
|
14
|
+
<div style="position: absolute; margin: 0px; left: 206px; right: 206px; height: 636px; width: 915px; z-index: 0; padding: 10px; background: none repeat scroll 0% 0% rgb(255, 255, 255); border: 1px solid rgb(187, 187, 187); overflow: auto; display: block; visibility: visible;">
|
15
|
+
<% if flash[:notice] %>
|
16
|
+
<div class="notice"><%= flash[:notice] %></div>
|
17
|
+
<% end %>
|
18
|
+
<%= @class_name%> Table :
|
19
|
+
<div id="tabs">
|
20
|
+
<ul>
|
21
|
+
<li><a href="#tabs-1">All Records</a></li>
|
22
|
+
<li><a href="#tabs-2">Insert New</a></li>
|
23
|
+
</ul>
|
24
|
+
<div id="tabs-1">
|
25
|
+
<p>
|
26
|
+
<table id="myTable" class="tablesorter">
|
27
|
+
<thead>
|
28
|
+
<tr>
|
29
|
+
<% @col_names.each do |column| %>
|
30
|
+
<th><%= column %></th>
|
31
|
+
<% end%>
|
32
|
+
</tr>
|
33
|
+
</thead>
|
34
|
+
<tbody>
|
35
|
+
<% @records.each do |record| %>
|
36
|
+
<tr id="record-<%= record[0]%>">
|
37
|
+
<% @colidinfo.each_with_index do |column, index| %>
|
38
|
+
<td><%= record[@colidinfo[index]]%></td>
|
39
|
+
<% end%>
|
40
|
+
<td>
|
41
|
+
<%= form_tag(action:"destroy", method: "delete") do %>
|
42
|
+
<input type="hidden" name="_method" id="_method" value="delete" />
|
43
|
+
<input type="hidden" name="tablename" value="<%= @class_name_org%>"/>
|
44
|
+
<input type="hidden" name="recordid" value="<%= record[0]%>" />
|
45
|
+
<%= submit_tag("Delete", class: "deletebtn", data: {confirm: "Are you sure?"} ) %>
|
46
|
+
<% end %>
|
47
|
+
</td>
|
48
|
+
</tr>
|
49
|
+
<% end%>
|
50
|
+
</tbody>
|
51
|
+
</table>
|
52
|
+
</p>
|
53
|
+
</div>
|
54
|
+
<div id="tabs-2">
|
55
|
+
<%= form_tag(action:"create", method: "post") do %>
|
56
|
+
<table style="width:200px, margin:0 0 0 0px;">
|
57
|
+
<tr><th colspan="2">Insert New Record</th></tr>
|
58
|
+
<%! @global_variable = 0 %>
|
59
|
+
<%= hidden_field_tag "column_names", @col_names %>
|
60
|
+
<%= hidden_field_tag "tablename", @class_name_org %>
|
61
|
+
|
62
|
+
<% @col_names.each do |column| %>
|
63
|
+
<% if column != 'id' and column != 'created_at' and column != 'updated_at'%>
|
64
|
+
<tr>
|
65
|
+
<td>
|
66
|
+
<% @global_variable = @global_variable+1 %>
|
67
|
+
<%= label_tag(column, column) %>
|
68
|
+
</td>
|
69
|
+
<td>
|
70
|
+
<%= text_field_tag(column) %>
|
71
|
+
</td>
|
72
|
+
</tr>
|
73
|
+
<%end%>
|
74
|
+
<% end%>
|
75
|
+
<tr>
|
76
|
+
<td colspan="2">
|
77
|
+
<%= submit_tag("Add Record") %>
|
78
|
+
</td>
|
79
|
+
</tr>
|
80
|
+
</table>
|
81
|
+
<% end %>
|
82
|
+
</div>
|
83
|
+
</div>
|
84
|
+
<br />
|
85
|
+
<br />
|
86
|
+
<!--<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
87
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
88
|
+
<head>
|
89
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
90
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
91
|
+
<title>My First Grid</title>
|
92
|
+
|
93
|
+
|
94
|
+
<style type="text/css">
|
95
|
+
html, body {
|
96
|
+
margin: 0;
|
97
|
+
padding: 0;
|
98
|
+
font-size: 75%;
|
99
|
+
}
|
100
|
+
</style>
|
101
|
+
|
102
|
+
|
103
|
+
<script type="text/javascript">
|
104
|
+
var cols = ""
|
105
|
+
|
106
|
+
<% @col_names.each do |i| %>
|
107
|
+
cols += "{ name: <%= i%>, width: 55 },"
|
108
|
+
<% end%>
|
109
|
+
cols = cols.substring(0, cols.length-1)
|
110
|
+
alert(cols);
|
111
|
+
$(function () {
|
112
|
+
$("#list").jqGrid({
|
113
|
+
url: "example.php",
|
114
|
+
datatype: "json",
|
115
|
+
mtype: "GET",
|
116
|
+
colNames: ["id", "name", "created_at", "Updated_at"],
|
117
|
+
colModel: [{name:'id', width:55},
|
118
|
+
{name:'name', width:90},
|
119
|
+
{name:'created_at', width:100},
|
120
|
+
{name:'updated_at', width:80}],
|
121
|
+
pager: "#pager",
|
122
|
+
rowNum: 10,
|
123
|
+
rowList: [10, 20, 30],
|
124
|
+
viewrecords: true,
|
125
|
+
gridview: true,
|
126
|
+
autoencode: true,
|
127
|
+
caption: "Users Records"
|
128
|
+
});
|
129
|
+
});
|
130
|
+
</script>
|
131
|
+
|
132
|
+
</head>
|
133
|
+
<body>
|
134
|
+
<table id="list"><tr><td></td></tr></table>
|
135
|
+
<div id="pager"></div>
|
136
|
+
</body>
|
137
|
+
</html>-->
|
138
|
+
|
139
|
+
|
140
|
+
</div>
|
141
|
+
<div style="position: absolute; margin: 0px; left: 0px; right: auto; height: 636px; z-index: 0; padding: 5px; background: none repeat scroll 0% 0% rgb(255, 255, 255); border: 1px solid rgb(187, 187, 187); overflow: auto; width: 178px; display: block; visibility: visible;">
|
142
|
+
<div style="font-family:arial;font-size: 10pt;width: 100%;text-align: left;">
|
143
|
+
<% @tables.each do |i| %>
|
144
|
+
<%= link_to i, '/dbconsole/databases/'+i %><br/>
|
145
|
+
<% end%>
|
146
|
+
</div>
|
147
|
+
</div>
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
|
@@ -8,7 +8,9 @@
|
|
8
8
|
</head>
|
9
9
|
<body>
|
10
10
|
|
11
|
+
<!--<div style="position: absolute; margin: 0px; top: 0px; bottom: auto; left: 0px; right: 0px; width: auto; z-index: 0; padding: 10px; background: none repeat scroll 0% 0% rgb(255, 255, 255); border: 1px solid rgb(187, 187, 187); overflow: auto; height: 19px; display: block; visibility: visible;">North</div>
|
12
|
+
<div style="position: absolute; margin: 0px; top: auto; bottom: 0px; left: 0px; right: 0px; width: auto; z-index: 0; padding: 10px; background: none repeat scroll 0% 0% rgb(255, 255, 255); border: 1px solid rgb(187, 187, 187); overflow: auto; height: 19px; display: block; visibility: visible;">South</div>-->
|
11
13
|
<%= yield %>
|
12
14
|
|
13
15
|
</body>
|
14
|
-
</html>
|
16
|
+
</html>
|
data/lib/dbconsole/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dbconsole
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SrinivasaReddy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - ! '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: jqgrid-jquery-rails
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 4.5.201
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 4.5.201
|
55
69
|
description: GUI for configured database.
|
56
70
|
email:
|
57
71
|
- srinivas.r@sigmainfo.net
|
@@ -64,13 +78,44 @@ files:
|
|
64
78
|
- Rakefile
|
65
79
|
- app/assets/javascripts/dbconsole/application.js
|
66
80
|
- app/assets/javascripts/dbconsole/database.js
|
81
|
+
- app/assets/javascripts/dbconsole/jquery-1.10.2.js
|
82
|
+
- app/assets/javascripts/dbconsole/jquery-ui-1.10.4.custom.min.js
|
83
|
+
- app/assets/javascripts/dbconsole/jquery.tablesorter.min.js
|
84
|
+
- app/assets/javascripts/dbconsole/jquery.ui.core.js
|
85
|
+
- app/assets/javascripts/dbconsole/jquery.ui.tabs.js
|
86
|
+
- app/assets/javascripts/dbconsole/jquery.ui.widget.js
|
67
87
|
- app/assets/stylesheets/dbconsole/application.css
|
88
|
+
- app/assets/stylesheets/dbconsole/asc.gif
|
89
|
+
- app/assets/stylesheets/dbconsole/bg.gif
|
68
90
|
- app/assets/stylesheets/dbconsole/database.css
|
91
|
+
- app/assets/stylesheets/dbconsole/demos.css
|
92
|
+
- app/assets/stylesheets/dbconsole/desc.gif
|
93
|
+
- app/assets/stylesheets/dbconsole/images/animated-overlay.gif
|
94
|
+
- app/assets/stylesheets/dbconsole/images/ui-bg_flat_0_aaaaaa_40x100.png
|
95
|
+
- app/assets/stylesheets/dbconsole/images/ui-bg_flat_75_ffffff_40x100.png
|
96
|
+
- app/assets/stylesheets/dbconsole/images/ui-bg_glass_55_fbf9ee_1x400.png
|
97
|
+
- app/assets/stylesheets/dbconsole/images/ui-bg_glass_65_ffffff_1x400.png
|
98
|
+
- app/assets/stylesheets/dbconsole/images/ui-bg_glass_75_dadada_1x400.png
|
99
|
+
- app/assets/stylesheets/dbconsole/images/ui-bg_glass_75_e6e6e6_1x400.png
|
100
|
+
- app/assets/stylesheets/dbconsole/images/ui-bg_glass_95_fef1ec_1x400.png
|
101
|
+
- app/assets/stylesheets/dbconsole/images/ui-bg_highlight-soft_75_cccccc_1x100.png
|
102
|
+
- app/assets/stylesheets/dbconsole/images/ui-icons_222222_256x240.png
|
103
|
+
- app/assets/stylesheets/dbconsole/images/ui-icons_2e83ff_256x240.png
|
104
|
+
- app/assets/stylesheets/dbconsole/images/ui-icons_454545_256x240.png
|
105
|
+
- app/assets/stylesheets/dbconsole/images/ui-icons_888888_256x240.png
|
106
|
+
- app/assets/stylesheets/dbconsole/images/ui-icons_cd0a0a_256x240.png
|
107
|
+
- app/assets/stylesheets/dbconsole/jquery.ui.core.css
|
108
|
+
- app/assets/stylesheets/dbconsole/jquery.ui.tabs.css
|
109
|
+
- app/assets/stylesheets/dbconsole/jquery.ui.theme.css
|
110
|
+
- app/assets/stylesheets/dbconsole/style.css
|
69
111
|
- app/controllers/dbconsole/application_controller.rb
|
70
112
|
- app/controllers/dbconsole/databases_controller.rb
|
113
|
+
- app/controllers/dbconsole/style.css
|
71
114
|
- app/helpers/dbconsole/application_helper.rb
|
72
115
|
- app/helpers/dbconsole/database_helper.rb
|
116
|
+
- app/views/dbconsole/databases/create.html.erb
|
73
117
|
- app/views/dbconsole/databases/index.html.erb
|
118
|
+
- app/views/dbconsole/databases/show.html.erb
|
74
119
|
- app/views/layouts/dbconsole/application.html.erb
|
75
120
|
- config/routes.rb
|
76
121
|
- lib/dbconsole.rb
|