forked from AkonCoder/Hplus-Manage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jstree.html
160 lines (143 loc) · 9.98 KB
/
jstree.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<!DOCTYPE html>
<html>
<!-- Mirrored from www.zi-han.net/theme/hplus/jstree.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:19:56 GMT -->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>H+ 后台主题UI框架 - 树形视图</title>
<meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
<meta name="description" content="H+是一个完全响应式,基于Bootstrap3最新版本开发的扁平化主题,她采用了主流的左右两栏式布局,使用了Html5+CSS3等现代技术">
<link rel="shortcut icon" href="favicon.ico"> <link href="css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
<link href="css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
<link href="css/plugins/jsTree/style.min.css" rel="stylesheet">
<link href="css/animate.min.css" rel="stylesheet">
<link href="css/style.min862f.css?v=4.1.0" rel="stylesheet">
</head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
<div class="row">
<div class="col-sm-12">
<div class="ibox float-e-margins">
<div class="ibox-content">
<strong>jsTree</strong>是一个基于jQuery的Tree控件。支持 XML,JSON,Html三种数据源。提供创建,重命名,移动,删除,拖放节点操作。可以自己自定义创建,删除,嵌套,重命名,选择节点的规则。在这些操作上可以添加多种监听事件。
<br>更多信息请访问: <a href="http://www.jstree.com/" target="_blank">http://www.jstree.com/</a>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6">
<div class="ibox float-e-margins">
<div class="ibox-title">
<h5>基本示例 <small>使用Font Awesome图标</small></h5>
<div class="ibox-tools">
<a class="collapse-link">
<i class="fa fa-chevron-up"></i>
</a>
<a class="close-link">
<i class="fa fa-times"></i>
</a>
</div>
</div>
<div class="ibox-content">
<div id="jstree1">
<ul>
<li class="jstree-open">H+主题
<ul>
<li>css
<ul>
<li data-jstree='{"type":"css"}'>animate.css</li>
<li data-jstree='{"type":"css"}'>bootstrap.css</li>
<li data-jstree='{"type":"css"}'>style.css</li>
</ul>
</li>
<li>email-templates
<ul>
<li data-jstree='{"type":"html"}'>action.html</li>
<li data-jstree='{"type":"html"}'>alert.html</li>
<li data-jstree='{"type":"html"}'>billing.html</li>
</ul>
</li>
<li>fonts
<ul>
<li data-jstree='{"type":"svg"}'>glyphicons-halflings-regular.eot</li>
<li data-jstree='{"type":"svg"}'>glyphicons-halflings-regular.svg</li>
<li data-jstree='{"type":"svg"}'>glyphicons-halflings-regular.ttf</li>
<li data-jstree='{"type":"svg"}'>glyphicons-halflings-regular.woff</li>
</ul>
</li>
<li class="jstree-open">img
<ul>
<li data-jstree='{"type":"img"}'>profile_small.jpg</li>
<li data-jstree='{"type":"img"}'>angular_logo.png</li>
<li class="text-navy" data-jstree='{"type":"img"}'>html_logo.png</li>
<li class="text-navy" data-jstree='{"type":"img"}'>mvc_logo.png</li>
</ul>
</li>
<li class="jstree-open">js
<ul>
<li data-jstree='{"type":"js"}'>hplus.js</li>
<li data-jstree='{"type":"js"}'>bootstrap.js</li>
<li data-jstree='{"type":"js"}'>jquery-2.1.1.js</li>
<li data-jstree='{"type":"js"}'>jquery-ui.custom.min.js</li>
<li class="text-navy" data-jstree='{"type":"js"}'>jquery-ui-1.10.4.min.js</li>
</ul>
</li>
<li data-jstree='{"type":"html"}'>affix.html</li>
<li data-jstree='{"type":"html"}'>dashboard.html</li>
<li data-jstree='{"type":"html"}'>buttons.html</li>
<li data-jstree='{"type":"html"}'>calendar.html</li>
<li data-jstree='{"type":"html"}'>contacts.html</li>
<li data-jstree='{"type":"html"}'>css_animation.html</li>
<li class="text-navy" data-jstree='{"type":"html"}'>flot_chart.html</li>
<li class="text-navy" data-jstree='{"type":"html"}'>google_maps.html</li>
<li data-jstree='{"type":"html"}'>icons.html</li>
<li data-jstree='{"type":"html"}'>inboice.html</li>
<li data-jstree='{"type":"html"}'>login.html</li>
<li data-jstree='{"type":"html"}'>mailbox.html</li>
<li data-jstree='{"type":"html"}'>profile.html</li>
<li class="text-navy" data-jstree='{"type":"html"}'>register.html</li>
<li data-jstree='{"type":"html"}'>timeline.html</li>
<li data-jstree='{"type":"html"}'>video.html</li>
<li data-jstree='{"type":"html"}'>widgets.html</li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="col-sm-6">
<div class="ibox float-e-margins">
<div class="ibox-title">
<h5>JSON示例</h5>
<div class="ibox-tools">
<a class="collapse-link">
<i class="fa fa-chevron-up"></i>
</a>
<a class="close-link">
<i class="fa fa-times"></i>
</a>
</div>
</div>
<div class="ibox-content">
<div id="using_json"></div>
</div>
</div>
</div>
</div>
</div>
<script src="js/jquery.min.js?v=2.1.4"></script>
<script src="js/bootstrap.min.js?v=3.3.6"></script>
<script src="js/content.min.js?v=1.0.0"></script>
<script src="js/plugins/jsTree/jstree.min.js"></script>
<style>
.jstree-open>.jstree-anchor>.fa-folder:before{content:"\f07c"}.jstree-default .jstree-icon.none{width:0}
</style>
<script>
$(document).ready(function(){$("#jstree1").jstree({"core":{"check_callback":true},"plugins":["types","dnd"],"types":{"default":{"icon":"fa fa-folder"},"html":{"icon":"fa fa-file-code-o"},"svg":{"icon":"fa fa-file-picture-o"},"css":{"icon":"fa fa-file-code-o"},"img":{"icon":"fa fa-file-image-o"},"js":{"icon":"fa fa-file-text-o"}}});$("#using_json").jstree({"core":{"data":["Empty Folder",{"text":"Resources","state":{"opened":true},"children":[{"text":"css","children":[{"text":"animate.css","icon":"none"},{"text":"bootstrap.css","icon":"none"},{"text":"main.css","icon":"none"},{"text":"style.css","icon":"none"}],"state":{"opened":true}},{"text":"js","children":[{"text":"bootstrap.js","icon":"none"},{"text":"hplus.min.js","icon":"none"},{"text":"jquery.min.js","icon":"none"},{"text":"jsTree.min.js","icon":"none"},{"text":"custom.min.js","icon":"none"}],"state":{"opened":true}},{"text":"html","children":[{"text":"layout.html","icon":"none"},{"text":"navigation.html","icon":"none"},{"text":"navbar.html","icon":"none"},{"text":"footer.html","icon":"none"},{"text":"sidebar.html","icon":"none"}],"state":{"opened":true}}]},"Fonts","Images","Scripts","Templates",]}})});
</script>
<script type="text/javascript" src="http://tajs.qq.com/stats?sId=9051096" charset="UTF-8"></script>
</body>
<!-- Mirrored from www.zi-han.net/theme/hplus/jstree.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:19:58 GMT -->
</html>