Parent Directory | Revision Log
first cut at web-based SQL generation which I see as replacement for psql if you don't want to ssh into box
1 | #sql { |
2 | background: #eee; |
3 | padding: 1em 1em; |
4 | position: fixed; |
5 | top: 1em; |
6 | right: 1em; |
7 | z-index: 10; |
8 | opacity: .2; |
9 | } |
10 | #sql:hover { |
11 | opacity: 1; |
12 | } |
13 | |
14 | /* short name to minimize generated html length */ |
15 | .o { |
16 | background: #ddf; |
17 | } |
18 | |
19 | |
20 | form#sql input, |
21 | form#sql select { |
22 | float: left; |
23 | } |
24 | |
25 | label { |
26 | float: left; |
27 | clear: left; |
28 | } |
29 | |
30 | label[for=from], |
31 | label[for=where], |
32 | label[for=order_by], |
33 | label[for=limit], |
34 | label[for=offset] { |
35 | width: 9ex; |
36 | } |
37 | |
38 | label input[type=checkbox] { |
39 | margin-left: 5ex; |
40 | } |
ViewVC Help | |
Powered by ViewVC 1.1.26 |