wheels 0.0.48 → 0.0.49
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/app/controllers/access_control_entries_controller.rb +4 -4
- data/app/controllers/external_links_controller.rb +5 -0
- data/app/controllers/feedbacks_controller.rb +10 -0
- data/app/controllers/menus_controller.rb +2 -0
- data/app/controllers/pages_controller.rb +16 -29
- data/app/controllers/sitemaps_controller.rb +135 -0
- data/app/helpers/application_helper.rb +4 -3
- data/app/helpers/external_links_helper.rb +2 -0
- data/app/helpers/feedbacks_helper.rb +2 -0
- data/app/helpers/menus_helper.rb +2 -0
- data/app/helpers/sitemaps_helper.rb +12 -0
- data/app/mailers/feedback_mailer.rb +10 -0
- data/app/models/ability.rb +2 -1
- data/app/models/access_control_entry.rb +17 -15
- data/app/models/external_link.rb +4 -0
- data/app/models/feedback.rb +13 -0
- data/app/models/image.rb +1 -1
- data/app/models/menu.rb +4 -0
- data/app/models/page.rb +2 -5
- data/app/models/sitemap.rb +153 -0
- data/app/models/user.rb +7 -1
- data/app/validators/email_validator.rb +22 -0
- data/app/views/access_control_entries/_form.html.haml +1 -1
- data/app/views/access_control_entries/_index.html.haml +3 -3
- data/app/views/access_control_entries/_show.html.haml +1 -1
- data/app/views/external_links/_fields_for.html.haml +2 -0
- data/app/views/external_links/_form.html.haml +18 -0
- data/app/views/external_links/_show.html.haml +7 -0
- data/app/views/external_links/edit.html.haml +7 -0
- data/app/views/external_links/index.html.haml +23 -0
- data/app/views/external_links/new.html.haml +5 -0
- data/app/views/external_links/show.html.haml +2 -0
- data/app/views/feedback_mailer/submit_feedback.html.haml +22 -0
- data/app/views/feedbacks/_form.html.haml +37 -0
- data/app/views/feedbacks/index.html.haml +27 -0
- data/app/views/feedbacks/new.html.haml +5 -0
- data/app/views/feedbacks/show.html.haml +19 -0
- data/app/views/layouts/application.html.haml +21 -16
- data/app/views/layouts/bare.html.haml +2 -0
- data/app/views/loadbehind/_view.js.haml +1 -2
- data/app/views/menus/_form.html.haml +13 -0
- data/app/views/menus/edit.html.haml +7 -0
- data/app/views/menus/index.html.haml +19 -0
- data/app/views/menus/new.html.haml +5 -0
- data/app/views/menus/show.html.haml +7 -0
- data/app/views/pages/_child_pages_links.html.haml +1 -1
- data/app/views/pages/_control_panel.html.haml +1 -6
- data/app/views/pages/_form.html.haml +2 -2
- data/app/views/pages/_form_fields.html.haml +7 -2
- data/app/views/pages/_show.html.haml +4 -0
- data/app/views/pages/create.js.haml +2 -1
- data/app/views/pages/destroy.js.haml +3 -0
- data/app/views/pages/edit.js.haml +4 -0
- data/app/views/pages/index.html.haml +4 -2
- data/app/views/pages/index.js.haml +3 -0
- data/app/views/pages/new.js.haml +3 -0
- data/app/views/pages/show.html.haml +2 -10
- data/app/views/pages/show.js.haml +3 -0
- data/app/views/pages/update.js.haml +2 -2
- data/app/views/sitemaps/edit.html.haml +12 -0
- data/app/views/sitemaps/edit.js.erb +0 -0
- data/app/views/sitemaps/index.html.haml +93 -0
- data/app/views/sitemaps/index.json.erb +23 -0
- data/app/views/sitemaps/new.html.haml +8 -0
- data/app/views/sitemaps/new.js.erb +0 -0
- data/app/views/users/edit.html.haml +45 -0
- data/db/migrate/{add_fields_to_users.rb → 0010_add_fields_to_users.rb} +0 -0
- data/db/migrate/{create_blogs.rb → 0020_create_blogs.rb} +0 -0
- data/db/migrate/{create_galleries.rb → 0030_create_galleries.rb} +0 -0
- data/db/migrate/{create_images.rb → 0040_create_images.rb} +0 -0
- data/db/migrate/{create_profiles.rb → 0050_create_profiles.rb} +0 -0
- data/db/migrate/{insert_admin_user_and_roles.rb → 0060_insert_admin_user_and_roles.rb} +0 -0
- data/db/migrate/{create_pages.rb → 0070_create_pages.rb} +0 -0
- data/db/migrate/{create_forums.rb → 0080_create_forums.rb} +0 -0
- data/db/migrate/{create_discussions.rb → 0090_create_discussions.rb} +0 -0
- data/db/migrate/{create_forum_messages.rb → 0100_create_forum_messages.rb} +0 -0
- data/db/migrate/{create_access_control_entries.rb → 0110_create_access_control_entries.rb} +3 -3
- data/db/migrate/{create_attachments.rb → 0120_create_attachments.rb} +0 -4
- data/db/migrate/{create_roles.rb → 0130_create_roles.rb} +0 -0
- data/db/migrate/0140_create_feedbacks.rb +20 -0
- data/db/migrate/0150_create_external_links.rb +14 -0
- data/db/migrate/0160_create_sitemaps.rb +17 -0
- data/db/migrate/0170_create_menus.rb +14 -0
- data/lib/development_mail_interceptor.rb +7 -0
- data/lib/generators/wheels/recipes/wheels.rb +18 -12
- data/lib/wheels/base.rb +7 -0
- data/lib/wheels/routes.rb +8 -3
- data/lib/wheels.rb +2 -0
- data/public/javascripts/jquery-validate/additional-methods.js +259 -0
- data/public/javascripts/jquery-validate/changelog.txt +239 -0
- data/public/javascripts/jquery-validate/jquery.validate.js +1146 -0
- data/public/javascripts/jquery-validate/jquery.validate.min.js +16 -0
- data/public/javascripts/jquery-validate/jquery.validate.pack.js +15 -0
- data/public/javascripts/jquery-validate/lib/jquery-1.4.2.js +6240 -0
- data/public/javascripts/jquery-validate/lib/jquery.form.js +660 -0
- data/public/javascripts/jquery-validate/lib/jquery.js +4376 -0
- data/public/javascripts/jquery-validate/lib/jquery.metadata.js +122 -0
- data/public/javascripts/jquery-validate/localization/messages_ar.js +24 -0
- data/public/javascripts/jquery-validate/localization/messages_bg.js +23 -0
- data/public/javascripts/jquery-validate/localization/messages_cn.js +23 -0
- data/public/javascripts/jquery-validate/localization/messages_cs.js +23 -0
- data/public/javascripts/jquery-validate/localization/messages_da.js +20 -0
- data/public/javascripts/jquery-validate/localization/messages_de.js +20 -0
- data/public/javascripts/jquery-validate/localization/messages_el.js +24 -0
- data/public/javascripts/jquery-validate/localization/messages_es.js +23 -0
- data/public/javascripts/jquery-validate/localization/messages_fa.js +23 -0
- data/public/javascripts/jquery-validate/localization/messages_fi.js +21 -0
- data/public/javascripts/jquery-validate/localization/messages_fr.js +23 -0
- data/public/javascripts/jquery-validate/localization/messages_he.js +23 -0
- data/public/javascripts/jquery-validate/localization/messages_hu.js +20 -0
- data/public/javascripts/jquery-validate/localization/messages_it.js +23 -0
- data/public/javascripts/jquery-validate/localization/messages_kk.js +23 -0
- data/public/javascripts/jquery-validate/localization/messages_lt.js +23 -0
- data/public/javascripts/jquery-validate/localization/messages_lv.js +23 -0
- data/public/javascripts/jquery-validate/localization/messages_nl.js +23 -0
- data/public/javascripts/jquery-validate/localization/messages_no.js +23 -0
- data/public/javascripts/jquery-validate/localization/messages_pl.js +23 -0
- data/public/javascripts/jquery-validate/localization/messages_ptbr.js +23 -0
- data/public/javascripts/jquery-validate/localization/messages_ptpt.js +23 -0
- data/public/javascripts/jquery-validate/localization/messages_ro.js +23 -0
- data/public/javascripts/jquery-validate/localization/messages_ru.js +23 -0
- data/public/javascripts/jquery-validate/localization/messages_se.js +21 -0
- data/public/javascripts/jquery-validate/localization/messages_sk.js +20 -0
- data/public/javascripts/jquery-validate/localization/messages_tr.js +23 -0
- data/public/javascripts/jquery-validate/localization/messages_tw.js +23 -0
- data/public/javascripts/jquery-validate/localization/messages_ua.js +23 -0
- data/public/javascripts/jquery-validate/localization/methods_de.js +12 -0
- data/public/javascripts/jquery-validate/localization/methods_nl.js +9 -0
- data/public/javascripts/jquery-validate/localization/methods_pt.js +9 -0
- data/public/javascripts/jquery-validate/todo +172 -0
- data/public/javascripts/jquery.cookie.js +96 -0
- data/public/javascripts/jquery.filedrop.js +253 -0
- data/public/javascripts/jquery.hotkeys.js +99 -0
- data/public/javascripts/jquery.js +6240 -0
- data/public/javascripts/jquery.jstree.js +3510 -0
- data/public/javascripts/jquery.uploadify.js +26 -0
- data/public/javascripts/jquery.validate.js +1147 -0
- data/public/javascripts/sitemap_jstree.js +329 -0
- data/public/javascripts/swfobject.js +4 -0
- data/public/jstree/_demo/_dump.sql +20 -0
- data/public/jstree/_demo/_inc/__mysql_errors.log +0 -0
- data/public/jstree/_demo/_inc/class._database.php +146 -0
- data/public/jstree/_demo/_inc/class._database_i.php +152 -0
- data/public/jstree/_demo/_inc/class.tree.php +602 -0
- data/public/jstree/_demo/_install.txt +6 -0
- data/public/jstree/_demo/config.php +14 -0
- data/public/jstree/_demo/index.html +262 -0
- data/public/jstree/_demo/server.php +69 -0
- data/public/jstree/_docs/!style.css +37 -0
- data/public/jstree/_docs/_drive.png +0 -0
- data/public/jstree/_docs/_html_data.html +2 -0
- data/public/jstree/_docs/_json_data.json +4 -0
- data/public/jstree/_docs/_search_data.json +6 -0
- data/public/jstree/_docs/_search_result.json +1 -0
- data/public/jstree/_docs/_xml_flat.xml +12 -0
- data/public/jstree/_docs/_xml_nest.xml +18 -0
- data/public/jstree/_docs/checkbox.html +148 -0
- data/public/jstree/_docs/contextmenu.html +120 -0
- data/public/jstree/_docs/cookies.html +96 -0
- data/public/jstree/_docs/core.html +622 -0
- data/public/jstree/_docs/crrm.html +315 -0
- data/public/jstree/_docs/dnd.html +197 -0
- data/public/jstree/_docs/hotkeys.html +81 -0
- data/public/jstree/_docs/html_data.html +174 -0
- data/public/jstree/_docs/index.html +75 -0
- data/public/jstree/_docs/json_data.html +240 -0
- data/public/jstree/_docs/languages.html +138 -0
- data/public/jstree/_docs/search.html +114 -0
- data/public/jstree/_docs/sort.html +84 -0
- data/public/jstree/_docs/syntax/!script.js +2232 -0
- data/public/jstree/_docs/syntax/!style.css +511 -0
- data/public/jstree/_docs/syntax/clipboard.swf +0 -0
- data/public/jstree/_docs/syntax/help.png +0 -0
- data/public/jstree/_docs/syntax/magnifier.png +0 -0
- data/public/jstree/_docs/syntax/page_white_code.png +0 -0
- data/public/jstree/_docs/syntax/page_white_copy.png +0 -0
- data/public/jstree/_docs/syntax/printer.png +0 -0
- data/public/jstree/_docs/syntax/wrapping.png +0 -0
- data/public/jstree/_docs/themeroller.html +98 -0
- data/public/jstree/_docs/themes.html +126 -0
- data/public/jstree/_docs/types.html +173 -0
- data/public/jstree/_docs/ui.html +188 -0
- data/public/jstree/_docs/unique.html +70 -0
- data/public/jstree/_docs/xml_data.html +214 -0
- data/public/jstree/_lib/jquery.cookie.js +96 -0
- data/public/jstree/_lib/jquery.hotkeys.js +99 -0
- data/public/jstree/_lib/jquery.js +6240 -0
- data/public/jstree/jquery.jstree.js +3510 -0
- data/public/jstree/jstree.html +237 -0
- data/public/jstree/themes/apple/bg.jpg +0 -0
- data/public/jstree/themes/apple/d.png +0 -0
- data/public/jstree/themes/apple/dot_for_ie.gif +0 -0
- data/public/jstree/themes/apple/style.css +60 -0
- data/public/jstree/themes/apple/throbber.gif +0 -0
- data/public/jstree/themes/classic/d.png +0 -0
- data/public/jstree/themes/classic/dot_for_ie.gif +0 -0
- data/public/jstree/themes/classic/style.css +59 -0
- data/public/jstree/themes/classic/throbber.gif +0 -0
- data/public/jstree/themes/default/d.gif +0 -0
- data/public/jstree/themes/default/d.png +0 -0
- data/public/jstree/themes/default/style.css +73 -0
- data/public/jstree/themes/default/throbber.gif +0 -0
- data/public/jstree/themes/default-rtl/d.gif +0 -0
- data/public/jstree/themes/default-rtl/d.png +0 -0
- data/public/jstree/themes/default-rtl/dots.gif +0 -0
- data/public/jstree/themes/default-rtl/style.css +83 -0
- data/public/jstree/themes/default-rtl/throbber.gif +0 -0
- data/public/stylesheets/sass/dreamy.sass +21 -56
- data/public/stylesheets/sass/menu.sass +43 -9
- data/public/stylesheets/sass/uploadify.sass +52 -0
- data/public/stylesheets/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
- data/public/stylesheets/ui-lightness/jquery-ui-1.8.4.custom.css +549 -0
- data/wheels.gemspec +187 -15
- metadata +188 -16
@@ -0,0 +1,237 @@
|
|
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 » 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"> </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&business=paypal@vakata.com&currency_code=USD&amount=&return=http://jstree.com/donation&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 Kiviniemi, Régis Guyomarch, Luis Fraile Hernández, Bruno Winck, Gareth Farrington, Janusz Noszczyński, Damir Secki, Martin Fisher, Martin Möhnen, Aaron Stone, Adevsoft Inc, Manuel Graf, Joseph Canton, Net Design Ltd, LiquidNet Ltd, Sabin Ioan Cirimpei, Walter Gamba, William Morris, Marcel Wijnands, Webunity.nl, Tactics bvba, Brendon Muir, Philip Ehret, Rinaldas Lazickas, Jake Liu, Pete Smith, Chris Means, Quentin Zervaas, Red Paint Multimedia, Olof Törnqvist, Meshach Weber, Mee Fong Huang, Octavalent, Kevin Papst, Michael Schmidt, Justin Wright, VariPath Technologies, Mate Skoblar, John Lewin, Alvin Schur, Jacob Hochstetler, Heiner Merten, Harold Owen, Kaloyan Tsvetkov, Oliver Jones, Johan Sörlin, Edwin de 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¤cy_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
|
Binary file
|
@@ -0,0 +1,60 @@
|
|
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
|
Binary file
|
Binary file
|
@@ -0,0 +1,59 @@
|
|
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
|
Binary file
|
@@ -0,0 +1,73 @@
|
|
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
|
Binary file
|
Binary file
|
@@ -0,0 +1,83 @@
|
|
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; }
|
Binary file
|