-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
141 changed files
with
81,630 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/debug | ||
/jstree.sublime-project | ||
/jstree.sublime-workspace | ||
/node_modules | ||
/site | ||
/nuget | ||
/demo/filebrowser/data/root | ||
/npm.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Copyright (c) 2014 Orange Hill Development | ||
|
||
Permission is hereby granted, free of charge, to any person | ||
obtaining a copy of this software and associated documentation | ||
files (the "Software"), to deal in the Software without | ||
restriction, including without limitation the rights to use, | ||
copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the | ||
Software is furnished to do so, subject to the following | ||
conditions: | ||
|
||
The above copyright notice and this permission notice shall be | ||
included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES | ||
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT | ||
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | ||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | ||
OTHER DEALINGS IN THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
jsTree Bootstrap Theme | ||
===================== | ||
Since there aren't many jsTree themes out there, we thought we'd make this one freely available. | ||
jsTree Bootstrap Theme is created as a part of [Proton UI Responsive Admin Panel Theme](http://themeforest.net/item/proton-ui-responsive-admin-panel-theme/6240793). The theme is compatible with jsTree 3. | ||
|
||
A legacy version compatible with jsTree pre 1.0 fix2 is still available on a [separate branch](https://github.com/orangehill/jstree-bootstrap-theme/tree/Legacy_jsTree_Bootstrap_Theme_(for_version_pre_1.0_fix2)) (no longer maintained). | ||
|
||
##What is jsTree? | ||
|
||
jsTree is a tree view for jQuery (depends on 1.9.1 or later). | ||
It is absolutely free (MIT licence) at [http://www.jstree.com/](http://www.jstree.com/) or at [https://github.com/vakata/jstree](https://github.com/vakata/jstree) and supports all modern browsers and IE from version 8 up. | ||
jsTree can display trees by parsing HTML or JSON and supports AJAX, it is themeable and easy to configure and customize. Events are fired when the user interacts with the tree. Other notable features are inline editing, drag'n'drop support, fuzzy searching (with optional server side calls), tri-state checkbox support, configurable node types, AMD compatibility, easily extendable via plugins. | ||
|
||
##Theme Demo | ||
Theme demo is available at [jsTree Bootstrap Theme Demo Page](http://orangehilldev.com/jstree-bootstrap-theme/demo/) . | ||
|
||
##Responsiveness | ||
jsTree Bootstrap Theme is [responsive](http://en.wikipedia.org/wiki/Responsive_web_design). To see the effect [open the demo](http://orangehilldev.com/jstree-bootstrap-theme/demo/) and scale a browser window down until the window width is less then 768 pixels. | ||
|
||
Mobile friendly design should make it easier to tap nodes with more precision. | ||
|
||
## Getting Started | ||
|
||
Download or checkout the latest copy and include jQuery and jsTree scripts as well as proton theme style file in your web page. Then create an instance (in this case using the inline HTML) with theme name set to proton and responsive (optional) set to true. | ||
|
||
```html | ||
<link rel="stylesheet" href="dist/themes/proton/style.min.css" /> | ||
<script src="dist/libs/jquery.js"></script> | ||
<script src="dist/jstree.min.js"></script> | ||
<div id="container"> | ||
<ul> | ||
<li>Root node | ||
<ul> | ||
<li id="child_node">Child node</li> | ||
</ul> | ||
</li> | ||
</ul> | ||
</div> | ||
<script> | ||
$(function() { | ||
$('#container').jstree({ | ||
'core': { | ||
'themes': { | ||
'name': 'proton', | ||
'responsive': true | ||
} | ||
} | ||
}); | ||
}); | ||
</script> | ||
``` | ||
|
||
|
||
##LESS support | ||
|
||
If you wish to further customize the theme you might find it convenient to use included [LESS](http://lesscss.org/) files. The theme also includes a [grunt](https://github.com/gruntjs/grunt) script which you can use to build CSS files. | ||
|
||
To develop using grunt files just run `grunt` (no options required). This will build theme images and CSS. | ||
|
||
Do not edit files in the `dist` subdirectory as they are generated via grunt. You'll find theme source code in the `src/themes/proton` subdirectory. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
jsTree Bootstrap Theme | ||
===================== | ||
Since there aren't many jsTree themes out there, we thought we'd make this one freely available. | ||
jsTree Bootstrap Theme is created as a part of [Proton UI Responsive Admin Panel Theme](http://themeforest.net/item/proton-ui-responsive-admin-panel-theme/6240793). The theme is compatible with jsTree 3. | ||
|
||
A legacy version compatible with jsTree pre 1.0 fix2 is still available on a [separate branch](https://github.com/orangehill/jstree-bootstrap-theme/tree/Legacy_jsTree_Bootstrap_Theme_(for_version_pre_1.0_fix2)) (no longer maintained). | ||
|
||
##What is jsTree? | ||
|
||
jsTree is a tree view for jQuery (depends on 1.9.1 or later). | ||
It is absolutely free (MIT licence) and supports all modern browsers and IE from version 8 up. | ||
jsTree can display trees by parsing HTML or JSON and supports AJAX, it is themeable and easy to configure and customize. Events are fired when the user interacts with the tree. Other notable features are inline editing, drag'n'drop support, fuzzy searching (with optional server side calls), tri-state checkbox support, configurable node types, AMD compatibility, easily extendable via plugins. | ||
|
||
It is available absolutely free at [http://www.jstree.com/](http://www.jstree.com/) or at [https://github.com/vakata/jstree](https://github.com/vakata/jstree). | ||
|
||
For your convenience entire `jsTree 3.0.4` version is included with this theme. | ||
|
||
##Theme Demo | ||
Theme demo is available at [jsTree Bootstrap Theme Demo Page](http://orangehilldev.com/jstree-bootstrap-theme/demo/) . | ||
|
||
##Responsiveness | ||
jsTree Bootstrap Theme is [Responsive](http://en.wikipedia.org/wiki/Responsive_web_design). To see the effect [open the demo](http://orangehilldev.com/jstree-bootstrap-theme/demo/) and scale a browser window down until the window width is less then 768 pixels. | ||
|
||
Mobile friendly design should make it easier to tap nodes with more precision. | ||
|
||
## Getting Started | ||
|
||
Download or checkout the latest copy and include jQuery and jsTree scripts as well as proton theme style file in your web page. Then create an instance (in this case using the inline HTML) with theme name set to proton and responsive (optional) set to true. | ||
|
||
```html | ||
<link rel="stylesheet" href="dist/themes/proton/style.min.css" /> | ||
<script src="dist/libs/jquery.js"></script> | ||
<script src="dist/jstree.min.js"></script> | ||
<div id="container"> | ||
<ul> | ||
<li>Root node | ||
<ul> | ||
<li id="child_node">Child node</li> | ||
</ul> | ||
</li> | ||
</ul> | ||
</div> | ||
<script> | ||
$(function() { | ||
$('#container').jstree({ | ||
'core': { | ||
'themes': { | ||
'name': 'proton', | ||
'responsive': true | ||
} | ||
} | ||
}); | ||
}); | ||
</script> | ||
``` | ||
|
||
|
||
##LESS support | ||
|
||
If you wish to further customize the theme you might find it convenient to use included [LESS](http://lesscss.org/) files. The theme also includes a modified jsTree 3 [grunt ](https://github.com/gruntjs/grunt) script which you can use to build CSS files. | ||
|
||
To develop using grunt files just run `grunt` after your LESS changes (no options required). This will build new theme CSS and minified CSS in `dist/themes/proton` directory. | ||
|
||
Do not edit files in the `dist` directory as they are generated via grunt. You'll find the theme source code in `src/themes/proton`. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.