dynatree-rails 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.
- data/README.md +2 -2
- data/lib/dynatree-rails/version.rb +1 -1
- data/vendor/assets/images/dynatree/{skin/icons.gif → icons.gif} +0 -0
- data/vendor/assets/images/dynatree/{skin/loading.gif → loading.gif} +0 -0
- data/vendor/assets/images/dynatree/{skin-vista/icons.gif → vista-icons.gif} +0 -0
- data/vendor/assets/images/dynatree/{skin-vista/loading.gif → vista-loading.gif} +0 -0
- data/vendor/assets/images/dynatree/{skin/vline.gif → vline.gif} +0 -0
- data/vendor/assets/stylesheets/dynatree/skin-vista.sass +4 -5
- data/vendor/assets/stylesheets/dynatree/skin.sass +5 -9
- metadata +7 -8
- data/vendor/assets/images/dynatree/jquery.dynatree.js +0 -3312
data/README.md
CHANGED
@@ -62,9 +62,9 @@ Can be used to turn association select to a tree select, like this:
|
|
62
62
|
var tree = $("#tree").dynatree("getTree"),
|
63
63
|
arr = tree.serializeArray(),
|
64
64
|
sel = $('#checkboxes');
|
65
|
-
sel.find('
|
65
|
+
sel.find(':checked').prop('checked', false);
|
66
66
|
$.each(arr, function(k, v) {
|
67
|
-
sel.find('[value=' + v.value + ']').prop('
|
67
|
+
sel.find('[value=' + v.value + ']').prop('checked', true);
|
68
68
|
});
|
69
69
|
});
|
70
70
|
});
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -63,7 +63,7 @@ span
|
|
63
63
|
vertical-align: top
|
64
64
|
background-repeat: no-repeat
|
65
65
|
background-position: left
|
66
|
-
background-image: image-url("dynatree/
|
66
|
+
background-image: image-url("dynatree/vista_icons.gif")
|
67
67
|
background-position: 0 0
|
68
68
|
|
69
69
|
#dynatree-drop-marker
|
@@ -76,7 +76,7 @@ span
|
|
76
76
|
vertical-align: top
|
77
77
|
background-repeat: no-repeat
|
78
78
|
background-position: left
|
79
|
-
background-image: image-url("dynatree/
|
79
|
+
background-image: image-url("dynatree/vista_icons.gif")
|
80
80
|
background-position: 0 0
|
81
81
|
|
82
82
|
/** Used by 'icon' node option:
|
@@ -132,7 +132,7 @@ span
|
|
132
132
|
|
133
133
|
.dynatree-loading span.dynatree-expander
|
134
134
|
background-position: 0 0
|
135
|
-
background-image: image-url("dynatree/
|
135
|
+
background-image: image-url("dynatree/vista_loading.gif")
|
136
136
|
|
137
137
|
/*******************************************************************************
|
138
138
|
* Checkbox icon
|
@@ -199,11 +199,10 @@ span.dynatree-icon
|
|
199
199
|
/* Status node icons
|
200
200
|
|
201
201
|
.dynatree-statusnode-wait span.dynatree-icon
|
202
|
-
background-image: image-url("dynatree/
|
202
|
+
background-image: image-url("dynatree/vista_loading.gif")
|
203
203
|
|
204
204
|
.dynatree-statusnode-error span.dynatree-icon
|
205
205
|
background-position: 0px -112px
|
206
|
-
/* background-image: image-url("dynatree/skin-vista/ltError.gif");
|
207
206
|
|
208
207
|
/*******************************************************************************
|
209
208
|
* Node titles
|
@@ -28,11 +28,8 @@ ul
|
|
28
28
|
background-attachment: scroll
|
29
29
|
background-color: transparent
|
30
30
|
background-repeat: repeat-y
|
31
|
-
background-image: image-url("dynatree/
|
31
|
+
background-image: image-url("dynatree/vline.gif")
|
32
32
|
background-position: 0 0
|
33
|
-
/*
|
34
|
-
*background-image: image-url("dynatree/skin/icons_96x256.gif");
|
35
|
-
*background-position: -80px -64px;
|
36
33
|
margin: 0
|
37
34
|
padding: 1px 0 0 0
|
38
35
|
&.dynatree-lastsib
|
@@ -65,7 +62,7 @@ span
|
|
65
62
|
vertical-align: top
|
66
63
|
background-repeat: no-repeat
|
67
64
|
background-position: left
|
68
|
-
background-image: image-url("dynatree/
|
65
|
+
background-image: image-url("dynatree/icons.gif")
|
69
66
|
background-position: 0 0
|
70
67
|
|
71
68
|
#dynatree-drop-marker
|
@@ -78,7 +75,7 @@ span
|
|
78
75
|
vertical-align: top
|
79
76
|
background-repeat: no-repeat
|
80
77
|
background-position: left
|
81
|
-
background-image: image-url("dynatree/
|
78
|
+
background-image: image-url("dynatree/icons.gif")
|
82
79
|
background-position: 0 0
|
83
80
|
|
84
81
|
/** Used by 'icon' node option:
|
@@ -127,7 +124,7 @@ span
|
|
127
124
|
|
128
125
|
.dynatree-loading span.dynatree-expander
|
129
126
|
background-position: 0 0
|
130
|
-
background-image: image-url("dynatree/
|
127
|
+
background-image: image-url("dynatree/loading.gif")
|
131
128
|
|
132
129
|
/*******************************************************************************
|
133
130
|
* Checkbox icon
|
@@ -191,11 +188,10 @@ span.dynatree-icon
|
|
191
188
|
/* Status node icons
|
192
189
|
|
193
190
|
.dynatree-statusnode-wait span.dynatree-icon
|
194
|
-
background-image: image-url("dynatree/
|
191
|
+
background-image: image-url("dynatree/loading.gif")
|
195
192
|
|
196
193
|
.dynatree-statusnode-error span.dynatree-icon
|
197
194
|
background-position: 0px -112px
|
198
|
-
/* background-image: image-url("dynatree/skin/ltError.gif");
|
199
195
|
|
200
196
|
/*******************************************************************************
|
201
197
|
* Node titles
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dynatree-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-07-08 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: ''
|
15
15
|
email:
|
@@ -29,12 +29,11 @@ files:
|
|
29
29
|
- lib/dynatree-rails/engine.rb
|
30
30
|
- lib/dynatree-rails/renderer.rb
|
31
31
|
- lib/dynatree-rails/version.rb
|
32
|
-
- vendor/assets/images/dynatree/
|
33
|
-
- vendor/assets/images/dynatree/
|
34
|
-
- vendor/assets/images/dynatree/
|
35
|
-
- vendor/assets/images/dynatree/
|
36
|
-
- vendor/assets/images/dynatree/
|
37
|
-
- vendor/assets/images/dynatree/skin/vline.gif
|
32
|
+
- vendor/assets/images/dynatree/icons.gif
|
33
|
+
- vendor/assets/images/dynatree/loading.gif
|
34
|
+
- vendor/assets/images/dynatree/vista-icons.gif
|
35
|
+
- vendor/assets/images/dynatree/vista-loading.gif
|
36
|
+
- vendor/assets/images/dynatree/vline.gif
|
38
37
|
- vendor/assets/javascripts/dynatree/jquery.dynatree.js
|
39
38
|
- vendor/assets/stylesheets/dynatree/skin-vista.sass
|
40
39
|
- vendor/assets/stylesheets/dynatree/skin.sass
|