jqtree-rails 0.1.0 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitmodules +3 -0
- data/Gemfile.lock +24 -22
- data/LICENSE +1 -1
- data/README.md +3 -3
- data/Rakefile +9 -1
- data/VERSION +1 -0
- data/jqtree-rails.gemspec +6 -5
- data/lib/generators/jqtree/install/install_generator.rb +1 -1
- data/lib/jqtree/rails/version.rb +5 -2
- data/vendor/assets/images/jqtree-circle.png +0 -0
- data/vendor/assets/javascripts/tree.jquery.js +1184 -745
- data/vendor/assets/stylesheets/jqtree.css +95 -90
- metadata +41 -9
- data/vendor/assets/images/treeDownTriangleBlack.png +0 -0
- data/vendor/assets/images/treeRightTriangleBlack.png +0 -0
@@ -1,135 +1,140 @@
|
|
1
|
-
ul.tree {
|
2
|
-
|
1
|
+
ul.jqtree-tree {
|
2
|
+
margin-left: 12px;
|
3
3
|
}
|
4
4
|
|
5
|
-
ul.tree,
|
6
|
-
ul.tree ul {
|
7
|
-
|
8
|
-
|
5
|
+
ul.jqtree-tree,
|
6
|
+
ul.jqtree-tree ul {
|
7
|
+
list-style: none outside;
|
8
|
+
margin-bottom: 0;
|
9
|
+
padding: 0;
|
9
10
|
}
|
10
11
|
|
11
|
-
ul.tree ul {
|
12
|
-
|
13
|
-
|
14
|
-
|
12
|
+
ul.jqtree-tree ul {
|
13
|
+
display: block;
|
14
|
+
margin-left: 12px;
|
15
|
+
margin-right: 0;
|
15
16
|
}
|
16
17
|
|
17
|
-
ul.tree li.closed > ul {
|
18
|
-
|
18
|
+
ul.jqtree-tree li.jqtree-closed > ul {
|
19
|
+
display: none;
|
19
20
|
}
|
20
21
|
|
21
|
-
ul.tree li {
|
22
|
-
|
22
|
+
ul.jqtree-tree li {
|
23
|
+
clear: both;
|
23
24
|
}
|
24
25
|
|
25
|
-
ul.tree .toggler {
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
26
|
+
ul.jqtree-tree .jqtree-toggler {
|
27
|
+
display: block;
|
28
|
+
position: absolute;
|
29
|
+
left: -1.5em;
|
30
|
+
top: 30%;
|
31
|
+
*top: 0; /* fix for ie7 */
|
32
|
+
font-size: 12px;
|
33
|
+
line-height: 12px;
|
34
|
+
font-family: arial; /* fix for ie9 */
|
35
|
+
border-bottom: none;
|
36
|
+
color: #333;
|
33
37
|
}
|
34
38
|
|
35
|
-
ul.tree
|
36
|
-
|
39
|
+
ul.jqtree-tree .jqtree-toggler:hover {
|
40
|
+
color: #000;
|
37
41
|
}
|
38
42
|
|
39
|
-
ul.tree
|
40
|
-
|
41
|
-
vertical-align: middle;
|
43
|
+
ul.jqtree-tree div {
|
44
|
+
cursor: pointer;
|
42
45
|
}
|
43
46
|
|
44
|
-
ul.tree
|
45
|
-
|
47
|
+
ul.jqtree-tree .jqtree-title {
|
48
|
+
color: #1C4257;
|
49
|
+
vertical-align: middle;
|
46
50
|
}
|
47
51
|
|
48
|
-
ul.tree li.folder
|
49
|
-
|
52
|
+
ul.jqtree-tree li.jqtree-folder {
|
53
|
+
margin-bottom: 4px;
|
50
54
|
}
|
51
55
|
|
52
|
-
ul.tree li.folder
|
53
|
-
|
56
|
+
ul.jqtree-tree li.jqtree-folder.jqtree-closed {
|
57
|
+
margin-bottom: 1px;
|
54
58
|
}
|
55
59
|
|
56
|
-
ul.tree .
|
57
|
-
|
60
|
+
ul.jqtree-tree li.jqtree-folder .jqtree-title {
|
61
|
+
margin-left: 0;
|
58
62
|
}
|
59
63
|
|
60
|
-
|
61
|
-
|
62
|
-
background: #000;
|
63
|
-
opacity: 0.6;
|
64
|
-
cursor: pointer;
|
65
|
-
padding: 2px 8px;
|
64
|
+
ul.jqtree-tree .jqtree-toggler.jqtree-closed {
|
65
|
+
background-position: 0 0;
|
66
66
|
}
|
67
67
|
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
68
|
+
span.jqtree-dragging {
|
69
|
+
color: #fff;
|
70
|
+
background: #000;
|
71
|
+
opacity: 0.6;
|
72
|
+
cursor: pointer;
|
73
|
+
padding: 2px 8px;
|
72
74
|
}
|
73
75
|
|
74
|
-
ul.tree li.ghost
|
75
|
-
|
76
|
+
ul.jqtree-tree li.jqtree-ghost {
|
77
|
+
position: relative;
|
78
|
+
z-index: 10;
|
79
|
+
margin-right: 10px;
|
76
80
|
}
|
77
81
|
|
78
|
-
ul.tree li.ghost span
|
79
|
-
|
80
|
-
height: 8px;
|
81
|
-
width: 8px;
|
82
|
-
position: absolute;
|
83
|
-
top: -4px;
|
84
|
-
left: 2px;
|
82
|
+
ul.jqtree-tree li.jqtree-ghost span {
|
83
|
+
display: block;
|
85
84
|
}
|
86
85
|
|
87
|
-
ul.tree li.ghost span.
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
86
|
+
ul.jqtree-tree li.jqtree-ghost span.jqtree-circle {
|
87
|
+
background-image: url(jqtree-circle.png);
|
88
|
+
background-repeat: no-repeat;
|
89
|
+
height: 8px;
|
90
|
+
width: 8px;
|
91
|
+
position: absolute;
|
92
|
+
top: -4px;
|
93
|
+
left: 2px;
|
95
94
|
}
|
96
95
|
|
97
|
-
ul.tree li.ghost.
|
98
|
-
|
96
|
+
ul.jqtree-tree li.jqtree-ghost span.jqtree-line {
|
97
|
+
background-color: #0000ff;
|
98
|
+
height: 2px;
|
99
|
+
padding: 0;
|
100
|
+
position: absolute;
|
101
|
+
top: -1px;
|
102
|
+
left: 10px;
|
103
|
+
width: 100%;
|
99
104
|
}
|
100
105
|
|
101
|
-
ul.tree
|
102
|
-
|
103
|
-
display: block;
|
106
|
+
ul.jqtree-tree li.jqtree-ghost.jqtree-inside {
|
107
|
+
margin-left: 48px;
|
104
108
|
}
|
105
109
|
|
106
|
-
ul.tree span.border {
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
110
|
+
ul.jqtree-tree span.jqtree-border {
|
111
|
+
position: absolute;
|
112
|
+
display: block;
|
113
|
+
left: -2px;
|
114
|
+
top: 0;
|
115
|
+
border: solid 2px #0000ff;
|
116
|
+
-webkit-border-radius: 6px;
|
117
|
+
-moz-border-radius: 6px;
|
118
|
+
border-radius: 6px;
|
119
|
+
margin: 0;
|
116
120
|
}
|
117
121
|
|
118
|
-
ul.tree div {
|
119
|
-
|
120
|
-
|
122
|
+
ul.jqtree-tree div {
|
123
|
+
width: 100%; /* todo: why is this in here? */
|
124
|
+
*width: auto; /* ie7 fix; issue 41 */
|
125
|
+
position: relative;
|
121
126
|
}
|
122
127
|
|
123
|
-
ul.tree li.selected > div,
|
124
|
-
ul.tree li.selected > div:hover {
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
128
|
+
ul.jqtree-tree li.jqtree-selected > div,
|
129
|
+
ul.jqtree-tree li.jqtree-selected > div:hover {
|
130
|
+
background-color: #97BDD6;
|
131
|
+
background: -webkit-gradient(linear, left top, left bottom, from(#BEE0F5), to(#89AFCA));
|
132
|
+
background: -moz-linear-gradient(top, #BEE0F5, #89AFCA);
|
133
|
+
background: -ms-linear-gradient(top, #BEE0F5, #89AFCA);
|
134
|
+
background: -o-linear-gradient(top, #BEE0F5, #89AFCA);
|
135
|
+
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
|
131
136
|
}
|
132
137
|
|
133
|
-
ul.tree .moving > div .title {
|
134
|
-
|
138
|
+
ul.jqtree-tree .jqtree-moving > div .jqtree-title {
|
139
|
+
outline: dashed 1px #0000ff;
|
135
140
|
}
|
metadata
CHANGED
@@ -1,19 +1,20 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jqtree-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Ryan Scott Lewis
|
9
|
+
- Mario Uher
|
9
10
|
autorequire:
|
10
11
|
bindir: bin
|
11
12
|
cert_chain: []
|
12
|
-
date: 2012-
|
13
|
+
date: 2012-10-14 00:00:00.000000000 Z
|
13
14
|
dependencies:
|
14
15
|
- !ruby/object:Gem::Dependency
|
15
16
|
name: railties
|
16
|
-
requirement:
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
17
18
|
none: false
|
18
19
|
requirements:
|
19
20
|
- - ! '>='
|
@@ -24,39 +25,70 @@ dependencies:
|
|
24
25
|
version: '5.0'
|
25
26
|
type: :runtime
|
26
27
|
prerelease: false
|
27
|
-
version_requirements:
|
28
|
+
version_requirements: !ruby/object:Gem::Requirement
|
29
|
+
none: false
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 3.2.0
|
34
|
+
- - <
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '5.0'
|
28
37
|
- !ruby/object:Gem::Dependency
|
29
38
|
name: thor
|
30
|
-
requirement:
|
39
|
+
requirement: !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
41
|
+
requirements:
|
42
|
+
- - ~>
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: '0.14'
|
45
|
+
type: :runtime
|
46
|
+
prerelease: false
|
47
|
+
version_requirements: !ruby/object:Gem::Requirement
|
31
48
|
none: false
|
32
49
|
requirements:
|
33
50
|
- - ~>
|
34
51
|
- !ruby/object:Gem::Version
|
35
52
|
version: '0.14'
|
53
|
+
- !ruby/object:Gem::Dependency
|
54
|
+
name: version
|
55
|
+
requirement: !ruby/object:Gem::Requirement
|
56
|
+
none: false
|
57
|
+
requirements:
|
58
|
+
- - ~>
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '1.0'
|
36
61
|
type: :runtime
|
37
62
|
prerelease: false
|
38
|
-
version_requirements:
|
63
|
+
version_requirements: !ruby/object:Gem::Requirement
|
64
|
+
none: false
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.0'
|
39
69
|
description: This gem provides jqTree assets for your Rails 3 application.
|
40
70
|
email:
|
41
71
|
- c00lryguy@gmail.com
|
72
|
+
- uher.mario@gmail.com
|
42
73
|
executables: []
|
43
74
|
extensions: []
|
44
75
|
extra_rdoc_files: []
|
45
76
|
files:
|
46
77
|
- .gitignore
|
78
|
+
- .gitmodules
|
47
79
|
- Gemfile
|
48
80
|
- Gemfile.lock
|
49
81
|
- LICENSE
|
50
82
|
- README.md
|
51
83
|
- Rakefile
|
84
|
+
- VERSION
|
52
85
|
- jqtree-rails.gemspec
|
53
86
|
- lib/generators/jqtree/install/install_generator.rb
|
54
87
|
- lib/jqtree-rails.rb
|
55
88
|
- lib/jqtree/rails.rb
|
56
89
|
- lib/jqtree/rails/engine.rb
|
57
90
|
- lib/jqtree/rails/version.rb
|
58
|
-
- vendor/assets/images/
|
59
|
-
- vendor/assets/images/treeRightTriangleBlack.png
|
91
|
+
- vendor/assets/images/jqtree-circle.png
|
60
92
|
- vendor/assets/javascripts/tree.jquery.js
|
61
93
|
- vendor/assets/stylesheets/jqtree.css
|
62
94
|
homepage: http://rubygems.org/gems/jqtree-rails
|
@@ -79,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
79
111
|
version: 1.3.6
|
80
112
|
requirements: []
|
81
113
|
rubyforge_project:
|
82
|
-
rubygems_version: 1.8.
|
114
|
+
rubygems_version: 1.8.23
|
83
115
|
signing_key:
|
84
116
|
specification_version: 3
|
85
117
|
summary: Use jqTree with Rails 3
|
Binary file
|
Binary file
|