sqlui 0.1.35 → 0.1.36
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 +4 -4
- data/.version +1 -1
- data/client/resources/sqlui.css +108 -8
- data/client/resources/sqlui.html +20 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 984c930fed73d048b7c59e0319a0f80f3f958683f77ff0855b8cd8682d4eb5dd
|
4
|
+
data.tar.gz: e597f406f42dba9e94fbb98645d1e605141e9c22439b8bd102228016a26d34be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0289438154632580104715d3e7b3260c6fcf14da3b1a9a50a71c45d689929ec26f64c91b20397e21974308766f5f3b629938ab5a9ddbb113c78a4645b5106ad
|
7
|
+
data.tar.gz: eec21d05ff15f758917e4c3f99f9bd56762335159800184b989107fb95d2b8b886b986aa7bc4d6bc38fe93117c82d8f92c3e46f9b6c70170c4642abf3d411301
|
data/.version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.36
|
data/client/resources/sqlui.css
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
body {
|
2
2
|
margin: 0;
|
3
|
+
overflow: hidden;
|
3
4
|
}
|
4
5
|
|
5
6
|
h1 {
|
@@ -58,6 +59,9 @@ p {
|
|
58
59
|
flex: 1;
|
59
60
|
padding-left: 15px;
|
60
61
|
font-weight: normal;
|
62
|
+
overflow: hidden;
|
63
|
+
white-space: nowrap;
|
64
|
+
margin: 0;
|
61
65
|
}
|
62
66
|
|
63
67
|
.tabs-box {
|
@@ -70,12 +74,10 @@ p {
|
|
70
74
|
|
71
75
|
.tab-button, .selected-tab-button {
|
72
76
|
border: none;
|
73
|
-
outline: none;
|
74
77
|
text-decoration: none;
|
75
78
|
cursor: pointer;
|
76
79
|
width: 150px;
|
77
|
-
|
78
|
-
margin: 0;
|
80
|
+
margin: 0 2px;
|
79
81
|
display: flex;
|
80
82
|
justify-content: center;
|
81
83
|
background-color: #fff;
|
@@ -113,6 +115,7 @@ p {
|
|
113
115
|
display: flex;
|
114
116
|
border-top: 1px solid #ddd;
|
115
117
|
border-bottom: 1px solid #ddd;
|
118
|
+
padding: 5px;
|
116
119
|
}
|
117
120
|
|
118
121
|
.submit-fill {
|
@@ -120,14 +123,99 @@ p {
|
|
120
123
|
flex: 1
|
121
124
|
}
|
122
125
|
|
123
|
-
.
|
126
|
+
.cancel-button {
|
127
|
+
cursor: pointer;
|
128
|
+
margin: 0;
|
129
|
+
background: none;
|
130
|
+
color: #333;
|
131
|
+
border: 1px solid #888;
|
132
|
+
height: 32px;
|
133
|
+
font-size: 18px;
|
134
|
+
}
|
135
|
+
|
136
|
+
.submit-button-wrapper {
|
124
137
|
cursor: pointer;
|
125
|
-
margin: 5px;
|
126
138
|
border: 1px solid #888;
|
139
|
+
height: 32px;
|
140
|
+
display: flex;
|
141
|
+
flex-direction: row;
|
142
|
+
}
|
143
|
+
|
144
|
+
.submit-button, .submit-dropdown-button {
|
145
|
+
cursor: pointer;
|
146
|
+
border: none;
|
127
147
|
background: none;
|
128
|
-
|
148
|
+
color: #333;
|
149
|
+
height: 100%;
|
150
|
+
margin: 0;
|
151
|
+
}
|
152
|
+
|
153
|
+
.submit-dropdown-content {
|
154
|
+
display: none;
|
155
|
+
position: absolute;
|
156
|
+
background-color: #fff;
|
157
|
+
overflow: auto;
|
158
|
+
border-left: 1px solid #888;
|
159
|
+
border-right: 1px solid #888;
|
160
|
+
border-bottom: 1px solid #888;
|
161
|
+
z-index: 200;
|
162
|
+
flex-direction: column;
|
163
|
+
left: 0;
|
164
|
+
right: 0;
|
165
|
+
}
|
166
|
+
|
167
|
+
.submit-dropdown-content-section {
|
168
|
+
display: flex;
|
169
|
+
flex-direction: column;
|
170
|
+
border-bottom: 1px solid #ddd;
|
171
|
+
}
|
172
|
+
|
173
|
+
.submit-dropdown-content-section:last-child {
|
174
|
+
border-bottom: none;
|
175
|
+
border-bottom: none;
|
176
|
+
}
|
177
|
+
|
178
|
+
.submit-dropdown-button {
|
179
|
+
font-size: 14px;
|
180
|
+
width: 35px;
|
181
|
+
}
|
182
|
+
|
183
|
+
.submit-dropdown-content-show {
|
184
|
+
display: flex;
|
185
|
+
}
|
186
|
+
|
187
|
+
.submit-button {
|
188
|
+
display: none;
|
189
|
+
border-right: 1px solid #888;
|
129
190
|
font-size: 18px;
|
191
|
+
padding: 0 5px;
|
192
|
+
width: 250px;
|
193
|
+
text-align: left;
|
194
|
+
}
|
195
|
+
|
196
|
+
.submit-button-show {
|
197
|
+
display: flex;
|
198
|
+
}
|
199
|
+
|
200
|
+
.submit-dropdown-content-button {
|
201
|
+
display: flex;
|
202
|
+
border: none;
|
130
203
|
color: #333;
|
204
|
+
background: none;
|
205
|
+
margin: 0;
|
206
|
+
padding: 7px 5px;
|
207
|
+
font-size: 18px;
|
208
|
+
cursor: pointer;
|
209
|
+
text-align: left;
|
210
|
+
}
|
211
|
+
|
212
|
+
.submit-dropdown-content-button:hover {
|
213
|
+
background-color: #efefef;
|
214
|
+
}
|
215
|
+
|
216
|
+
.submit-dropdown-content-button:active, .submit-button:active, .cancel-button:active, .submit-dropdown-button:active {
|
217
|
+
background-color: #e6e6e6;
|
218
|
+
outline: none
|
131
219
|
}
|
132
220
|
|
133
221
|
.status {
|
@@ -277,6 +365,14 @@ thead {
|
|
277
365
|
outline: none !important;
|
278
366
|
}
|
279
367
|
|
368
|
+
.structure-wrapper {
|
369
|
+
display: flex;
|
370
|
+
flex: 1;
|
371
|
+
flex-direction: row;
|
372
|
+
align-items: stretch;
|
373
|
+
height: 100%;
|
374
|
+
}
|
375
|
+
|
280
376
|
.schemas, .tables {
|
281
377
|
border: none;
|
282
378
|
display: flex;
|
@@ -319,8 +415,12 @@ select {
|
|
319
415
|
}
|
320
416
|
|
321
417
|
@keyframes spin {
|
322
|
-
0% {
|
323
|
-
|
418
|
+
0% {
|
419
|
+
transform: rotate(0deg);
|
420
|
+
}
|
421
|
+
100% {
|
422
|
+
transform: rotate(360deg);
|
423
|
+
}
|
324
424
|
}
|
325
425
|
|
326
426
|
.result-time {
|
data/client/resources/sqlui.html
CHANGED
@@ -26,10 +26,26 @@
|
|
26
26
|
</div>
|
27
27
|
|
28
28
|
<div id="submit-box" class="submit-box tab-content-element graph-element query-element" style="display: none;">
|
29
|
-
<input id="cancel-button" class="
|
29
|
+
<input id="cancel-button" class="cancel-button" type="button" value="cancel"></input>
|
30
30
|
<div class="submit-fill"></div>
|
31
|
-
<
|
32
|
-
|
31
|
+
<div style="position: relative;">
|
32
|
+
<div class="submit-button-wrapper">
|
33
|
+
<input id="submit-button-all" class="submit-button" type="button"></input>
|
34
|
+
<input id="submit-button-current" class="submit-button submit-button-show" type="button"></input>
|
35
|
+
<input id="submit-dropdown-button" class="submit-dropdown-button" type="button", value="▼"></input>
|
36
|
+
</div>
|
37
|
+
<div id="submit-dropdown-content" class="submit-dropdown-content">
|
38
|
+
<div class="submit-dropdown-content-section">
|
39
|
+
<input id="submit-dropdown-button-current" class="submit-dropdown-content-button" type="button"></input>
|
40
|
+
<input id="submit-dropdown-button-all" class="submit-dropdown-content-button" type="button"></input>
|
41
|
+
<input id="submit-dropdown-button-toggle" class="submit-dropdown-content-button" type="button" value="toggle default"></input>
|
42
|
+
</div>
|
43
|
+
<div class="submit-dropdown-content-section">
|
44
|
+
<input id="submit-dropdown-button-copy-csv" class="submit-dropdown-content-button" type="button" value="copy to clipboard (csv)"></input>
|
45
|
+
<input id="submit-dropdown-button-copy-tsv" class="submit-dropdown-content-button" type="button" value="copy to clipboard (tsv)"></input>
|
46
|
+
</div>
|
47
|
+
</div>
|
48
|
+
</div>
|
33
49
|
</div>
|
34
50
|
|
35
51
|
<div id="result-box" class="result-box tab-content-element query-element" style="display: none;">
|
@@ -47,7 +63,7 @@
|
|
47
63
|
</div>
|
48
64
|
|
49
65
|
<div id="structure-box" class="structure-box tab-content-element structure-element" style="display: none;">
|
50
|
-
<div
|
66
|
+
<div class="structure-wrapper">
|
51
67
|
<select id="schemas" class="schemas" size="4">
|
52
68
|
</select>
|
53
69
|
<select id="tables" class="tables" size="4">
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sqlui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.36
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Dower
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mysql2
|