redis-ui 0.2.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/VERSION +1 -1
- data/lib/redis-ui.rb +47 -9
- data/lib/redis-ui/version.rb +1 -1
- data/lib/static/js/lib/jstree/jquery.jstree.js +4551 -0
- data/lib/static/js/lib/jstree/themes/apple/bg.jpg +0 -0
- data/lib/static/js/lib/jstree/themes/apple/d.png +0 -0
- data/lib/static/js/lib/jstree/themes/apple/dot_for_ie.gif +0 -0
- data/lib/static/js/lib/jstree/themes/apple/style.css +61 -0
- data/lib/static/js/lib/jstree/themes/apple/throbber.gif +0 -0
- data/lib/static/js/lib/jstree/themes/classic/d.gif +0 -0
- data/lib/static/js/lib/jstree/themes/classic/d.png +0 -0
- data/lib/static/js/lib/jstree/themes/classic/dot_for_ie.gif +0 -0
- data/lib/static/js/lib/jstree/themes/classic/style.css +77 -0
- data/lib/static/js/lib/jstree/themes/classic/throbber.gif +0 -0
- data/lib/static/js/lib/jstree/themes/default-rtl/d.gif +0 -0
- data/lib/static/js/lib/jstree/themes/default-rtl/d.png +0 -0
- data/lib/static/js/lib/jstree/themes/default-rtl/dots.gif +0 -0
- data/lib/static/js/lib/jstree/themes/default-rtl/style.css +84 -0
- data/lib/static/js/lib/jstree/themes/default-rtl/throbber.gif +0 -0
- data/lib/static/js/lib/jstree/themes/default/d.gif +0 -0
- data/lib/static/js/lib/jstree/themes/default/d.png +0 -0
- data/lib/static/js/lib/jstree/themes/default/style.css +74 -0
- data/lib/static/js/lib/jstree/themes/default/throbber.gif +0 -0
- data/lib/static/js/lib/redis-ui.js +33 -1
- data/lib/static/stylesheets/redis-ui.css +64 -11
- data/lib/views/index.html.erb +45 -25
- data/lib/views/layout.html.erb +2 -1
- data/redis-ui.gemspec +1 -0
- metadata +43 -48
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,61 @@
|
|
1
|
+
/*
|
2
|
+
* jsTree apple theme 1.0
|
3
|
+
* Supported features: dots/no-dots, icons/no-icons, focused, loading
|
4
|
+
* Supported plugins: ui (hovered, clicked), checkbox, contextmenu, search
|
5
|
+
*/
|
6
|
+
|
7
|
+
.jstree-apple > ul { background:url("bg.jpg") left top repeat; }
|
8
|
+
.jstree-apple li,
|
9
|
+
.jstree-apple ins { background-image:url("d.png"); background-repeat:no-repeat; background-color:transparent; }
|
10
|
+
.jstree-apple li { background-position:-90px 0; background-repeat:repeat-y; }
|
11
|
+
.jstree-apple li.jstree-last { background:transparent; }
|
12
|
+
.jstree-apple .jstree-open > ins { background-position:-72px 0; }
|
13
|
+
.jstree-apple .jstree-closed > ins { background-position:-54px 0; }
|
14
|
+
.jstree-apple .jstree-leaf > ins { background-position:-36px 0; }
|
15
|
+
|
16
|
+
.jstree-apple a { border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; text-shadow:1px 1px 1px white; }
|
17
|
+
.jstree-apple .jstree-hovered { background:#e7f4f9; border:1px solid #d8f0fa; padding:0 3px 0 1px; text-shadow:1px 1px 1px silver; }
|
18
|
+
.jstree-apple .jstree-clicked { background:#beebff; border:1px solid #99defd; padding:0 3px 0 1px; }
|
19
|
+
.jstree-apple a .jstree-icon { background-position:-56px -20px; }
|
20
|
+
.jstree-apple a.jstree-loading .jstree-icon { background:url("throbber.gif") center center no-repeat !important; }
|
21
|
+
|
22
|
+
.jstree-apple.jstree-focused { background:white; }
|
23
|
+
|
24
|
+
.jstree-apple .jstree-no-dots li,
|
25
|
+
.jstree-apple .jstree-no-dots .jstree-leaf > ins { background:transparent; }
|
26
|
+
.jstree-apple .jstree-no-dots .jstree-open > ins { background-position:-18px 0; }
|
27
|
+
.jstree-apple .jstree-no-dots .jstree-closed > ins { background-position:0 0; }
|
28
|
+
|
29
|
+
.jstree-apple .jstree-no-icons a .jstree-icon { display:none; }
|
30
|
+
|
31
|
+
.jstree-apple .jstree-search { font-style:italic; }
|
32
|
+
|
33
|
+
.jstree-apple .jstree-no-icons .jstree-checkbox { display:inline-block; }
|
34
|
+
.jstree-apple .jstree-no-checkboxes .jstree-checkbox { display:none !important; }
|
35
|
+
.jstree-apple .jstree-checked > a > .jstree-checkbox { background-position:-38px -19px; }
|
36
|
+
.jstree-apple .jstree-unchecked > a > .jstree-checkbox { background-position:-2px -19px; }
|
37
|
+
.jstree-apple .jstree-undetermined > a > .jstree-checkbox { background-position:-20px -19px; }
|
38
|
+
.jstree-apple .jstree-checked > a > .checkbox:hover { background-position:-38px -37px; }
|
39
|
+
.jstree-apple .jstree-unchecked > a > .jstree-checkbox:hover { background-position:-2px -37px; }
|
40
|
+
.jstree-apple .jstree-undetermined > a > .jstree-checkbox:hover { background-position:-20px -37px; }
|
41
|
+
|
42
|
+
#vakata-dragged.jstree-apple ins { background:transparent !important; }
|
43
|
+
#vakata-dragged.jstree-apple .jstree-ok { background:url("d.png") -2px -53px no-repeat !important; }
|
44
|
+
#vakata-dragged.jstree-apple .jstree-invalid { background:url("d.png") -18px -53px no-repeat !important; }
|
45
|
+
#jstree-marker.jstree-apple { background:url("d.png") -41px -57px no-repeat !important; text-indent:-100px; }
|
46
|
+
|
47
|
+
.jstree-apple a.jstree-search { color:aqua; }
|
48
|
+
.jstree-apple .jstree-locked a { color:silver; cursor:default; }
|
49
|
+
|
50
|
+
#vakata-contextmenu.jstree-apple-context,
|
51
|
+
#vakata-contextmenu.jstree-apple-context li ul { background:#f0f0f0; border:1px solid #979797; -moz-box-shadow: 1px 1px 2px #999; -webkit-box-shadow: 1px 1px 2px #999; box-shadow: 1px 1px 2px #999; }
|
52
|
+
#vakata-contextmenu.jstree-apple-context li { }
|
53
|
+
#vakata-contextmenu.jstree-apple-context a { color:black; }
|
54
|
+
#vakata-contextmenu.jstree-apple-context a:hover,
|
55
|
+
#vakata-contextmenu.jstree-apple-context .vakata-hover > a { padding:0 5px; background:#e8eff7; border:1px solid #aecff7; color:black; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
|
56
|
+
#vakata-contextmenu.jstree-apple-context li.jstree-contextmenu-disabled a,
|
57
|
+
#vakata-contextmenu.jstree-apple-context li.jstree-contextmenu-disabled a:hover { color:silver; background:transparent; border:0; padding:1px 4px; }
|
58
|
+
#vakata-contextmenu.jstree-apple-context li.vakata-separator { background:white; border-top:1px solid #e0e0e0; margin:0; }
|
59
|
+
#vakata-contextmenu.jstree-apple-context li ul { margin-left:-4px; }
|
60
|
+
|
61
|
+
/* TODO: IE6 support - the `>` selectors */
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,77 @@
|
|
1
|
+
/*
|
2
|
+
* jsTree classic theme 1.0
|
3
|
+
* Supported features: dots/no-dots, icons/no-icons, focused, loading
|
4
|
+
* Supported plugins: ui (hovered, clicked), checkbox, contextmenu, search
|
5
|
+
*/
|
6
|
+
|
7
|
+
.jstree-classic li,
|
8
|
+
.jstree-classic ins { background-image:url("d.png"); background-repeat:no-repeat; background-color:transparent; }
|
9
|
+
.jstree-classic li { background-position:-90px 0; background-repeat:repeat-y; }
|
10
|
+
.jstree-classic li.jstree-last { background:transparent; }
|
11
|
+
.jstree-classic .jstree-open > ins { background-position:-72px 0; }
|
12
|
+
.jstree-classic .jstree-closed > ins { background-position:-54px 0; }
|
13
|
+
.jstree-classic .jstree-leaf > ins { background-position:-36px 0; }
|
14
|
+
|
15
|
+
.jstree-classic .jstree-hovered { background:#e7f4f9; border:1px solid #e7f4f9; padding:0 2px 0 1px; }
|
16
|
+
.jstree-classic .jstree-clicked { background:navy; border:1px solid navy; padding:0 2px 0 1px; color:white; }
|
17
|
+
.jstree-classic a .jstree-icon { background-position:-56px -19px; }
|
18
|
+
.jstree-classic .jstree-open > a .jstree-icon { background-position:-56px -36px; }
|
19
|
+
.jstree-classic a.jstree-loading .jstree-icon { background:url("throbber.gif") center center no-repeat !important; }
|
20
|
+
|
21
|
+
.jstree-classic.jstree-focused { background:white; }
|
22
|
+
|
23
|
+
.jstree-classic .jstree-no-dots li,
|
24
|
+
.jstree-classic .jstree-no-dots .jstree-leaf > ins { background:transparent; }
|
25
|
+
.jstree-classic .jstree-no-dots .jstree-open > ins { background-position:-18px 0; }
|
26
|
+
.jstree-classic .jstree-no-dots .jstree-closed > ins { background-position:0 0; }
|
27
|
+
|
28
|
+
.jstree-classic .jstree-no-icons a .jstree-icon { display:none; }
|
29
|
+
|
30
|
+
.jstree-classic .jstree-search { font-style:italic; }
|
31
|
+
|
32
|
+
.jstree-classic .jstree-no-icons .jstree-checkbox { display:inline-block; }
|
33
|
+
.jstree-classic .jstree-no-checkboxes .jstree-checkbox { display:none !important; }
|
34
|
+
.jstree-classic .jstree-checked > a > .jstree-checkbox { background-position:-38px -19px; }
|
35
|
+
.jstree-classic .jstree-unchecked > a > .jstree-checkbox { background-position:-2px -19px; }
|
36
|
+
.jstree-classic .jstree-undetermined > a > .jstree-checkbox { background-position:-20px -19px; }
|
37
|
+
.jstree-classic .jstree-checked > a > .jstree-checkbox:hover { background-position:-38px -37px; }
|
38
|
+
.jstree-classic .jstree-unchecked > a > .jstree-checkbox:hover { background-position:-2px -37px; }
|
39
|
+
.jstree-classic .jstree-undetermined > a > .jstree-checkbox:hover { background-position:-20px -37px; }
|
40
|
+
|
41
|
+
#vakata-dragged.jstree-classic ins { background:transparent !important; }
|
42
|
+
#vakata-dragged.jstree-classic .jstree-ok { background:url("d.png") -2px -53px no-repeat !important; }
|
43
|
+
#vakata-dragged.jstree-classic .jstree-invalid { background:url("d.png") -18px -53px no-repeat !important; }
|
44
|
+
#jstree-marker.jstree-classic { background:url("d.png") -41px -57px no-repeat !important; text-indent:-100px; }
|
45
|
+
|
46
|
+
.jstree-classic a.jstree-search { color:aqua; }
|
47
|
+
.jstree-classic .jstree-locked a { color:silver; cursor:default; }
|
48
|
+
|
49
|
+
#vakata-contextmenu.jstree-classic-context,
|
50
|
+
#vakata-contextmenu.jstree-classic-context li ul { background:#f0f0f0; border:1px solid #979797; -moz-box-shadow: 1px 1px 2px #999; -webkit-box-shadow: 1px 1px 2px #999; box-shadow: 1px 1px 2px #999; }
|
51
|
+
#vakata-contextmenu.jstree-classic-context li { }
|
52
|
+
#vakata-contextmenu.jstree-classic-context a { color:black; }
|
53
|
+
#vakata-contextmenu.jstree-classic-context a:hover,
|
54
|
+
#vakata-contextmenu.jstree-classic-context .vakata-hover > a { padding:0 5px; background:#e8eff7; border:1px solid #aecff7; color:black; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
|
55
|
+
#vakata-contextmenu.jstree-classic-context li.jstree-contextmenu-disabled a,
|
56
|
+
#vakata-contextmenu.jstree-classic-context li.jstree-contextmenu-disabled a:hover { color:silver; background:transparent; border:0; padding:1px 4px; }
|
57
|
+
#vakata-contextmenu.jstree-classic-context li.vakata-separator { background:white; border-top:1px solid #e0e0e0; margin:0; }
|
58
|
+
#vakata-contextmenu.jstree-classic-context li ul { margin-left:-4px; }
|
59
|
+
|
60
|
+
/* IE6 BEGIN */
|
61
|
+
.jstree-classic li,
|
62
|
+
.jstree-classic ins,
|
63
|
+
#vakata-dragged.jstree-classic .jstree-invalid,
|
64
|
+
#vakata-dragged.jstree-classic .jstree-ok,
|
65
|
+
#jstree-marker.jstree-classic { _background-image:url("d.gif"); }
|
66
|
+
.jstree-classic .jstree-open ins { _background-position:-72px 0; }
|
67
|
+
.jstree-classic .jstree-closed ins { _background-position:-54px 0; }
|
68
|
+
.jstree-classic .jstree-leaf ins { _background-position:-36px 0; }
|
69
|
+
.jstree-classic .jstree-open a ins.jstree-icon { _background-position:-56px -36px; }
|
70
|
+
.jstree-classic .jstree-closed a ins.jstree-icon { _background-position:-56px -19px; }
|
71
|
+
.jstree-classic .jstree-leaf a ins.jstree-icon { _background-position:-56px -19px; }
|
72
|
+
#vakata-contextmenu.jstree-classic-context ins { _display:none; }
|
73
|
+
#vakata-contextmenu.jstree-classic-context li { _zoom:1; }
|
74
|
+
.jstree-classic .jstree-undetermined a .jstree-checkbox { _background-position:-20px -19px; }
|
75
|
+
.jstree-classic .jstree-checked a .jstree-checkbox { _background-position:-38px -19px; }
|
76
|
+
.jstree-classic .jstree-unchecked a .jstree-checkbox { _background-position:-2px -19px; }
|
77
|
+
/* IE6 END */
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,84 @@
|
|
1
|
+
/*
|
2
|
+
* jsTree default-rtl theme 1.0
|
3
|
+
* Supported features: dots/no-dots, icons/no-icons, focused, loading
|
4
|
+
* Supported plugins: ui (hovered, clicked), checkbox, contextmenu, search
|
5
|
+
*/
|
6
|
+
|
7
|
+
.jstree-default-rtl li,
|
8
|
+
.jstree-default-rtl ins { background-image:url("d.png"); background-repeat:no-repeat; background-color:transparent; }
|
9
|
+
.jstree-default-rtl li { background-position:-90px 0; background-repeat:repeat-y; }
|
10
|
+
.jstree-default-rtl li.jstree-last { background:transparent; }
|
11
|
+
.jstree-default-rtl .jstree-open > ins { background-position:-72px 0; }
|
12
|
+
.jstree-default-rtl .jstree-closed > ins { background-position:-54px 0; }
|
13
|
+
.jstree-default-rtl .jstree-leaf > ins { background-position:-36px 0; }
|
14
|
+
|
15
|
+
.jstree-default-rtl .jstree-hovered { background:#e7f4f9; border:1px solid #d8f0fa; padding:0 2px 0 1px; }
|
16
|
+
.jstree-default-rtl .jstree-clicked { background:#beebff; border:1px solid #99defd; padding:0 2px 0 1px; }
|
17
|
+
.jstree-default-rtl a .jstree-icon { background-position:-56px -19px; }
|
18
|
+
.jstree-default-rtl a.jstree-loading .jstree-icon { background:url("throbber.gif") center center no-repeat !important; }
|
19
|
+
|
20
|
+
.jstree-default-rtl.jstree-focused { background:#ffffee; }
|
21
|
+
|
22
|
+
.jstree-default-rtl .jstree-no-dots li,
|
23
|
+
.jstree-default-rtl .jstree-no-dots .jstree-leaf > ins { background:transparent; }
|
24
|
+
.jstree-default-rtl .jstree-no-dots .jstree-open > ins { background-position:-18px 0; }
|
25
|
+
.jstree-default-rtl .jstree-no-dots .jstree-closed > ins { background-position:0 0; }
|
26
|
+
|
27
|
+
.jstree-default-rtl .jstree-no-icons a .jstree-icon { display:none; }
|
28
|
+
|
29
|
+
.jstree-default-rtl .jstree-search { font-style:italic; }
|
30
|
+
|
31
|
+
.jstree-default-rtl .jstree-no-icons .jstree-checkbox { display:inline-block; }
|
32
|
+
.jstree-default-rtl .jstree-no-checkboxes .jstree-checkbox { display:none !important; }
|
33
|
+
.jstree-default-rtl .jstree-checked > a > .jstree-checkbox { background-position:-38px -19px; }
|
34
|
+
.jstree-default-rtl .jstree-unchecked > a > .jstree-checkbox { background-position:-2px -19px; }
|
35
|
+
.jstree-default-rtl .jstree-undetermined > a > .jstree-checkbox { background-position:-20px -19px; }
|
36
|
+
.jstree-default-rtl .jstree-checked > a > .jstree-checkbox:hover { background-position:-38px -37px; }
|
37
|
+
.jstree-default-rtl .jstree-unchecked > a > .jstree-checkbox:hover { background-position:-2px -37px; }
|
38
|
+
.jstree-default-rtl .jstree-undetermined > a > .jstree-checkbox:hover { background-position:-20px -37px; }
|
39
|
+
|
40
|
+
#vakata-dragged.jstree-default-rtl ins { background:transparent !important; }
|
41
|
+
#vakata-dragged.jstree-default-rtl .jstree-ok { background:url("d.png") -2px -53px no-repeat !important; }
|
42
|
+
#vakata-dragged.jstree-default-rtl .jstree-invalid { background:url("d.png") -18px -53px no-repeat !important; }
|
43
|
+
#jstree-marker.jstree-default-rtl { background:url("d.png") -41px -57px no-repeat !important; text-indent:-100px; }
|
44
|
+
|
45
|
+
.jstree-default-rtl a.jstree-search { color:aqua; }
|
46
|
+
.jstree-default-rtl .jstree-locked a { color:silver; cursor:default; }
|
47
|
+
|
48
|
+
#vakata-contextmenu.jstree-default-rtl-context,
|
49
|
+
#vakata-contextmenu.jstree-default-rtl-context li ul { background:#f0f0f0; border:1px solid #979797; -moz-box-shadow: 1px 1px 2px #999; -webkit-box-shadow: 1px 1px 2px #999; box-shadow: 1px 1px 2px #999; }
|
50
|
+
#vakata-contextmenu.jstree-default-rtl-context li { }
|
51
|
+
#vakata-contextmenu.jstree-default-rtl-context a { color:black; }
|
52
|
+
#vakata-contextmenu.jstree-default-rtl-context a:hover,
|
53
|
+
#vakata-contextmenu.jstree-default-rtl-context .vakata-hover > a { padding:0 5px; background:#e8eff7; border:1px solid #aecff7; color:black; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
|
54
|
+
#vakata-contextmenu.jstree-default-rtl-context li.jstree-contextmenu-disabled a,
|
55
|
+
#vakata-contextmenu.jstree-default-rtl-context li.jstree-contextmenu-disabled a:hover { color:silver; background:transparent; border:0; padding:1px 4px; }
|
56
|
+
#vakata-contextmenu.jstree-default-rtl-context li.vakata-separator { background:white; border-top:1px solid #e0e0e0; margin:0; }
|
57
|
+
#vakata-contextmenu.jstree-default-rtl-context li ul { margin-left:-4px; }
|
58
|
+
|
59
|
+
/* IE6 BEGIN */
|
60
|
+
.jstree-default-rtl li,
|
61
|
+
.jstree-default-rtl ins,
|
62
|
+
#vakata-dragged.jstree-default-rtl .jstree-invalid,
|
63
|
+
#vakata-dragged.jstree-default-rtl .jstree-ok,
|
64
|
+
#jstree-marker.jstree-default-rtl { _background-image:url("d.gif"); }
|
65
|
+
.jstree-default-rtl .jstree-open ins { _background-position:-72px 0; }
|
66
|
+
.jstree-default-rtl .jstree-closed ins { _background-position:-54px 0; }
|
67
|
+
.jstree-default-rtl .jstree-leaf ins { _background-position:-36px 0; }
|
68
|
+
.jstree-default-rtl a ins.jstree-icon { _background-position:-56px -19px; }
|
69
|
+
#vakata-contextmenu.jstree-default-rtl-context ins { _display:none; }
|
70
|
+
#vakata-contextmenu.jstree-default-rtl-context li { _zoom:1; }
|
71
|
+
.jstree-default-rtl .jstree-undetermined a .jstree-checkbox { _background-position:-18px -19px; }
|
72
|
+
.jstree-default-rtl .jstree-checked a .jstree-checkbox { _background-position:-36px -19px; }
|
73
|
+
.jstree-default-rtl .jstree-unchecked a .jstree-checkbox { _background-position:0px -19px; }
|
74
|
+
/* IE6 END */
|
75
|
+
|
76
|
+
/* RTL part */
|
77
|
+
.jstree-default-rtl .jstree-hovered, .jstree-default-rtl .jstree-clicked { padding:0 1px 0 2px; }
|
78
|
+
.jstree-default-rtl li { background-image:url("dots.gif"); background-position: 100% 0px; }
|
79
|
+
.jstree-default-rtl .jstree-checked > a > .jstree-checkbox { background-position:-36px -19px; margin-left:2px; }
|
80
|
+
.jstree-default-rtl .jstree-unchecked > a > .jstree-checkbox { background-position:0px -19px; margin-left:2px; }
|
81
|
+
.jstree-default-rtl .jstree-undetermined > a > .jstree-checkbox { background-position:-18px -19px; margin-left:2px; }
|
82
|
+
.jstree-default-rtl .jstree-checked > a > .jstree-checkbox:hover { background-position:-36px -37px; }
|
83
|
+
.jstree-default-rtl .jstree-unchecked > a > .jstree-checkbox:hover { background-position:0px -37px; }
|
84
|
+
.jstree-default-rtl .jstree-undetermined > a > .jstree-checkbox:hover { background-position:-18px -37px; }
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,74 @@
|
|
1
|
+
/*
|
2
|
+
* jsTree default theme 1.0
|
3
|
+
* Supported features: dots/no-dots, icons/no-icons, focused, loading
|
4
|
+
* Supported plugins: ui (hovered, clicked), checkbox, contextmenu, search
|
5
|
+
*/
|
6
|
+
|
7
|
+
.jstree-default li,
|
8
|
+
.jstree-default ins { background-image:url("d.png"); background-repeat:no-repeat; background-color:transparent; }
|
9
|
+
.jstree-default li { background-position:-90px 0; background-repeat:repeat-y; }
|
10
|
+
.jstree-default li.jstree-last { background:transparent; }
|
11
|
+
.jstree-default .jstree-open > ins { background-position:-72px 0; }
|
12
|
+
.jstree-default .jstree-closed > ins { background-position:-54px 0; }
|
13
|
+
.jstree-default .jstree-leaf > ins { background-position:-36px 0; }
|
14
|
+
|
15
|
+
.jstree-default .jstree-hovered { background:#e7f4f9; border:1px solid #d8f0fa; padding:0 2px 0 1px; }
|
16
|
+
.jstree-default .jstree-clicked { background:#beebff; border:1px solid #99defd; padding:0 2px 0 1px; }
|
17
|
+
.jstree-default a .jstree-icon { background-position:-56px -19px; }
|
18
|
+
.jstree-default a.jstree-loading .jstree-icon { background:url("throbber.gif") center center no-repeat !important; }
|
19
|
+
|
20
|
+
.jstree-default.jstree-focused { background:#ffffee; }
|
21
|
+
|
22
|
+
.jstree-default .jstree-no-dots li,
|
23
|
+
.jstree-default .jstree-no-dots .jstree-leaf > ins { background:transparent; }
|
24
|
+
.jstree-default .jstree-no-dots .jstree-open > ins { background-position:-18px 0; }
|
25
|
+
.jstree-default .jstree-no-dots .jstree-closed > ins { background-position:0 0; }
|
26
|
+
|
27
|
+
.jstree-default .jstree-no-icons a .jstree-icon { display:none; }
|
28
|
+
|
29
|
+
.jstree-default .jstree-search { font-style:italic; }
|
30
|
+
|
31
|
+
.jstree-default .jstree-no-icons .jstree-checkbox { display:inline-block; }
|
32
|
+
.jstree-default .jstree-no-checkboxes .jstree-checkbox { display:none !important; }
|
33
|
+
.jstree-default .jstree-checked > a > .jstree-checkbox { background-position:-38px -19px; }
|
34
|
+
.jstree-default .jstree-unchecked > a > .jstree-checkbox { background-position:-2px -19px; }
|
35
|
+
.jstree-default .jstree-undetermined > a > .jstree-checkbox { background-position:-20px -19px; }
|
36
|
+
.jstree-default .jstree-checked > a > .jstree-checkbox:hover { background-position:-38px -37px; }
|
37
|
+
.jstree-default .jstree-unchecked > a > .jstree-checkbox:hover { background-position:-2px -37px; }
|
38
|
+
.jstree-default .jstree-undetermined > a > .jstree-checkbox:hover { background-position:-20px -37px; }
|
39
|
+
|
40
|
+
#vakata-dragged.jstree-default ins { background:transparent !important; }
|
41
|
+
#vakata-dragged.jstree-default .jstree-ok { background:url("d.png") -2px -53px no-repeat !important; }
|
42
|
+
#vakata-dragged.jstree-default .jstree-invalid { background:url("d.png") -18px -53px no-repeat !important; }
|
43
|
+
#jstree-marker.jstree-default { background:url("d.png") -41px -57px no-repeat !important; text-indent:-100px; }
|
44
|
+
|
45
|
+
.jstree-default a.jstree-search { color:aqua; }
|
46
|
+
.jstree-default .jstree-locked a { color:silver; cursor:default; }
|
47
|
+
|
48
|
+
#vakata-contextmenu.jstree-default-context,
|
49
|
+
#vakata-contextmenu.jstree-default-context li ul { background:#f0f0f0; border:1px solid #979797; -moz-box-shadow: 1px 1px 2px #999; -webkit-box-shadow: 1px 1px 2px #999; box-shadow: 1px 1px 2px #999; }
|
50
|
+
#vakata-contextmenu.jstree-default-context li { }
|
51
|
+
#vakata-contextmenu.jstree-default-context a { color:black; }
|
52
|
+
#vakata-contextmenu.jstree-default-context a:hover,
|
53
|
+
#vakata-contextmenu.jstree-default-context .vakata-hover > a { padding:0 5px; background:#e8eff7; border:1px solid #aecff7; color:black; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
|
54
|
+
#vakata-contextmenu.jstree-default-context li.jstree-contextmenu-disabled a,
|
55
|
+
#vakata-contextmenu.jstree-default-context li.jstree-contextmenu-disabled a:hover { color:silver; background:transparent; border:0; padding:1px 4px; }
|
56
|
+
#vakata-contextmenu.jstree-default-context li.vakata-separator { background:white; border-top:1px solid #e0e0e0; margin:0; }
|
57
|
+
#vakata-contextmenu.jstree-default-context li ul { margin-left:-4px; }
|
58
|
+
|
59
|
+
/* IE6 BEGIN */
|
60
|
+
.jstree-default li,
|
61
|
+
.jstree-default ins,
|
62
|
+
#vakata-dragged.jstree-default .jstree-invalid,
|
63
|
+
#vakata-dragged.jstree-default .jstree-ok,
|
64
|
+
#jstree-marker.jstree-default { _background-image:url("d.gif"); }
|
65
|
+
.jstree-default .jstree-open ins { _background-position:-72px 0; }
|
66
|
+
.jstree-default .jstree-closed ins { _background-position:-54px 0; }
|
67
|
+
.jstree-default .jstree-leaf ins { _background-position:-36px 0; }
|
68
|
+
.jstree-default a ins.jstree-icon { _background-position:-56px -19px; }
|
69
|
+
#vakata-contextmenu.jstree-default-context ins { _display:none; }
|
70
|
+
#vakata-contextmenu.jstree-default-context li { _zoom:1; }
|
71
|
+
.jstree-default .jstree-undetermined a .jstree-checkbox { _background-position:-20px -19px; }
|
72
|
+
.jstree-default .jstree-checked a .jstree-checkbox { _background-position:-38px -19px; }
|
73
|
+
.jstree-default .jstree-unchecked a .jstree-checkbox { _background-position:-2px -19px; }
|
74
|
+
/* IE6 END */
|
Binary file
|
@@ -1,3 +1,35 @@
|
|
1
1
|
$(function() {
|
2
|
-
|
2
|
+
|
3
|
+
$('table.keys').dataTable({
|
4
|
+
"bStateSave": true
|
5
|
+
});
|
6
|
+
|
7
|
+
$('#namespace_tree').bind("loaded.jstree", function (event, data) {
|
8
|
+
$(this).jstree("open_all");
|
9
|
+
}).jstree({
|
10
|
+
"core" : {
|
11
|
+
"animation": 20
|
12
|
+
},
|
13
|
+
"plugins" : [ "themes", "html_data" ]
|
14
|
+
});
|
15
|
+
|
16
|
+
|
17
|
+
function maybe_auto_refresh() {
|
18
|
+
if($('#auto-refresh').prop('checked')) {
|
19
|
+
$.ajax({
|
20
|
+
type: 'get',
|
21
|
+
dataType: 'html',
|
22
|
+
accepts: 'html',
|
23
|
+
url: window.location.href,
|
24
|
+
success: function(response) {
|
25
|
+
$('#namespaces').replaceWith($('#namespaces', response))
|
26
|
+
$('#data_table').replaceWith($('#data_table', response))
|
27
|
+
}
|
28
|
+
});
|
29
|
+
}
|
30
|
+
window.setTimeout(maybe_auto_refresh, 2000);
|
31
|
+
}
|
32
|
+
|
33
|
+
//window.setTimeout(maybe_auto_refresh, 2000);
|
34
|
+
|
3
35
|
})
|
@@ -5,31 +5,56 @@
|
|
5
5
|
|
6
6
|
body {
|
7
7
|
font: 12px/16px Helvetica,Arial,sans-serif;
|
8
|
+
background-color: #dadada;
|
8
9
|
}
|
9
10
|
|
10
11
|
#container {
|
11
12
|
margin: 1em;
|
12
13
|
}
|
13
14
|
|
14
|
-
h1{
|
15
|
-
|
15
|
+
h1 {
|
16
|
+
color: #dc2f17;
|
17
|
+
}
|
18
|
+
h2 {
|
19
|
+
margin: 0 0 0.5em 0;
|
20
|
+
}
|
21
|
+
|
22
|
+
|
23
|
+
|
24
|
+
.panel {
|
25
|
+
border-radius: 5px;
|
26
|
+
background-color: white;
|
27
|
+
padding: 20px;
|
28
|
+
margin: 10px;
|
29
|
+
overflow: hidden;
|
30
|
+
}
|
16
31
|
|
17
|
-
|
32
|
+
.clear {
|
33
|
+
clear:both;
|
34
|
+
}
|
35
|
+
|
36
|
+
|
37
|
+
table.dataTable {
|
18
38
|
border-collapse: collapse;
|
19
|
-
|
20
|
-
margin: 1em
|
21
|
-
|
39
|
+
border: 1px solid #ddd;
|
40
|
+
margin: 1em 0 !important;
|
41
|
+
color: #666;
|
42
|
+
}
|
43
|
+
|
44
|
+
.dataTables_length,
|
45
|
+
.dataTables_filter {
|
46
|
+
margin-bottom: 10px;
|
22
47
|
}
|
23
48
|
|
24
49
|
table td a{display:block; color:#333;}
|
25
50
|
|
26
51
|
table th {
|
27
52
|
text-align:left;
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
53
|
+
padding:0.5em;
|
54
|
+
border-right: 1px solid #CCCCCC;
|
55
|
+
border-top:1px solid #ddd;
|
56
|
+
border-bottom:1px solid #bbb;
|
57
|
+
color:#000;
|
33
58
|
}
|
34
59
|
|
35
60
|
table tr:nth-child(even) {
|
@@ -48,9 +73,37 @@ table td {
|
|
48
73
|
table ul {
|
49
74
|
list-style: none;
|
50
75
|
}
|
76
|
+
|
51
77
|
table li {
|
52
78
|
padding-bottom: 3px;
|
79
|
+
text-indent: -1ex;
|
80
|
+
margin-left: 1ex;
|
53
81
|
}
|
54
82
|
|
55
83
|
#container>ul{padding:0.5em; margin:1em;}
|
56
84
|
#container>li{padding:0.5em 0;}
|
85
|
+
|
86
|
+
#namespaces {
|
87
|
+
float: left;
|
88
|
+
width: 25%;
|
89
|
+
clear: left;
|
90
|
+
margin-top: 0;
|
91
|
+
}
|
92
|
+
|
93
|
+
#namespace_tree {
|
94
|
+
overflow: hidden;
|
95
|
+
border: 1px solid #ddd;
|
96
|
+
}
|
97
|
+
#namespace_tree ul {
|
98
|
+
padding-left: 10px;
|
99
|
+
}
|
100
|
+
|
101
|
+
#data_table {
|
102
|
+
|
103
|
+
}
|
104
|
+
|
105
|
+
#options {
|
106
|
+
float: left;
|
107
|
+
width: 25%;
|
108
|
+
margin-top: 0;
|
109
|
+
}
|