Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
a67629d0
Commit
a67629d0
authored
Oct 30, 2016
by
季圣华
Browse files
No commit message
No commit message
parent
6c2a3721
Changes
530
Hide whitespace changes
Inline
Side-by-side
WebRoot/js/easyui-1.3.5/demo/form/load.html
0 → 100644
View file @
a67629d0
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Load Form Data - jQuery EasyUI Demo
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/default/easyui.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/icon.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../demo.css"
>
<script
type=
"text/javascript"
src=
"../../jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"../../jquery.easyui.min.js"
></script>
</head>
<body>
<h2>
Load Form Data
</h2>
<div
class=
"demo-info"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
Click the buttons below to load form data.
</div>
</div>
<div
style=
"margin:10px 0;"
>
<a
href=
"javascript:void(0)"
class=
"easyui-linkbutton"
onclick=
"loadLocal()"
>
LoadLocal
</a>
<a
href=
"javascript:void(0)"
class=
"easyui-linkbutton"
onclick=
"loadRemote()"
>
LoadRemote
</a>
<a
href=
"javascript:void(0)"
class=
"easyui-linkbutton"
onclick=
"clearForm()"
>
Clear
</a>
</div>
<div
class=
"easyui-panel"
title=
"New Topic"
style=
"width:400px"
>
<div
style=
"padding:10px 0 10px 60px"
>
<form
id=
"ff"
method=
"post"
>
<table>
<tr>
<td>
Name:
</td>
<td><input
class=
"easyui-validatebox"
type=
"text"
name=
"name"
data-options=
"required:true"
></input></td>
</tr>
<tr>
<td>
Email:
</td>
<td><input
class=
"easyui-validatebox"
type=
"text"
name=
"email"
data-options=
"required:true,validType:'email'"
></input></td>
</tr>
<tr>
<td>
Subject:
</td>
<td><input
class=
"easyui-validatebox"
type=
"text"
name=
"subject"
data-options=
"required:true"
></input></td>
</tr>
<tr>
<td>
Message:
</td>
<td><textarea
name=
"message"
style=
"height:60px;"
></textarea></td>
</tr>
<tr>
<td>
Language:
</td>
<td>
<select
class=
"easyui-combobox"
name=
"language"
><option
value=
"ar"
>
Arabic
</option><option
value=
"bg"
>
Bulgarian
</option><option
value=
"ca"
>
Catalan
</option><option
value=
"zh-cht"
>
Chinese Traditional
</option><option
value=
"cs"
>
Czech
</option><option
value=
"da"
>
Danish
</option><option
value=
"nl"
>
Dutch
</option><option
value=
"en"
selected=
"selected"
>
English
</option><option
value=
"et"
>
Estonian
</option><option
value=
"fi"
>
Finnish
</option><option
value=
"fr"
>
French
</option><option
value=
"de"
>
German
</option><option
value=
"el"
>
Greek
</option><option
value=
"ht"
>
Haitian Creole
</option><option
value=
"he"
>
Hebrew
</option><option
value=
"hi"
>
Hindi
</option><option
value=
"mww"
>
Hmong Daw
</option><option
value=
"hu"
>
Hungarian
</option><option
value=
"id"
>
Indonesian
</option><option
value=
"it"
>
Italian
</option><option
value=
"ja"
>
Japanese
</option><option
value=
"ko"
>
Korean
</option><option
value=
"lv"
>
Latvian
</option><option
value=
"lt"
>
Lithuanian
</option><option
value=
"no"
>
Norwegian
</option><option
value=
"fa"
>
Persian
</option><option
value=
"pl"
>
Polish
</option><option
value=
"pt"
>
Portuguese
</option><option
value=
"ro"
>
Romanian
</option><option
value=
"ru"
>
Russian
</option><option
value=
"sk"
>
Slovak
</option><option
value=
"sl"
>
Slovenian
</option><option
value=
"es"
>
Spanish
</option><option
value=
"sv"
>
Swedish
</option><option
value=
"th"
>
Thai
</option><option
value=
"tr"
>
Turkish
</option><option
value=
"uk"
>
Ukrainian
</option><option
value=
"vi"
>
Vietnamese
</option></select>
</td>
</tr>
</table>
</form>
</div>
</div>
<script>
function
loadLocal
(){
$
(
'
#ff
'
).
form
(
'
load
'
,{
name
:
'
myname
'
,
email
:
'
mymail@gmail.com
'
,
subject
:
'
subject
'
,
message
:
'
message
'
,
language
:
'
en
'
});
}
function
loadRemote
(){
$
(
'
#ff
'
).
form
(
'
load
'
,
'
form_data1.json
'
);
}
function
clearForm
(){
$
(
'
#ff
'
).
form
(
'
clear
'
);
}
</script>
</body>
</html>
\ No newline at end of file
WebRoot/js/easyui-1.3.5/demo/layout/_content.html
0 → 100644
View file @
a67629d0
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
AJAX Content
</title>
</head>
<body>
<p
style=
"font-size:14px"
>
jQuery EasyUI framework help you build your web page easily.
</p>
<ul>
<li>
easyui is a collection of user-interface plugin based on jQuery.
</li>
<li>
easyui provides essential functionality for building modern, interactive, javascript applications.
</li>
<li>
using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
</li>
<li>
complete framework for HTML5 web page.
</li>
<li>
easyui save your time and scales while developing your products.
</li>
<li>
easyui is very easy but powerful.
</li>
</ul>
</body>
</html>
\ No newline at end of file
WebRoot/js/easyui-1.3.5/demo/layout/addremove.html
0 → 100644
View file @
a67629d0
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Add and Remove Layout - jQuery EasyUI Demo
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/default/easyui.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/icon.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../demo.css"
>
<script
type=
"text/javascript"
src=
"../../jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"../../jquery.easyui.min.js"
></script>
</head>
<body>
<h2>
Add and Remove Layout
</h2>
<div
class=
"demo-info"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
Click the buttons below to add or remove region panel of layout.
</div>
</div>
<div
style=
"margin:10px 0;"
>
<span>
Select Region Panel:
</span>
<select
id=
"region"
>
<option
value=
"north"
>
North
</option>
<option
value=
"south"
>
South
</option>
<option
value=
"east"
>
East
</option>
<option
value=
"west"
>
West
</option>
</select>
<a
href=
"javascript:void(0)"
class=
"easyui-linkbutton"
onclick=
"addPanel()"
>
Add
</a>
<a
href=
"javascript:void(0)"
class=
"easyui-linkbutton"
onclick=
"removePanel()"
>
Remove
</a>
</div>
<div
id=
"cc"
class=
"easyui-layout"
style=
"width:700px;height:350px;"
>
<div
data-options=
"region:'north'"
style=
"height:50px"
></div>
<div
data-options=
"region:'south',split:true"
style=
"height:50px;"
></div>
<div
data-options=
"region:'east',split:true"
title=
"East"
style=
"width:100px;"
></div>
<div
data-options=
"region:'west',split:true"
title=
"West"
style=
"width:100px;"
></div>
<div
data-options=
"region:'center',title:'Center'"
></div>
</div>
<script
type=
"text/javascript"
>
function
addPanel
(){
var
region
=
$
(
'
#region
'
).
val
();
var
options
=
{
region
:
region
};
if
(
region
==
'
north
'
||
region
==
'
south
'
){
options
.
height
=
50
;
}
else
{
options
.
width
=
100
;
options
.
split
=
true
;
options
.
title
=
$
(
'
#region option:selected
'
).
text
();
}
$
(
'
#cc
'
).
layout
(
'
add
'
,
options
);
}
function
removePanel
(){
$
(
'
#cc
'
).
layout
(
'
remove
'
,
$
(
'
#region
'
).
val
());
}
</script>
</body>
</html>
\ No newline at end of file
WebRoot/js/easyui-1.3.5/demo/layout/autoheight.html
0 → 100644
View file @
a67629d0
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Auto Height for Layout - jQuery EasyUI Demo
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/default/easyui.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/icon.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../demo.css"
>
<script
type=
"text/javascript"
src=
"../../jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"../../jquery.easyui.min.js"
></script>
</head>
<body>
<h2>
Auto Height for Layout
</h2>
<div
class=
"demo-info"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
This example shows how to auto adjust layout height after dynamically adding items.
</div>
</div>
<div
style=
"margin:10px 0;"
>
<a
href=
"javascript:void(0)"
class=
"easyui-linkbutton"
onclick=
"addItem()"
>
Add Item
</a>
<a
href=
"javascript:void(0)"
class=
"easyui-linkbutton"
onclick=
"removeItem()"
>
Remove Item
</a>
</div>
<div
id=
"cc"
style=
"width:700px;height:350px;"
>
<div
data-options=
"region:'north'"
style=
"height:50px"
></div>
<div
data-options=
"region:'south'"
style=
"height:50px;"
></div>
<div
data-options=
"region:'west'"
style=
"width:150px;"
></div>
<div
data-options=
"region:'center'"
style=
"padding:20px"
>
<p>
Panel Content.
</p>
<p>
Panel Content.
</p>
<p>
Panel Content.
</p>
<p>
Panel Content.
</p>
<p>
Panel Content.
</p>
</div>
</div>
<script
type=
"text/javascript"
>
$
(
function
(){
$
(
'
#cc
'
).
layout
();
setHeight
();
});
function
addItem
(){
$
(
'
#cc
'
).
layout
(
'
panel
'
,
'
center
'
).
append
(
'
<p>More Panel Content.</p>
'
);
setHeight
();
}
function
removeItem
(){
$
(
'
#cc
'
).
layout
(
'
panel
'
,
'
center
'
).
find
(
'
p:last
'
).
remove
();
setHeight
();
}
function
setHeight
(){
var
c
=
$
(
'
#cc
'
);
var
p
=
c
.
layout
(
'
panel
'
,
'
center
'
);
// get the center panel
var
oldHeight
=
p
.
panel
(
'
panel
'
).
outerHeight
();
p
.
panel
(
'
resize
'
,
{
height
:
'
auto
'
});
var
newHeight
=
p
.
panel
(
'
panel
'
).
outerHeight
();
c
.
height
(
c
.
height
()
+
newHeight
-
oldHeight
);
c
.
layout
(
'
resize
'
);
}
</script>
</body>
</html>
\ No newline at end of file
WebRoot/js/easyui-1.3.5/demo/layout/basic.html
0 → 100644
View file @
a67629d0
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Basic Layout - jQuery EasyUI Demo
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/default/easyui.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/icon.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../demo.css"
>
<script
type=
"text/javascript"
src=
"../../jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"../../jquery.easyui.min.js"
></script>
</head>
<body>
<h2>
Basic Layout
</h2>
<div
class=
"demo-info"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
The layout contains north,south,west,east and center regions.
</div>
</div>
<div
style=
"margin:10px 0;"
></div>
<div
class=
"easyui-layout"
style=
"width:700px;height:350px;"
>
<div
data-options=
"region:'north'"
style=
"height:50px"
></div>
<div
data-options=
"region:'south',split:true"
style=
"height:50px;"
></div>
<div
data-options=
"region:'east',split:true"
title=
"East"
style=
"width:180px;"
></div>
<div
data-options=
"region:'west',split:true"
title=
"West"
style=
"width:100px;"
></div>
<div
data-options=
"region:'center',title:'Main Title',iconCls:'icon-ok'"
>
<table
class=
"easyui-datagrid"
data-options=
"url:'datagrid_data1.json',method:'get',border:false,singleSelect:true,fit:true,fitColumns:true"
>
<thead>
<tr>
<th
data-options=
"field:'itemid'"
width=
"80"
>
Item ID
</th>
<th
data-options=
"field:'productid'"
width=
"100"
>
Product ID
</th>
<th
data-options=
"field:'listprice',align:'right'"
width=
"80"
>
List Price
</th>
<th
data-options=
"field:'unitcost',align:'right'"
width=
"80"
>
Unit Cost
</th>
<th
data-options=
"field:'attr'"
width=
"150"
>
Attribute
</th>
<th
data-options=
"field:'status',align:'center'"
width=
"50"
>
Status
</th>
</tr>
</thead>
</table>
</div>
</div>
</body>
</html>
\ No newline at end of file
WebRoot/js/easyui-1.3.5/demo/layout/complex.html
0 → 100644
View file @
a67629d0
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Complex Layout - jQuery EasyUI Demo
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/default/easyui.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/icon.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../demo.css"
>
<script
type=
"text/javascript"
src=
"../../jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"../../jquery.easyui.min.js"
></script>
</head>
<body>
<h2>
Complex Layout
</h2>
<div
class=
"demo-info"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
This sample shows how to create a complex layout.
</div>
</div>
<div
style=
"margin:10px 0;"
></div>
<div
class=
"easyui-layout"
style=
"width:700px;height:350px;"
>
<div
data-options=
"region:'north'"
style=
"height:50px"
></div>
<div
data-options=
"region:'south',split:true"
style=
"height:50px;"
></div>
<div
data-options=
"region:'east',split:true"
title=
"East"
style=
"width:180px;"
>
<ul
class=
"easyui-tree"
data-options=
"url:'tree_data1.json',method:'get',animate:true,dnd:true"
></ul>
</div>
<div
data-options=
"region:'west',split:true"
title=
"West"
style=
"width:100px;"
>
<div
class=
"easyui-accordion"
data-options=
"fit:true,border:false"
>
<div
title=
"Title1"
style=
"padding:10px;"
>
content1
</div>
<div
title=
"Title2"
data-options=
"selected:true"
style=
"padding:10px;"
>
content2
</div>
<div
title=
"Title3"
style=
"padding:10px"
>
content3
</div>
</div>
</div>
<div
data-options=
"region:'center',title:'Main Title',iconCls:'icon-ok'"
>
<div
class=
"easyui-tabs"
data-options=
"fit:true,border:false,plain:true"
>
<div
title=
"About"
data-options=
"href:'_content.html'"
style=
"padding:10px"
></div>
<div
title=
"DataGrid"
style=
"padding:5px"
>
<table
class=
"easyui-datagrid"
data-options=
"url:'datagrid_data1.json',method:'get',singleSelect:true,fit:true,fitColumns:true"
>
<thead>
<tr>
<th
data-options=
"field:'itemid'"
width=
"80"
>
Item ID
</th>
<th
data-options=
"field:'productid'"
width=
"100"
>
Product ID
</th>
<th
data-options=
"field:'listprice',align:'right'"
width=
"80"
>
List Price
</th>
<th
data-options=
"field:'unitcost',align:'right'"
width=
"80"
>
Unit Cost
</th>
<th
data-options=
"field:'attr1'"
width=
"150"
>
Attribute
</th>
<th
data-options=
"field:'status',align:'center'"
width=
"50"
>
Status
</th>
</tr>
</thead>
</table>
</div>
</div>
</div>
</div>
</body>
</html>
\ No newline at end of file
WebRoot/js/easyui-1.3.5/demo/layout/datagrid_data1.json
0 → 100644
View file @
a67629d0
{
"total"
:
28
,
"rows"
:[
{
"productid"
:
"FI-SW-01"
,
"productname"
:
"Koi"
,
"unitcost"
:
10.00
,
"status"
:
"P"
,
"listprice"
:
36.50
,
"attr1"
:
"Large"
,
"itemid"
:
"EST-1"
},
{
"productid"
:
"K9-DL-01"
,
"productname"
:
"Dalmation"
,
"unitcost"
:
12.00
,
"status"
:
"P"
,
"listprice"
:
18.50
,
"attr1"
:
"Spotted Adult Female"
,
"itemid"
:
"EST-10"
},
{
"productid"
:
"RP-SN-01"
,
"productname"
:
"Rattlesnake"
,
"unitcost"
:
12.00
,
"status"
:
"P"
,
"listprice"
:
38.50
,
"attr1"
:
"Venomless"
,
"itemid"
:
"EST-11"
},
{
"productid"
:
"RP-SN-01"
,
"productname"
:
"Rattlesnake"
,
"unitcost"
:
12.00
,
"status"
:
"P"
,
"listprice"
:
26.50
,
"attr1"
:
"Rattleless"
,
"itemid"
:
"EST-12"
},
{
"productid"
:
"RP-LI-02"
,
"productname"
:
"Iguana"
,
"unitcost"
:
12.00
,
"status"
:
"P"
,
"listprice"
:
35.50
,
"attr1"
:
"Green Adult"
,
"itemid"
:
"EST-13"
},
{
"productid"
:
"FL-DSH-01"
,
"productname"
:
"Manx"
,
"unitcost"
:
12.00
,
"status"
:
"P"
,
"listprice"
:
158.50
,
"attr1"
:
"Tailless"
,
"itemid"
:
"EST-14"
},
{
"productid"
:
"FL-DSH-01"
,
"productname"
:
"Manx"
,
"unitcost"
:
12.00
,
"status"
:
"P"
,
"listprice"
:
83.50
,
"attr1"
:
"With tail"
,
"itemid"
:
"EST-15"
},
{
"productid"
:
"FL-DLH-02"
,
"productname"
:
"Persian"
,
"unitcost"
:
12.00
,
"status"
:
"P"
,
"listprice"
:
23.50
,
"attr1"
:
"Adult Female"
,
"itemid"
:
"EST-16"
},
{
"productid"
:
"FL-DLH-02"
,
"productname"
:
"Persian"
,
"unitcost"
:
12.00
,
"status"
:
"P"
,
"listprice"
:
89.50
,
"attr1"
:
"Adult Male"
,
"itemid"
:
"EST-17"
},
{
"productid"
:
"AV-CB-01"
,
"productname"
:
"Amazon Parrot"
,
"unitcost"
:
92.00
,
"status"
:
"P"
,
"listprice"
:
63.50
,
"attr1"
:
"Adult Male"
,
"itemid"
:
"EST-18"
}
]}
WebRoot/js/easyui-1.3.5/demo/layout/full.html
0 → 100644
View file @
a67629d0
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Full Layout - jQuery EasyUI Demo
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/default/easyui.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/icon.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../demo.css"
>
<script
type=
"text/javascript"
src=
"../../jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"../../jquery.easyui.min.js"
></script>
</head>
<body
class=
"easyui-layout"
>
<div
data-options=
"region:'north',border:false"
style=
"height:60px;background:#B3DFDA;padding:10px"
>
north region
</div>
<div
data-options=
"region:'west',split:true,title:'West'"
style=
"width:150px;padding:10px;"
>
west content
</div>
<div
data-options=
"region:'east',split:true,collapsed:true,title:'East'"
style=
"width:100px;padding:10px;"
>
east region
</div>
<div
data-options=
"region:'south',border:false"
style=
"height:50px;background:#A9FACD;padding:10px;"
>
south region
</div>
<div
data-options=
"region:'center',title:'Center'"
></div>
</body>
</html>
\ No newline at end of file
WebRoot/js/easyui-1.3.5/demo/layout/nestedlayout.html
0 → 100644
View file @
a67629d0
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Nested Layout - jQuery EasyUI Demo
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/default/easyui.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/icon.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../demo.css"
>
<script
type=
"text/javascript"
src=
"../../jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"../../jquery.easyui.min.js"
></script>
</head>
<body>
<h2>
Nested Layout
</h2>
<div
class=
"demo-info"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
The layout region panel contains another layout or other components.
</div>
</div>
<div
style=
"margin:10px 0;"
></div>
<div
class=
"easyui-layout"
style=
"width:700px;height:350px;"
>
<div
data-options=
"region:'north'"
style=
"height:50px"
></div>
<div
data-options=
"region:'south',split:true"
style=
"height:50px;"
></div>
<div
data-options=
"region:'east',split:true"
title=
"East"
style=
"width:180px;"
></div>
<div
data-options=
"region:'west',split:true"
title=
"West"
style=
"width:100px;"
></div>
<div
data-options=
"region:'center',iconCls:'icon-ok'"
title=
"Center"
>
<div
class=
"easyui-layout"
data-options=
"fit:true"
>
<div
data-options=
"region:'north',split:true,border:false"
style=
"height:50px"
></div>
<div
data-options=
"region:'west',split:true,border:false"
style=
"width:100px"
></div>
<div
data-options=
"region:'center',border:false"
></div>
</div>
</div>
</div>
</body>
</html>
\ No newline at end of file
WebRoot/js/easyui-1.3.5/demo/layout/nocollapsible.html
0 → 100644
View file @
a67629d0
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
No collapsible button in Layout - jQuery EasyUI Demo
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/default/easyui.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/icon.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../demo.css"
>
<script
type=
"text/javascript"
src=
"../../jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"../../jquery.easyui.min.js"
></script>
</head>
<body>
<h2>
No collapsible button in Layout
</h2>
<div
class=
"demo-info"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
The layout region panel has no collapsible button.
</div>
</div>
<div
style=
"margin:10px 0;"
></div>
<div
class=
"easyui-layout"
style=
"width:700px;height:350px;"
>
<div
data-options=
"region:'north'"
style=
"height:50px"
></div>
<div
data-options=
"region:'south',split:true"
style=
"height:50px;"
></div>
<div
data-options=
"region:'east',split:true,title:'East',collapsible:false"
style=
"width:250px;"
>
<table
id=
"tt"
class=
"easyui-propertygrid"
data-options=
"
url: 'propertygrid_data1.json',
method: 'get',
showGroup: true,
fit: true,
border: false
"
>
</table>
</div>
<div
data-options=
"region:'center',title:'Main Title',iconCls:'icon-ok',href:'_content.html'"
style=
"padding:10px"
>
</div>
</div>
</body>
</html>
\ No newline at end of file
WebRoot/js/easyui-1.3.5/demo/layout/propertygrid_data1.json
0 → 100644
View file @
a67629d0
{
"total"
:
7
,
"rows"
:[
{
"name"
:
"Name"
,
"value"
:
"Bill Smith"
,
"group"
:
"ID Settings"
,
"editor"
:
"text"
},
{
"name"
:
"Address"
,
"value"
:
""
,
"group"
:
"ID Settings"
,
"editor"
:
"text"
},
{
"name"
:
"Age"
,
"value"
:
"40"
,
"group"
:
"ID Settings"
,
"editor"
:
"numberbox"
},
{
"name"
:
"Birthday"
,
"value"
:
"01/02/2012"
,
"group"
:
"ID Settings"
,
"editor"
:
"datebox"
},
{
"name"
:
"SSN"
,
"value"
:
"123-456-7890"
,
"group"
:
"ID Settings"
,
"editor"
:
"text"
},
{
"name"
:
"Email"
,
"value"
:
"bill@gmail.com"
,
"group"
:
"Marketing Settings"
,
"editor"
:{
"type"
:
"validatebox"
,
"options"
:{
"validType"
:
"email"
}
}},
{
"name"
:
"FrequentBuyer"
,
"value"
:
"false"
,
"group"
:
"Marketing Settings"
,
"editor"
:{
"type"
:
"checkbox"
,
"options"
:{
"on"
:
true
,
"off"
:
false
}
}}
]}
\ No newline at end of file
WebRoot/js/easyui-1.3.5/demo/layout/tree_data1.json
0 → 100644
View file @
a67629d0
[{
"id"
:
1
,
"text"
:
"My Documents"
,
"children"
:[{
"id"
:
11
,
"text"
:
"Photos"
,
"state"
:
"closed"
,
"children"
:[{
"id"
:
111
,
"text"
:
"Friend"
},{
"id"
:
112
,
"text"
:
"Wife"
},{
"id"
:
113
,
"text"
:
"Company"
}]
},{
"id"
:
12
,
"text"
:
"Program Files"
,
"children"
:[{
"id"
:
121
,
"text"
:
"Intel"
},{
"id"
:
122
,
"text"
:
"Java"
,
"attributes"
:{
"p1"
:
"Custom Attribute1"
,
"p2"
:
"Custom Attribute2"
}
},{
"id"
:
123
,
"text"
:
"Microsoft Office"
},{
"id"
:
124
,
"text"
:
"Games"
,
"checked"
:
true
}]
},{
"id"
:
13
,
"text"
:
"index.html"
},{
"id"
:
14
,
"text"
:
"about.html"
},{
"id"
:
15
,
"text"
:
"welcome.html"
}]
}]
WebRoot/js/easyui-1.3.5/demo/linkbutton/basic.html
0 → 100644
View file @
a67629d0
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Basic LinkButton - jQuery EasyUI Demo
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/default/easyui.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/icon.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../demo.css"
>
<script
type=
"text/javascript"
src=
"../../jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"../../jquery.easyui.min.js"
></script>
</head>
<body>
<h2>
Basic LinkButton
</h2>
<div
class=
"demo-info"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
Buttons can be created from
<
a/
>
link.
</div>
</div>
<div
style=
"margin:10px 0;"
></div>
<div
style=
"padding:5px;"
>
<a
href=
"#"
class=
"easyui-linkbutton"
data-options=
"iconCls:'icon-add'"
>
Add
</a>
<a
href=
"#"
class=
"easyui-linkbutton"
data-options=
"iconCls:'icon-remove'"
>
Remove
</a>
<a
href=
"#"
class=
"easyui-linkbutton"
data-options=
"iconCls:'icon-save'"
>
Save
</a>
<a
href=
"#"
class=
"easyui-linkbutton"
data-options=
"iconCls:'icon-cut',disabled:true"
>
Cut
</a>
<a
href=
"#"
class=
"easyui-linkbutton"
>
Text Button
</a>
</div>
</body>
</html>
\ No newline at end of file
WebRoot/js/easyui-1.3.5/demo/linkbutton/group.html
0 → 100644
View file @
a67629d0
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Button Group - jQuery EasyUI Demo
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/default/easyui.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/icon.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../demo.css"
>
<script
type=
"text/javascript"
src=
"../../jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"../../jquery.easyui.min.js"
></script>
</head>
<body>
<h2>
Button Group
</h2>
<div
class=
"demo-info"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
In a button group only one button can be selected.
</div>
</div>
<div
style=
"margin:10px 0;"
></div>
<div
style=
"padding:5px;border:1px solid #ddd;"
>
<a
href=
"#"
class=
"easyui-linkbutton"
data-options=
"toggle:true,group:'g1'"
>
Button 1
</a>
<a
href=
"#"
class=
"easyui-linkbutton"
data-options=
"toggle:true,group:'g1'"
>
Button 2
</a>
<a
href=
"#"
class=
"easyui-linkbutton"
data-options=
"toggle:true,group:'g1'"
>
Button 3
</a>
<a
href=
"#"
class=
"easyui-linkbutton"
data-options=
"toggle:true,group:'g1'"
>
Button 4
</a>
<a
href=
"#"
class=
"easyui-linkbutton"
data-options=
"toggle:true,group:'g1'"
>
Button 5
</a>
</div>
<div
style=
"margin:10px 0;"
></div>
<div
style=
"padding:5px;border:1px solid #ddd;"
>
<a
href=
"#"
class=
"easyui-linkbutton"
data-options=
"toggle:true,group:'g2',plain:true"
>
Button 1
</a>
<a
href=
"#"
class=
"easyui-linkbutton"
data-options=
"toggle:true,group:'g2',plain:true"
>
Button 2
</a>
<a
href=
"#"
class=
"easyui-linkbutton"
data-options=
"toggle:true,group:'g2',plain:true"
>
Button 3
</a>
<a
href=
"#"
class=
"easyui-linkbutton"
data-options=
"toggle:true,group:'g2',plain:true"
>
Button 4
</a>
<a
href=
"#"
class=
"easyui-linkbutton"
data-options=
"toggle:true,group:'g2',plain:true"
>
Button 5
</a>
</div>
</body>
</html>
\ No newline at end of file
WebRoot/js/easyui-1.3.5/demo/linkbutton/iconalign.html
0 → 100644
View file @
a67629d0
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Icon Align on LinkButton - jQuery EasyUI Demo
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/default/easyui.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/icon.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../demo.css"
>
<script
type=
"text/javascript"
src=
"../../jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"../../jquery.easyui.min.js"
></script>
</head>
<body>
<h2>
Icon Align on LinkButton
</h2>
<div
class=
"demo-info"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
Change the icon align to place icon on left or right of button.
</div>
</div>
<div
style=
"margin:10px 0;"
></div>
<div
id=
"button-bar"
>
<a
href=
"#"
class=
"easyui-linkbutton"
data-options=
"iconCls:'icon-add'"
>
Add
</a>
<a
href=
"#"
class=
"easyui-linkbutton"
data-options=
"iconCls:'icon-remove'"
>
Remove
</a>
<a
href=
"#"
class=
"easyui-linkbutton"
data-options=
"iconCls:'icon-save'"
>
Save
</a>
<a
href=
"#"
class=
"easyui-linkbutton"
data-options=
"iconCls:'icon-cut',disabled:true"
>
Cut
</a>
</div>
<div
style=
"margin:10px 0"
>
<span>
Select Icon Align:
</span>
<select
onchange=
"$('#button-bar a').linkbutton({iconAlign:this.value})"
>
<option
value=
"left"
>
Left
</option>
<option
value=
"right"
>
Right
</option>
</select>
</div>
</body>
</html>
\ No newline at end of file
WebRoot/js/easyui-1.3.5/demo/linkbutton/plain.html
0 → 100644
View file @
a67629d0
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Plain LinkButton - jQuery EasyUI Demo
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/default/easyui.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/icon.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../demo.css"
>
<script
type=
"text/javascript"
src=
"../../jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"../../jquery.easyui.min.js"
></script>
</head>
<body>
<h2>
Plain LinkButton
</h2>
<div
class=
"demo-info"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
The link buttons have plain effect.
</div>
</div>
<div
style=
"margin:10px 0;"
></div>
<div
style=
"padding:5px;border:1px solid #ddd;"
>
<a
href=
"#"
class=
"easyui-linkbutton"
data-options=
"plain:true,iconCls:'icon-cancel'"
>
Cancel
</a>
<a
href=
"#"
class=
"easyui-linkbutton"
data-options=
"plain:true,iconCls:'icon-reload'"
>
Refresh
</a>
<a
href=
"#"
class=
"easyui-linkbutton"
data-options=
"plain:true,iconCls:'icon-search'"
>
Search
</a>
<a
href=
"#"
class=
"easyui-linkbutton"
data-options=
"plain:true"
>
Text Button
</a>
<a
href=
"#"
class=
"easyui-linkbutton"
data-options=
"plain:true,iconCls:'icon-print'"
>
Print
</a>
<a
href=
"#"
class=
"easyui-linkbutton"
data-options=
"plain:true,iconCls:'icon-help'"
>
</a>
<a
href=
"#"
class=
"easyui-linkbutton"
data-options=
"plain:true,iconCls:'icon-save'"
></a>
<a
href=
"#"
class=
"easyui-linkbutton"
data-options=
"plain:true,iconCls:'icon-back'"
></a>
</div>
</body>
</html>
\ No newline at end of file
WebRoot/js/easyui-1.3.5/demo/linkbutton/toggle.html
0 → 100644
View file @
a67629d0
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Toggle Button - jQuery EasyUI Demo
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/default/easyui.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/icon.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../demo.css"
>
<script
type=
"text/javascript"
src=
"../../jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"../../jquery.easyui.min.js"
></script>
</head>
<body>
<h2>
Toggle Button
</h2>
<div
class=
"demo-info"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
Click the button below to switch its selected state.
</div>
</div>
<div
style=
"margin:10px 0;"
></div>
<div
style=
"padding:5px;"
>
<a
href=
"#"
class=
"easyui-linkbutton"
data-options=
"iconCls:'icon-add',toggle:true"
>
Add
</a>
<a
href=
"#"
class=
"easyui-linkbutton"
data-options=
"iconCls:'icon-remove',toggle:true"
>
Remove
</a>
<a
href=
"#"
class=
"easyui-linkbutton"
data-options=
"iconCls:'icon-save',toggle:true"
>
Save
</a>
<a
href=
"#"
class=
"easyui-linkbutton"
data-options=
"iconCls:'icon-cut',toggle:true,disabled:true"
>
Cut
</a>
<a
href=
"#"
class=
"easyui-linkbutton"
data-options=
"toggle:true"
>
Text Button
</a>
</div>
</body>
</html>
\ No newline at end of file
WebRoot/js/easyui-1.3.5/demo/menu/basic.html
0 → 100644
View file @
a67629d0
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Basic Menu - jQuery EasyUI Demo
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/default/easyui.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/icon.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../demo.css"
>
<script
type=
"text/javascript"
src=
"../../jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"../../jquery.easyui.min.js"
></script>
</head>
<body>
<h2>
Basic Menu
</h2>
<div
class=
"demo-info"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
Right click on page to display menu.
</div>
</div>
<div
style=
"margin:10px 0;"
></div>
<div
id=
"mm"
class=
"easyui-menu"
style=
"width:120px;"
>
<div
onclick=
"javascript:alert('new')"
>
New
</div>
<div>
<span>
Open
</span>
<div
style=
"width:150px;"
>
<div><b>
Word
</b></div>
<div>
Excel
</div>
<div>
PowerPoint
</div>
<div>
<span>
M1
</span>
<div
style=
"width:120px;"
>
<div>
sub1
</div>
<div>
sub2
</div>
<div>
<span>
Sub
</span>
<div
style=
"width:80px;"
>
<div
onclick=
"javascript:alert('sub21')"
>
sub21
</div>
<div>
sub22
</div>
<div>
sub23
</div>
</div>
</div>
<div>
sub3
</div>
</div>
</div>
<div>
<span>
Window Demos
</span>
<div
style=
"width:120px;"
>
<div
data-options=
"href:'window.html'"
>
Window
</div>
<div
data-options=
"href:'dialog.html'"
>
Dialog
</div>
<div><a
href=
"http://www.jeasyui.com"
target=
"_blank"
>
EasyUI
</a></div>
</div>
</div>
</div>
</div>
<div
data-options=
"iconCls:'icon-save'"
>
Save
</div>
<div
data-options=
"iconCls:'icon-print',disabled:true"
>
Print
</div>
<div
class=
"menu-sep"
></div>
<div>
Exit
</div>
</div>
<script>
$
(
function
(){
$
(
document
).
bind
(
'
contextmenu
'
,
function
(
e
){
e
.
preventDefault
();
$
(
'
#mm
'
).
menu
(
'
show
'
,
{
left
:
e
.
pageX
,
top
:
e
.
pageY
});
});
});
</script>
</body>
</html>
\ No newline at end of file
WebRoot/js/easyui-1.3.5/demo/menu/customitem.html
0 → 100644
View file @
a67629d0
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Custom Menu Item - jQuery EasyUI Demo
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/default/easyui.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/icon.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../demo.css"
>
<script
type=
"text/javascript"
src=
"../../jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"../../jquery.easyui.min.js"
></script>
</head>
<body>
<h2>
Custom Menu Item
</h2>
<div
class=
"demo-info"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
Right click on page to display menu, move to the 'Open' item to display its custom sub content.
</div>
</div>
<div
style=
"margin:10px 0;"
></div>
<div
id=
"mm"
class=
"easyui-menu"
style=
"width:120px;"
>
<div>
New
</div>
<div>
<span>
Open
</span>
<div
class=
"menu-content"
style=
"text-align:left;padding:10px"
>
<div
style=
"font-weight:bold;font-size:16px"
>
Select your Language:
</div>
<ul
style=
"margin:0;padding:0 0 0 40px"
>
<li><a
href=
"javascript:void(0)"
>
Java
</a></li>
<li><a
href=
"javascript:void(0)"
>
Basic
</a></li>
<li><a
href=
"javascript:void(0)"
>
C++
</a></li>
<li><a
href=
"javascript:void(0)"
>
Fortran
</a></li>
<li>
<span>
Other
</span>
<input>
</li>
</ul>
<div
style=
"padding:10px 0 0 30px"
>
<a
href=
"javascript:void(0)"
class=
"easyui-linkbutton"
data-options=
"iconCls:'icon-ok'"
>
Ok
</a>
</div>
</div>
</div>
<div
data-options=
"iconCls:'icon-save'"
>
Save
</div>
<div
data-options=
"iconCls:'icon-print'"
>
Print
</div>
<div
class=
"menu-sep"
></div>
<div>
Exit
</div>
</div>
<script>
$
(
function
(){
$
(
document
).
bind
(
'
contextmenu
'
,
function
(
e
){
e
.
preventDefault
();
$
(
'
#mm
'
).
menu
(
'
show
'
,
{
left
:
e
.
pageX
,
top
:
e
.
pageY
});
});
});
</script>
</body>
</html>
\ No newline at end of file
WebRoot/js/easyui-1.3.5/demo/menu/events.html
0 → 100644
View file @
a67629d0
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Menu Events - jQuery EasyUI Demo
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/default/easyui.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/icon.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../demo.css"
>
<script
type=
"text/javascript"
src=
"../../jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"../../jquery.easyui.min.js"
></script>
</head>
<body>
<h2>
Menu Events
</h2>
<div
class=
"demo-info"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
Right click on page to display menu and click an item.
</div>
</div>
<div
style=
"margin:10px 0;"
></div>
<div
id=
"mm"
class=
"easyui-menu"
data-options=
"onClick:menuHandler"
style=
"width:120px;"
>
<div
data-options=
"name:'new'"
>
New
</div>
<div
data-options=
"name:'save',iconCls:'icon-save'"
>
Save
</div>
<div
data-options=
"name:'print',iconCls:'icon-print'"
>
Print
</div>
<div
class=
"menu-sep"
></div>
<div
data-options=
"name:'exit'"
>
Exit
</div>
</div>
<script>
function
menuHandler
(
item
){
alert
(
item
.
name
);
}
$
(
function
(){
$
(
document
).
bind
(
'
contextmenu
'
,
function
(
e
){
e
.
preventDefault
();
$
(
'
#mm
'
).
menu
(
'
show
'
,
{
left
:
e
.
pageX
,
top
:
e
.
pageY
});
});
});
</script>
</body>
</html>
\ No newline at end of file
Prev
1
2
3
4
5
6
7
8
9
…
27
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment