wheels 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (243) hide show
  1. data/Gemfile +20 -0
  2. data/VERSION +1 -1
  3. data/app/controllers/app_configs_controller.rb +12 -0
  4. data/app/controllers/application_controller.rb +39 -0
  5. data/app/helpers/application_helper.rb +24 -2
  6. data/app/models/sitemap.rb +7 -0
  7. data/app/views/app_configs/css.css.haml +2 -0
  8. data/app/views/layouts/application.html.haml +21 -15
  9. data/app/views/pages/_form_fields.html.haml +2 -0
  10. data/app/views/sitemaps/index.html.haml +68 -76
  11. data/db/migrate/0000_devise_create_users.rb +26 -0
  12. data/db/migrate/0180_acts_as_taggable_on_migration.rb +28 -0
  13. data/lib/generators/app_layout/app_layout_generator.rb +1 -1
  14. data/lib/generators/{wheels/core_extensions.rb → core_extensions.rb} +42 -1
  15. data/lib/generators/recipes/wheels.rb +46 -0
  16. data/lib/generators/recipes/wheels_update.rb +18 -0
  17. data/lib/generators/wheels/wheels_generator.rb +3 -1
  18. data/lib/generators/wheels_checkout_assets/USAGE +8 -0
  19. data/lib/generators/wheels_checkout_assets/wheels_checkout_assets_generator.rb +9 -0
  20. data/lib/generators/wheels_checkout_assets_readonly/USAGE +8 -0
  21. data/lib/generators/wheels_checkout_assets_readonly/wheels_checkout_assets_readonly_generator.rb +10 -0
  22. data/lib/generators/wheels_controller/USAGE +8 -0
  23. data/lib/generators/wheels_controller/wheels_controller_generator.rb +14 -0
  24. data/lib/generators/{wheels_views → wheels_model}/USAGE +1 -1
  25. data/lib/generators/wheels_model/wheels_model_generator.rb +14 -0
  26. data/lib/generators/{update_wheels/update_wheels_generator.rb → wheels_update/wheels_update_generator.rb} +7 -13
  27. data/lib/generators/wheels_view/USAGE +8 -0
  28. data/lib/generators/wheels_view/wheels_view_generator.rb +14 -0
  29. data/lib/wheels/routes.rb +7 -1
  30. data/wheels.gemspec +44 -218
  31. metadata +44 -218
  32. data/lib/generators/app_layout/core_extensions.rb +0 -51
  33. data/lib/generators/update_wheels/core_extensions.rb +0 -51
  34. data/lib/generators/update_wheels/recipes/wheels.rb +0 -11
  35. data/lib/generators/update_wheels/templates/haml/app/views/layouts/application.html.haml +0 -9
  36. data/lib/generators/wheels/install_generator.rb +0 -25
  37. data/lib/generators/wheels/recipes/wheels.rb +0 -66
  38. data/lib/generators/wheels/templates/cancan/ability.rb +0 -13
  39. data/lib/generators/wheels/templates/database/postgresql.yml +0 -19
  40. data/lib/generators/wheels/templates/git/gitignore +0 -8
  41. data/lib/generators/wheels/templates/mongoid/features/step_definitions/mongoid_steps.rb +0 -4
  42. data/lib/generators/wheels/templates/mongoid/features/support/hooks.rb +0 -3
  43. data/lib/generators/wheels/views_generator.rb +0 -15
  44. data/lib/generators/wheels_views/LICENCE +0 -20
  45. data/lib/generators/wheels_views/wheels_views_generator.rb +0 -15
  46. data/lib/wheels/base.rb +0 -7
  47. data/public/404.html +0 -26
  48. data/public/422.html +0 -26
  49. data/public/500.html +0 -26
  50. data/public/favicon.ico +0 -0
  51. data/public/images/dreamy/Thumbs.db +0 -0
  52. data/public/images/dreamy/bg-ad-top.png +0 -0
  53. data/public/images/dreamy/bg-body.png +0 -0
  54. data/public/images/dreamy/bg-feed.gif +0 -0
  55. data/public/images/dreamy/bg-footer.jpg +0 -0
  56. data/public/images/dreamy/bg-header.jpg +0 -0
  57. data/public/images/dreamy/bg-menu-hover.png +0 -0
  58. data/public/images/dreamy/bg-menu.png +0 -0
  59. data/public/images/dreamy/bg-sidebar-bottom.gif +0 -0
  60. data/public/images/dreamy/button-feed.png +0 -0
  61. data/public/images/dreamy/icon-comment.png +0 -0
  62. data/public/images/growl/error.png +0 -0
  63. data/public/images/growl/growl_bottom.png +0 -0
  64. data/public/images/growl/growl_repeat.png +0 -0
  65. data/public/images/growl/growl_top.png +0 -0
  66. data/public/images/growl/info.png +0 -0
  67. data/public/images/menu/item-pointer-mover.gif +0 -0
  68. data/public/images/menu/item-pointer.gif +0 -0
  69. data/public/images/menu/lava.gif +0 -0
  70. data/public/images/menu/lava.png +0 -0
  71. data/public/images/menu/main-bg.png +0 -0
  72. data/public/images/menu/main-delimiter.png +0 -0
  73. data/public/javascripts/galleries/configure_ckeditor.js +0 -8
  74. data/public/javascripts/jqUrl.js +0 -28
  75. data/public/javascripts/jquery-validate/additional-methods.js +0 -259
  76. data/public/javascripts/jquery-validate/changelog.txt +0 -239
  77. data/public/javascripts/jquery-validate/jquery.validate.js +0 -1146
  78. data/public/javascripts/jquery-validate/jquery.validate.min.js +0 -16
  79. data/public/javascripts/jquery-validate/jquery.validate.pack.js +0 -15
  80. data/public/javascripts/jquery-validate/lib/jquery-1.4.2.js +0 -6240
  81. data/public/javascripts/jquery-validate/lib/jquery.form.js +0 -660
  82. data/public/javascripts/jquery-validate/lib/jquery.js +0 -4376
  83. data/public/javascripts/jquery-validate/lib/jquery.metadata.js +0 -122
  84. data/public/javascripts/jquery-validate/localization/messages_ar.js +0 -24
  85. data/public/javascripts/jquery-validate/localization/messages_bg.js +0 -23
  86. data/public/javascripts/jquery-validate/localization/messages_cn.js +0 -23
  87. data/public/javascripts/jquery-validate/localization/messages_cs.js +0 -23
  88. data/public/javascripts/jquery-validate/localization/messages_da.js +0 -20
  89. data/public/javascripts/jquery-validate/localization/messages_de.js +0 -20
  90. data/public/javascripts/jquery-validate/localization/messages_el.js +0 -24
  91. data/public/javascripts/jquery-validate/localization/messages_es.js +0 -23
  92. data/public/javascripts/jquery-validate/localization/messages_fa.js +0 -23
  93. data/public/javascripts/jquery-validate/localization/messages_fi.js +0 -21
  94. data/public/javascripts/jquery-validate/localization/messages_fr.js +0 -23
  95. data/public/javascripts/jquery-validate/localization/messages_he.js +0 -23
  96. data/public/javascripts/jquery-validate/localization/messages_hu.js +0 -20
  97. data/public/javascripts/jquery-validate/localization/messages_it.js +0 -23
  98. data/public/javascripts/jquery-validate/localization/messages_kk.js +0 -23
  99. data/public/javascripts/jquery-validate/localization/messages_lt.js +0 -23
  100. data/public/javascripts/jquery-validate/localization/messages_lv.js +0 -23
  101. data/public/javascripts/jquery-validate/localization/messages_nl.js +0 -23
  102. data/public/javascripts/jquery-validate/localization/messages_no.js +0 -23
  103. data/public/javascripts/jquery-validate/localization/messages_pl.js +0 -23
  104. data/public/javascripts/jquery-validate/localization/messages_ptbr.js +0 -23
  105. data/public/javascripts/jquery-validate/localization/messages_ptpt.js +0 -23
  106. data/public/javascripts/jquery-validate/localization/messages_ro.js +0 -23
  107. data/public/javascripts/jquery-validate/localization/messages_ru.js +0 -23
  108. data/public/javascripts/jquery-validate/localization/messages_se.js +0 -21
  109. data/public/javascripts/jquery-validate/localization/messages_sk.js +0 -20
  110. data/public/javascripts/jquery-validate/localization/messages_tr.js +0 -23
  111. data/public/javascripts/jquery-validate/localization/messages_tw.js +0 -23
  112. data/public/javascripts/jquery-validate/localization/messages_ua.js +0 -23
  113. data/public/javascripts/jquery-validate/localization/methods_de.js +0 -12
  114. data/public/javascripts/jquery-validate/localization/methods_nl.js +0 -9
  115. data/public/javascripts/jquery-validate/localization/methods_pt.js +0 -9
  116. data/public/javascripts/jquery-validate/todo +0 -172
  117. data/public/javascripts/jquery.cookie.js +0 -96
  118. data/public/javascripts/jquery.filedrop.js +0 -253
  119. data/public/javascripts/jquery.growl.js +0 -143
  120. data/public/javascripts/jquery.hotkeys.js +0 -99
  121. data/public/javascripts/jquery.js +0 -6240
  122. data/public/javascripts/jquery.jstree.js +0 -3510
  123. data/public/javascripts/jquery.uploadify.js +0 -26
  124. data/public/javascripts/jquery.validate.js +0 -1147
  125. data/public/javascripts/loadbehind.js +0 -0
  126. data/public/javascripts/menu.js +0 -247
  127. data/public/javascripts/sitemap_jstree.js +0 -329
  128. data/public/javascripts/swfobject.js +0 -4
  129. data/public/jstree/_demo/_dump.sql +0 -20
  130. data/public/jstree/_demo/_inc/__mysql_errors.log +0 -0
  131. data/public/jstree/_demo/_inc/class._database.php +0 -146
  132. data/public/jstree/_demo/_inc/class._database_i.php +0 -152
  133. data/public/jstree/_demo/_inc/class.tree.php +0 -602
  134. data/public/jstree/_demo/_install.txt +0 -6
  135. data/public/jstree/_demo/config.php +0 -14
  136. data/public/jstree/_demo/index.html +0 -262
  137. data/public/jstree/_demo/server.php +0 -69
  138. data/public/jstree/_docs/!style.css +0 -37
  139. data/public/jstree/_docs/_drive.png +0 -0
  140. data/public/jstree/_docs/_html_data.html +0 -2
  141. data/public/jstree/_docs/_json_data.json +0 -4
  142. data/public/jstree/_docs/_search_data.json +0 -6
  143. data/public/jstree/_docs/_search_result.json +0 -1
  144. data/public/jstree/_docs/_xml_flat.xml +0 -12
  145. data/public/jstree/_docs/_xml_nest.xml +0 -18
  146. data/public/jstree/_docs/checkbox.html +0 -148
  147. data/public/jstree/_docs/contextmenu.html +0 -120
  148. data/public/jstree/_docs/cookies.html +0 -96
  149. data/public/jstree/_docs/core.html +0 -622
  150. data/public/jstree/_docs/crrm.html +0 -315
  151. data/public/jstree/_docs/dnd.html +0 -197
  152. data/public/jstree/_docs/hotkeys.html +0 -81
  153. data/public/jstree/_docs/html_data.html +0 -174
  154. data/public/jstree/_docs/index.html +0 -75
  155. data/public/jstree/_docs/json_data.html +0 -240
  156. data/public/jstree/_docs/languages.html +0 -138
  157. data/public/jstree/_docs/search.html +0 -114
  158. data/public/jstree/_docs/sort.html +0 -84
  159. data/public/jstree/_docs/syntax/!script.js +0 -2232
  160. data/public/jstree/_docs/syntax/!style.css +0 -511
  161. data/public/jstree/_docs/syntax/clipboard.swf +0 -0
  162. data/public/jstree/_docs/syntax/help.png +0 -0
  163. data/public/jstree/_docs/syntax/magnifier.png +0 -0
  164. data/public/jstree/_docs/syntax/page_white_code.png +0 -0
  165. data/public/jstree/_docs/syntax/page_white_copy.png +0 -0
  166. data/public/jstree/_docs/syntax/printer.png +0 -0
  167. data/public/jstree/_docs/syntax/wrapping.png +0 -0
  168. data/public/jstree/_docs/themeroller.html +0 -98
  169. data/public/jstree/_docs/themes.html +0 -126
  170. data/public/jstree/_docs/types.html +0 -173
  171. data/public/jstree/_docs/ui.html +0 -188
  172. data/public/jstree/_docs/unique.html +0 -70
  173. data/public/jstree/_docs/xml_data.html +0 -214
  174. data/public/jstree/_lib/jquery.cookie.js +0 -96
  175. data/public/jstree/_lib/jquery.hotkeys.js +0 -99
  176. data/public/jstree/_lib/jquery.js +0 -6240
  177. data/public/jstree/jquery.jstree.js +0 -3510
  178. data/public/jstree/jstree.html +0 -237
  179. data/public/jstree/themes/apple/bg.jpg +0 -0
  180. data/public/jstree/themes/apple/d.png +0 -0
  181. data/public/jstree/themes/apple/dot_for_ie.gif +0 -0
  182. data/public/jstree/themes/apple/style.css +0 -60
  183. data/public/jstree/themes/apple/throbber.gif +0 -0
  184. data/public/jstree/themes/classic/d.png +0 -0
  185. data/public/jstree/themes/classic/dot_for_ie.gif +0 -0
  186. data/public/jstree/themes/classic/style.css +0 -59
  187. data/public/jstree/themes/classic/throbber.gif +0 -0
  188. data/public/jstree/themes/default/d.gif +0 -0
  189. data/public/jstree/themes/default/d.png +0 -0
  190. data/public/jstree/themes/default/style.css +0 -73
  191. data/public/jstree/themes/default/throbber.gif +0 -0
  192. data/public/jstree/themes/default-rtl/d.gif +0 -0
  193. data/public/jstree/themes/default-rtl/d.png +0 -0
  194. data/public/jstree/themes/default-rtl/dots.gif +0 -0
  195. data/public/jstree/themes/default-rtl/style.css +0 -83
  196. data/public/jstree/themes/default-rtl/throbber.gif +0 -0
  197. data/public/stylesheets/dreamy.css +0 -183
  198. data/public/stylesheets/menu.css +0 -101
  199. data/public/stylesheets/sass/dreamy.sass +0 -165
  200. data/public/stylesheets/sass/menu.sass +0 -139
  201. data/public/stylesheets/sass/uploadify.sass +0 -52
  202. data/public/stylesheets/sass/wheels.sass +0 -25
  203. data/public/stylesheets/scaffold.css +0 -56
  204. data/public/stylesheets/ui-lightness/images/ui-anim_basic_16x16.gif +0 -0
  205. data/public/stylesheets/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  206. data/public/stylesheets/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  207. data/public/stylesheets/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
  208. data/public/stylesheets/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  209. data/public/stylesheets/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  210. data/public/stylesheets/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  211. data/public/stylesheets/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  212. data/public/stylesheets/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  213. data/public/stylesheets/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  214. data/public/stylesheets/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
  215. data/public/stylesheets/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
  216. data/public/stylesheets/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
  217. data/public/stylesheets/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
  218. data/public/stylesheets/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
  219. data/public/stylesheets/ui-lightness/jquery-ui-1.8.2.custom.css +0 -359
  220. data/public/stylesheets/ui-lightness/jquery-ui-1.8.4.custom.css +0 -549
  221. data/public/test.html +0 -18
  222. /data/lib/generators/{wheels/recipes → recipes}/cancan.rb +0 -0
  223. /data/lib/generators/{wheels/recipes → recipes}/cucumber.rb +0 -0
  224. /data/lib/generators/{wheels/recipes → recipes}/default.rb +0 -0
  225. /data/lib/generators/{wheels/recipes → recipes}/design.rb +0 -0
  226. /data/lib/generators/{wheels/recipes → recipes}/devise.rb +0 -0
  227. /data/lib/generators/{wheels/recipes → recipes}/factory_girl.rb +0 -0
  228. /data/lib/generators/{wheels/recipes → recipes}/haml.rb +0 -0
  229. /data/lib/generators/{wheels/recipes → recipes}/jquery.rb +0 -0
  230. /data/lib/generators/{wheels/recipes → recipes}/mongoid.rb +0 -0
  231. /data/lib/generators/{wheels/recipes → recipes}/postgresql.rb +0 -0
  232. /data/lib/generators/{wheels/recipes → recipes}/recipes.rb +0 -0
  233. /data/lib/generators/{wheels/recipes → recipes}/remarkable.rb +0 -0
  234. /data/lib/generators/{wheels/recipes → recipes}/rspec.rb +0 -0
  235. /data/lib/generators/{wheels/snippets → snippets}/cucumber/database_config +0 -0
  236. /data/lib/generators/{update_wheels/templates → templates}/cancan/ability.rb +0 -0
  237. /data/lib/generators/{update_wheels/templates → templates}/database/postgresql.yml +0 -0
  238. /data/lib/generators/{update_wheels/templates → templates}/git/gitignore +0 -0
  239. /data/lib/generators/{wheels/templates → templates}/haml/app/views/layouts/application.html.haml +0 -0
  240. /data/lib/generators/{update_wheels/templates → templates}/mongoid/features/step_definitions/mongoid_steps.rb +0 -0
  241. /data/lib/generators/{update_wheels/templates → templates}/mongoid/features/support/hooks.rb +0 -0
  242. /data/lib/generators/{update_wheels → wheels_update}/LICENCE +0 -0
  243. /data/lib/generators/{update_wheels → wheels_update}/USAGE +0 -0
@@ -1,237 +0,0 @@
1
-
2
-
3
- <!DOCTYPE html
4
- PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
5
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
6
- <html xmlns="http://www.w3.org/1999/xhtml">
7
- <head>
8
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
- <title>jsTree &raquo; Demo </title>
10
- <meta name="title" content="jsTree - jQuery tree plugin - Demo" /><meta name="description" content="A demo covering most of the functions and plugins." />
11
- <link rel="shortcut icon" href="/favicon.ico" />
12
- <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://www.jstree.com/feed" />
13
- <link rel="stylesheet" type="text/css" href="http://static.jstree.com/layout.css" />
14
- <script type="text/javascript" src="http://static.jstree.com/v.1.0rc2/jquery.js"></script>
15
- <link rel="canonical" href="http://www.jstree.com/demo" /> <link rel="stylesheet" type="text/css" href="http://static.jstree.com/v.1.0rc2/_docs/!style.css" />
16
- <script type="text/javascript" src="http://static.jstree.com/v.1.0rc2/jquery.cookie.js"></script>
17
- <script type="text/javascript" src="http://static.jstree.com/v.1.0rc2/jquery.hotkeys.js"></script>
18
- <script type="text/javascript" src="http://static.jstree.com/v.1.0rc2/jquery.jstree.js"></script>
19
- <style type="text/css">
20
- #demo, #demo input, .jstree-dnd-helper, #vakata-contextmenu { font-size:10px; font-family:Verdana; }
21
- #container { position:relative; }
22
- #container .demo { width:780px; border:0; padding:0; }
23
- #container #demo { width:778px; float:none; height:400px; overflow:auto; border:1px solid gray; }
24
- #menub { height:30px; overflow:auto; }
25
- #text { margin-top:1px; }
26
- #alog { font-size:9px !important; margin:5px; border:1px solid silver; }
27
- </style>
28
- </head>
29
- <body class="nosidebar" >
30
- <div id="container">
31
- <div id="head">
32
- <h1>jsTree</h1>
33
- <h2>jquery tree plugin</h2>
34
- <a href="/" title="jsTree - jquery tree plugin" id="logo">&nbsp;</a>
35
- <ul id="menu">
36
- <li ><a href="/">home</a></li><li class="selected" ><a href="/demo">demo</a></li><li ><a href="/documentation">documentation</a></li><li ><a href="/changelog">changelog</a></li><li ><a href="/faq">faq</a></li> </ul>
37
- </div>
38
- <div id="sidebar"><a href="http://jstree.googlecode.com/files/jsTree.v.1.0rc2.zip" id="download" class="big">Download <br />v.1.0rc2</a>
39
- <p class="download_date">01 Jul 2010</p>
40
- <h3 class="resources">Developer resources</h3>
41
- <ul class="resources">
42
- <li><a href="http://groups.google.com/group/jstree">Discussion group</a></li>
43
- <li><a href="http://code.google.com/p/jstree/issues/entry">Submit a bug / SVN</a></li>
44
- <li><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&amp;business=paypal@vakata.com&amp;currency_code=USD&amp;amount=&amp;return=http://jstree.com/donation&amp;item_name=Buy+me+a+coffee+for+jsTree">Support jsTree</a></li>
45
- </ul>
46
-
47
- <h3>Thank you</h3>
48
- <p style="margin-left:0.9em; margin-right:0.9em; font-size:1em; line-height:1.8em; text-align:center;">Tommi&nbsp;Kiviniemi, Régis&nbsp;Guyomarch, Luis&nbsp;Fraile&nbsp;Hernández, Bruno&nbsp;Winck, Gareth&nbsp;Farrington, Janusz&nbsp;Noszczyński, Damir&nbsp;Secki, Martin&nbsp;Fisher, Martin&nbsp;Möhnen, Aaron&nbsp;Stone, Adevsoft&nbsp;Inc, Manuel&nbsp;Graf, Joseph&nbsp;Canton, Net&nbsp;Design&nbsp;Ltd, LiquidNet&nbsp;Ltd, Sabin&nbsp;Ioan&nbsp;Cirimpei, Walter&nbsp;Gamba, William&nbsp;Morris, Marcel&nbsp;Wijnands, Webunity.nl, Tactics&nbsp;bvba, Brendon&nbsp;Muir, Philip&nbsp;Ehret, Rinaldas&nbsp;Lazickas, Jake&nbsp;Liu, Pete&nbsp;Smith, Chris&nbsp;Means, Quentin&nbsp;Zervaas, Red&nbsp;Paint&nbsp;Multimedia, Olof&nbsp;Törnqvist, Meshach&nbsp;Weber, Mee&nbsp;Fong&nbsp;Huang, Octavalent, Kevin&nbsp;Papst, Michael&nbsp;Schmidt, Justin&nbsp;Wright, VariPath&nbsp;Technologies, Mate&nbsp;Skoblar, John&nbsp;Lewin, Alvin&nbsp;Schur, Jacob&nbsp;Hochstetler, Heiner&nbsp;Merten, Harold&nbsp;Owen, Kaloyan&nbsp;Tsvetkov, Oliver&nbsp;Jones, Johan&nbsp;Sörlin, Edwin&nbsp;de&nbsp;Vries</p>
49
-
50
- <h3 class='ads'>Ads by TNX</h3><ul class='ads'><li>Cheap <a rel="nofollow" href="http://www.lowwisconsinrates.com/auto_insurance.htm">Wisconsin Car Insurance</a></li><li><a rel="nofollow" href="http://www.fashfire.com/brands/coach.html" >authentic coach handbags</a> All authentic and real. No fakes</li><li>super price for <a rel="nofollow" href="http://www.r4-revolution.co.uk/" >r4 revolution </a>here</li><li>Professional Editing and writingbee <a rel="nofollow" href="http://writingbee.com" >custom essay</a> .</li></ul></div>
51
- <div id="content" class="demo">
52
-
53
-
54
- <div id="mmenu" style="height:30px; overflow:auto;">
55
- <input type="button" id="add_folder" value="add folder" style="display:block; float:left;"/>
56
- <input type="button" id="add_default" value="add file" style="display:block; float:left;"/>
57
- <input type="button" id="rename" value="rename" style="display:block; float:left;"/>
58
- <input type="button" id="remove" value="remove" style="display:block; float:left;"/>
59
- <input type="button" id="cut" value="cut" style="display:block; float:left;"/>
60
- <input type="button" id="copy" value="copy" style="display:block; float:left;"/>
61
- <input type="button" id="paste" value="paste" style="display:block; float:left;"/>
62
- <input type="button" id="clear_search" value="clear" style="display:block; float:right;"/>
63
- <input type="button" id="search" value="search" style="display:block; float:right;"/>
64
- <input type="text" id="text" value="" style="display:block; float:right;" />
65
- </div>
66
-
67
- <!-- the tree container (notice NOT an UL node) -->
68
- <div id="demo" class="demo"></div>
69
- <!-- JavaScript neccessary for the tree -->
70
- <script type="text/javascript">
71
- $(function () {
72
- // Settings up the tree - using $(selector).jstree(options);
73
- // All those configuration options are documented in the _docs folder
74
- $("#demo")
75
- .jstree({
76
- // the list of plugins to include
77
- "plugins" : [ "themes", "json_data", "ui", "crrm", "cookies", "dnd", "search", "types", "hotkeys", "contextmenu" ],
78
- // Plugin configuration
79
-
80
- // I usually configure the plugin that handles the data first - in this case JSON as it is most common
81
- "json_data" : {
82
- // I chose an ajax enabled tree - again - as this is most common, and maybe a bit more complex
83
- // All the options are the same as jQuery's except for `data` which CAN (not should) be a function
84
- "ajax" : {
85
- // the URL to fetch the data
86
- "url" : "/static/v.1.0rc2/_demo/server.php",
87
- // this function is executed in the instance's scope (this refers to the tree instance)
88
- // the parameter is the node being loaded (may be -1, 0, or undefined when loading the root nodes)
89
- "data" : function (n) {
90
- // the result is fed to the AJAX request `data` option
91
- return {
92
- "operation" : "get_children",
93
- "id" : n.attr ? n.attr("id").replace("node_","") : 1
94
- };
95
- }
96
- }
97
- },
98
- // Configuring the search plugin
99
- "search" : {
100
- // As this has been a common question - async search
101
- // Same as above - the `ajax` config option is actually jQuery's object (only `data` can be a function)
102
- "ajax" : {
103
- "url" : "/static/v.1.0rc2/_demo/server.php",
104
- // You get the search string as a parameter
105
- "data" : function (str) {
106
- return {
107
- "operation" : "search",
108
- "search_str" : str
109
- };
110
- }
111
- }
112
- },
113
- // Using types - most of the time this is an overkill
114
- // Still meny people use them - here is how
115
- "types" : {
116
- // I set both options to -2, as I do not need depth and children count checking
117
- // Those two checks may slow jstree a lot, so use only when needed
118
- "max_depth" : -2,
119
- "max_children" : -2,
120
- // I want only `drive` nodes to be root nodes
121
- // This will prevent moving or creating any other type as a root node
122
- "valid_children" : [ "drive" ],
123
- "types" : {
124
- // The default type
125
- "default" : {
126
- // I want this type to have no children (so only leaf nodes)
127
- // In my case - those are files
128
- "valid_children" : "none",
129
- // If we specify an icon for the default type it WILL OVERRIDE the theme icons
130
- "icon" : {
131
- "image" : "/static/v.1.0rc2/_demo/file.png"
132
- }
133
- },
134
- // The `folder` type
135
- "folder" : {
136
- // can have files and other folders inside of it, but NOT `drive` nodes
137
- "valid_children" : [ "default", "folder" ],
138
- "icon" : {
139
- "image" : "/static/v.1.0rc2/_demo/folder.png"
140
- }
141
- },
142
- // The `drive` nodes
143
- "drive" : {
144
- // can have files and folders inside, but NOT other `drive` nodes
145
- "valid_children" : [ "default", "folder" ],
146
- "icon" : {
147
- "image" : "/static/v.1.0rc2/_demo/root.png"
148
- },
149
- // those options prevent the functions with the same name to be used on the `drive` type nodes
150
- // internally the `before` event is used
151
- "start_drag" : false,
152
- "move_node" : false,
153
- "delete_node" : false,
154
- "remove" : false
155
- }
156
- }
157
- },
158
- // For UI & core - the nodes to initially select and open will be overwritten by the cookie plugin
159
-
160
- // the UI plugin - it handles selecting/deselecting/hovering nodes
161
- "ui" : {
162
- // this makes the node with ID node_4 selected onload
163
- "initially_select" : [ "node_4" ]
164
- },
165
- // the core plugin - not many options here
166
- "core" : {
167
- // just open those two nodes up
168
- // as this is an AJAX enabled tree, both will be downloaded from the server
169
- "initially_open" : [ "node_2" , "node_3" ]
170
- }
171
- })
172
- .bind("create.jstree", jstreeEventDeclarations()["create.jstree"])
173
- .bind("remove.jstree", )
174
- .bind("rename.jstree", )
175
- .bind("move_node.jstree", );
176
- });
177
- });
178
- </script>
179
- <script type="text/javascript">
180
- $(function () {
181
- $("#mmenu input").click(function () {
182
- switch(this.id) {
183
- case "add_default":
184
- case "add_folder":
185
- $("#demo").jstree("create", null, "last", { "attr" : { "rel" : this.id.toString().replace("add_", "") } });
186
- break;
187
- case "search":
188
- $("#demo").jstree("search", document.getElementById("text").value);
189
- break;
190
- case "text": break;
191
- default:
192
- $("#demo").jstree(this.id);
193
- break;
194
- }
195
- });
196
- });
197
- </script>
198
-
199
- <div style="position:absolute; right:30px; top:120px; width:220px; border:1px solid silver; min-height:160px;">
200
- <input type="button" style='display:block; width:170px; height:24px; margin:5px auto;' value="reconstruct" onclick="$.get('/static/v.1.0rc2/_demo/server.php?reconstruct', function () { $('#demo').jstree('refresh',-1); });" />
201
- <input type="button" style='display:block; width:170px; height:24px; margin:5px auto;' id="analyze" value="analyze" onclick="$('#alog').load('/static/v.1.0rc2/_demo/server.php?analyze');" />
202
- <input type="button" style='display:block; width:170px; height:24px; margin:5px auto;' value="refresh" onclick="$('#demo').jstree('refresh',-1);" />
203
- <div id='alog'></div>
204
- </div>
205
-
206
- <p style="margin:1em 2em 3em 2em; text-align:center; ">If you like the project - consider <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=paypal@vakata.com&currency_code=USD&amount=&return=http://jstree.com/donation&item_name=Buy+me+a+coffee+for+jsTree">supporting jstree</a>.</p>
207
-
208
-
209
- </div>
210
-
211
- <div style="margin-top:2em; text-align:center; border-bottom:40px solid white;">
212
- <script type="text/javascript">google_ad_client = "pub-3390774673776502";/* 728x90, created 9/28/09 */google_ad_slot = "0034777413";google_ad_width = 728;google_ad_height = 90;</script>
213
- <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
214
- </div>
215
-
216
- <div id="footer">
217
- <a href="http://jigsaw.w3.org/css-validator/check/referer" class="small" rel="nofollow">valid CSS</a>
218
- <a href="http://validator.w3.org/check?uri=referer" class="small" rel="nofollow">valid XHTML</a>
219
- <span>Created by <a href="http://vakata.com">Ivan Bozhanov</a></span>
220
- </div>
221
- </div>
222
-
223
- <script type="text/javascript">
224
- var _gaq = _gaq || [];
225
- _gaq.push(['_setAccount', 'UA-263640-6']);
226
- _gaq.push(['_setDomainName', 'none']);
227
- _gaq.push(['_trackPageview']);
228
- (function() {
229
- var ga = document.createElement('script');
230
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
231
- ga.setAttribute('async', 'true');
232
- document.documentElement.firstChild.appendChild(ga);
233
- })();
234
- </script>
235
- </body>
236
- </html>
237
-
Binary file
Binary file
@@ -1,60 +0,0 @@
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; }
46
-
47
- .jstree-apple a.jstree-search { color:aqua; }
48
-
49
- #vakata-contextmenu.jstree-apple-context,
50
- #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; }
51
- #vakata-contextmenu.jstree-apple-context li { }
52
- #vakata-contextmenu.jstree-apple-context a { color:black; }
53
- #vakata-contextmenu.jstree-apple-context a:hover,
54
- #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; }
55
- #vakata-contextmenu.jstree-apple-context li.jstree-contextmenu-disabled a,
56
- #vakata-contextmenu.jstree-apple-context li.jstree-contextmenu-disabled a:hover { color:silver; background:transparent; border:0; padding:1px 4px; }
57
- #vakata-contextmenu.jstree-apple-context li.vakata-separator { background:white; border-top:1px solid #e0e0e0; margin:0; }
58
- #vakata-contextmenu.jstree-apple-context li ul { margin-left:-4px; }
59
-
60
- /* TODO: IE6 support - the `>` selectors */
Binary file
@@ -1,59 +0,0 @@
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; }
45
-
46
- .jstree-classic a.jstree-search { color:aqua; }
47
-
48
- #vakata-contextmenu.jstree-classic-context,
49
- #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; }
50
- #vakata-contextmenu.jstree-classic-context li { }
51
- #vakata-contextmenu.jstree-classic-context a { color:black; }
52
- #vakata-contextmenu.jstree-classic-context a:hover,
53
- #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; }
54
- #vakata-contextmenu.jstree-classic-context li.jstree-contextmenu-disabled a,
55
- #vakata-contextmenu.jstree-classic-context li.jstree-contextmenu-disabled a:hover { color:silver; background:transparent; border:0; padding:1px 4px; }
56
- #vakata-contextmenu.jstree-classic-context li.vakata-separator { background:white; border-top:1px solid #e0e0e0; margin:0; }
57
- #vakata-contextmenu.jstree-classic-context li ul { margin-left:-4px; }
58
-
59
- /* TODO: IE6 support - the `>` selectors */
Binary file
Binary file
@@ -1,73 +0,0 @@
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; }
44
-
45
- .jstree-default a.jstree-search { color:aqua; }
46
-
47
- #vakata-contextmenu.jstree-default-context,
48
- #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; }
49
- #vakata-contextmenu.jstree-default-context li { }
50
- #vakata-contextmenu.jstree-default-context a { color:black; }
51
- #vakata-contextmenu.jstree-default-context a:hover,
52
- #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; }
53
- #vakata-contextmenu.jstree-default-context li.jstree-contextmenu-disabled a,
54
- #vakata-contextmenu.jstree-default-context li.jstree-contextmenu-disabled a:hover { color:silver; background:transparent; border:0; padding:1px 4px; }
55
- #vakata-contextmenu.jstree-default-context li.vakata-separator { background:white; border-top:1px solid #e0e0e0; margin:0; }
56
- #vakata-contextmenu.jstree-default-context li ul { margin-left:-4px; }
57
-
58
- /* IE6 BEGIN */
59
- .jstree-default li,
60
- .jstree-default ins,
61
- #vakata-dragged.jstree-default .jstree-invalid,
62
- #vakata-dragged.jstree-default .jstree-ok,
63
- #jstree-marker.jstree-default { _background-image:url("d.gif"); }
64
- .jstree-default .jstree-open ins { _background-position:-72px 0; }
65
- .jstree-default .jstree-closed ins { _background-position:-54px 0; }
66
- .jstree-default .jstree-leaf ins { _background-position:-36px 0; }
67
- .jstree-default a ins.jstree-icon { _background-position:-56px -19px; }
68
- #vakata-contextmenu.jstree-default-context ins { _display:none; }
69
- #vakata-contextmenu.jstree-default-context li { _zoom:1; }
70
- .jstree-default .jstree-undetermined a .jstree-checkbox { _background-position:-20px -19px; }
71
- .jstree-default .jstree-checked a .jstree-checkbox { _background-position:-38px -19px; }
72
- .jstree-default .jstree-unchecked a .jstree-checkbox { _background-position:-2px -19px; }
73
- /* IE6 END */
Binary file
Binary file
@@ -1,83 +0,0 @@
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; }
44
-
45
- .jstree-default-rtl a.jstree-search { color:aqua; }
46
-
47
- #vakata-contextmenu.jstree-default-rtl-context,
48
- #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; }
49
- #vakata-contextmenu.jstree-default-rtl-context li { }
50
- #vakata-contextmenu.jstree-default-rtl-context a { color:black; }
51
- #vakata-contextmenu.jstree-default-rtl-context a:hover,
52
- #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; }
53
- #vakata-contextmenu.jstree-default-rtl-context li.jstree-contextmenu-disabled a,
54
- #vakata-contextmenu.jstree-default-rtl-context li.jstree-contextmenu-disabled a:hover { color:silver; background:transparent; border:0; padding:1px 4px; }
55
- #vakata-contextmenu.jstree-default-rtl-context li.vakata-separator { background:white; border-top:1px solid #e0e0e0; margin:0; }
56
- #vakata-contextmenu.jstree-default-rtl-context li ul { margin-left:-4px; }
57
-
58
- /* IE6 BEGIN */
59
- .jstree-default-rtl li,
60
- .jstree-default-rtl ins,
61
- #vakata-dragged.jstree-default-rtl .jstree-invalid,
62
- #vakata-dragged.jstree-default-rtl .jstree-ok,
63
- #jstree-marker.jstree-default-rtl { _background-image:url("d.gif"); }
64
- .jstree-default-rtl .jstree-open ins { _background-position:-72px 0; }
65
- .jstree-default-rtl .jstree-closed ins { _background-position:-54px 0; }
66
- .jstree-default-rtl .jstree-leaf ins { _background-position:-36px 0; }
67
- .jstree-default-rtl a ins.jstree-icon { _background-position:-56px -19px; }
68
- #vakata-contextmenu.jstree-default-rtl-context ins { _display:none; }
69
- #vakata-contextmenu.jstree-default-rtl-context li { _zoom:1; }
70
- .jstree-default-rtl .jstree-undetermined a .jstree-checkbox { _background-position:-18px -19px; }
71
- .jstree-default-rtl .jstree-checked a .jstree-checkbox { _background-position:-36px -19px; }
72
- .jstree-default-rtl .jstree-unchecked a .jstree-checkbox { _background-position:0px -19px; }
73
- /* IE6 END */
74
-
75
- /* RTL part */
76
- .jstree-default-rtl .jstree-hovered, .jstree-default-rtl .jstree-clicked { padding:0 1px 0 2px; }
77
- .jstree-default-rtl li { background-image:url("dots.gif"); background-position: 100% 0px; }
78
- .jstree-default-rtl .jstree-checked > a > .jstree-checkbox { background-position:-36px -19px; margin-left:2px; }
79
- .jstree-default-rtl .jstree-unchecked > a > .jstree-checkbox { background-position:0px -19px; margin-left:2px; }
80
- .jstree-default-rtl .jstree-undetermined > a > .jstree-checkbox { background-position:-18px -19px; margin-left:2px; }
81
- .jstree-default-rtl .jstree-checked > a > .jstree-checkbox:hover { background-position:-36px -37px; }
82
- .jstree-default-rtl .jstree-unchecked > a > .jstree-checkbox:hover { background-position:0px -37px; }
83
- .jstree-default-rtl .jstree-undetermined > a > .jstree-checkbox:hover { background-position:-18px -37px; }