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
c1aac18b
"vscode:/vscode.git/clone" did not exist on "17b1f37ce44b2c38be42c6064ef3d0e9b8bec8f8"
Commit
c1aac18b
authored
Feb 15, 2017
by
季圣华
Browse files
删除目录WebRoot
parent
177828ce
Changes
1000
Hide whitespace changes
Inline
Side-by-side
Too many changes to show.
To preserve performance only
20 of 1000+
files are displayed.
Plain diff
Email patch
WebRoot/js/easyui-1.3.5/demo/datetimebox/basic.html
deleted
100644 → 0
View file @
177828ce
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Basic DateTimeBox - 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 DateTimeBox
</h2>
<div
class=
"demo-info"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
Click the calendar image on the right side.
</div>
</div>
<div
style=
"margin:10px 0;"
></div>
<input
class=
"easyui-datetimebox"
required
style=
"width:150px"
>
</body>
</html>
\ No newline at end of file
WebRoot/js/easyui-1.3.5/demo/datetimebox/initvalue.html
deleted
100644 → 0
View file @
177828ce
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Initialize Value for DateTime - 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>
Initialize Value for DateTime
</h2>
<div
class=
"demo-info"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
The value is initialized when DateTimeBox has been created.
</div>
</div>
<div
style=
"margin:10px 0;"
></div>
<input
class=
"easyui-datetimebox"
value=
"10/11/2012 2:3:56"
style=
"width:150px"
>
</body>
</html>
\ No newline at end of file
WebRoot/js/easyui-1.3.5/demo/datetimebox/showseconds.html
deleted
100644 → 0
View file @
177828ce
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Display Seconds - 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>
Display Seconds
</h2>
<div
class=
"demo-info"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
The user can decide to display seconds part or not.
</div>
</div>
<div
style=
"margin:10px 0;"
>
<span>
Show Seconds:
</span>
<input
type=
"checkbox"
checked
onchange=
"$('#dt').datetimebox({showSeconds:$(this).is(':checked')})"
>
</div>
<input
id=
"dt"
class=
"easyui-datetimebox"
style=
"width:150px"
>
</body>
</html>
\ No newline at end of file
WebRoot/js/easyui-1.3.5/demo/demo.css
deleted
100644 → 0
View file @
177828ce
*
{
font-size
:
12px
;
}
body
{
font-family
:
helvetica
,
tahoma
,
verdana
,
sans-serif
;
padding
:
3px
;
font-size
:
13px
;
margin
:
0
;
}
h2
{
font-size
:
18px
;
font-weight
:
bold
;
margin
:
0
;
margin-bottom
:
15px
;
}
.demo-info
{
background
:
#FFFEE6
;
color
:
#8F5700
;
padding
:
12px
;
}
.demo-tip
{
width
:
16px
;
height
:
16px
;
margin-right
:
8px
;
float
:
left
;
}
WebRoot/js/easyui-1.3.5/demo/dialog/basic.html
deleted
100644 → 0
View file @
177828ce
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Basic Dialog - 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 Dialog
</h2>
<div
class=
"demo-info"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
Click below button to open or close dialog.
</div>
</div>
<div
style=
"margin:10px 0;"
>
<a
href=
"javascript:void(0)"
class=
"easyui-linkbutton"
onclick=
"$('#dlg').dialog('open')"
>
Open
</a>
<a
href=
"javascript:void(0)"
class=
"easyui-linkbutton"
onclick=
"$('#dlg').dialog('close')"
>
Close
</a>
</div>
<div
id=
"dlg"
class=
"easyui-dialog"
title=
"Basic Dialog"
data-options=
"iconCls:'icon-save'"
style=
"width:400px;height:200px;padding:10px"
>
The dialog content.
</div>
</body>
</html>
\ No newline at end of file
WebRoot/js/easyui-1.3.5/demo/dialog/complextoolbar.html
deleted
100644 → 0
View file @
177828ce
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Complex Toolbar on Dialog - 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 Toolbar on Dialog
</h2>
<div
class=
"demo-info"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
This sample shows how to create complex toolbar on dialog.
</div>
</div>
<div
style=
"margin:10px 0;"
>
<a
href=
"javascript:void(0)"
class=
"easyui-linkbutton"
onclick=
"$('#dlg').dialog('open')"
>
Open
</a>
<a
href=
"javascript:void(0)"
class=
"easyui-linkbutton"
onclick=
"$('#dlg').dialog('close')"
>
Close
</a>
</div>
<div
id=
"dlg"
class=
"easyui-dialog"
title=
"Complex Toolbar on Dialog"
style=
"width:400px;height:200px;padding:10px"
data-options=
"
iconCls: 'icon-save',
toolbar: '#dlg-toolbar',
buttons: '#dlg-buttons'
"
>
The dialog content.
</div>
<div
id=
"dlg-toolbar"
style=
"padding:2px 0"
>
<table
cellpadding=
"0"
cellspacing=
"0"
style=
"width:100%"
>
<tr>
<td
style=
"padding-left:2px"
>
<a
href=
"javascript:void(0)"
class=
"easyui-linkbutton"
data-options=
"iconCls:'icon-edit',plain:true"
>
Edit
</a>
<a
href=
"javascript:void(0)"
class=
"easyui-linkbutton"
data-options=
"iconCls:'icon-help',plain:true"
>
Help
</a>
</td>
<td
style=
"text-align:right;padding-right:2px"
>
<input
class=
"easyui-searchbox"
data-options=
"prompt:'Please input somthing'"
style=
"width:150px"
></input>
</td>
</tr>
</table>
</div>
<div
id=
"dlg-buttons"
>
<a
href=
"javascript:void(0)"
class=
"easyui-linkbutton"
onclick=
"javascript:alert('save')"
>
Save
</a>
<a
href=
"javascript:void(0)"
class=
"easyui-linkbutton"
onclick=
"javascript:$('#dlg').dialog('close')"
>
Close
</a>
</div>
</body>
</html>
\ No newline at end of file
WebRoot/js/easyui-1.3.5/demo/dialog/toolbarbuttons.html
deleted
100644 → 0
View file @
177828ce
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Toolbar and Buttons - 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>
Toolbar and Buttons
</h2>
<div
class=
"demo-info"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
The toolbar and buttons can be added to dialog.
</div>
</div>
<div
style=
"margin:10px 0;"
>
<a
href=
"javascript:void(0)"
class=
"easyui-linkbutton"
onclick=
"$('#dlg').dialog('open')"
>
Open
</a>
<a
href=
"javascript:void(0)"
class=
"easyui-linkbutton"
onclick=
"$('#dlg').dialog('close')"
>
Close
</a>
</div>
<div
id=
"dlg"
class=
"easyui-dialog"
title=
"Toolbar and Buttons"
style=
"width:400px;height:200px;padding:10px"
data-options=
"
iconCls: 'icon-save',
toolbar: [{
text:'Add',
iconCls:'icon-add',
handler:function(){
alert('add')
}
},'-',{
text:'Save',
iconCls:'icon-save',
handler:function(){
alert('save')
}
}],
buttons: [{
text:'Ok',
iconCls:'icon-ok',
handler:function(){
alert('ok');
}
},{
text:'Cancel',
handler:function(){
alert('cancel');;
}
}]
"
>
The dialog content.
</div>
</body>
</html>
\ No newline at end of file
WebRoot/js/easyui-1.3.5/demo/draggable/basic.html
deleted
100644 → 0
View file @
177828ce
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Basic Draggable - 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 Draggable
</h2>
<div
class=
"demo-info"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
Move the boxes below by clicking on it with mouse.
</div>
</div>
<div
style=
"margin:10px 0;"
></div>
<div
class=
"easyui-draggable"
style=
"width:200px;height:150px;background:#fafafa;border:1px solid #ccc"
></div>
<div
class=
"easyui-draggable"
data-options=
"handle:'#title'"
style=
"width:200px;height:150px;background:#fafafa;border:1px solid #ccc;margin-top:10px"
>
<div
id=
"title"
style=
"padding:5px;background:#ccc;color:#fff"
>
Title
</div>
</div>
</body>
</html>
\ No newline at end of file
WebRoot/js/easyui-1.3.5/demo/draggable/constain.html
deleted
100644 → 0
View file @
177828ce
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Constrain Draggable - 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>
Constrain Draggable
</h2>
<div
class=
"demo-info"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
The draggable object can only be moved within its parent container.
</div>
</div>
<div
style=
"margin:10px 0;"
></div>
<div
style=
"position:relative;overflow:hidden;border:1px solid #ccc;width:500px;height:300px"
>
<div
class=
"easyui-draggable"
data-options=
"onDrag:onDrag"
style=
"width:100px;height:100px;background:#fafafa;border:1px solid #ccc;"
>
</div>
</div>
<script>
function
onDrag
(
e
){
var
d
=
e
.
data
;
if
(
d
.
left
<
0
){
d
.
left
=
0
}
if
(
d
.
top
<
0
){
d
.
top
=
0
}
if
(
d
.
left
+
$
(
d
.
target
).
outerWidth
()
>
$
(
d
.
parent
).
width
()){
d
.
left
=
$
(
d
.
parent
).
width
()
-
$
(
d
.
target
).
outerWidth
();
}
if
(
d
.
top
+
$
(
d
.
target
).
outerHeight
()
>
$
(
d
.
parent
).
height
()){
d
.
top
=
$
(
d
.
parent
).
height
()
-
$
(
d
.
target
).
outerHeight
();
}
}
</script>
</body>
</html>
\ No newline at end of file
WebRoot/js/easyui-1.3.5/demo/draggable/snap.html
deleted
100644 → 0
View file @
177828ce
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Snap Draggable - 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>
Snap Draggable
</h2>
<div
class=
"demo-info"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
This sample shows how to snap a draggable object to a 20x20 grid.
</div>
</div>
<div
style=
"margin:10px 0;"
></div>
<div
style=
"position:relative;overflow:hidden;border:1px solid #ccc;width:500px;height:300px"
>
<div
class=
"easyui-draggable"
data-options=
"onDrag:onDrag"
style=
"width:100px;height:100px;background:#fafafa;border:1px solid #ccc;"
>
</div>
</div>
<script>
function
onDrag
(
e
){
var
d
=
e
.
data
;
d
.
left
=
repair
(
d
.
left
);
d
.
top
=
repair
(
d
.
top
);
function
repair
(
v
){
var
r
=
parseInt
(
v
/
20
)
*
20
;
if
(
Math
.
abs
(
v
%
20
)
>
10
){
r
+=
v
>
0
?
20
:
-
20
;
}
return
r
;
}
}
</script>
</body>
</html>
\ No newline at end of file
WebRoot/js/easyui-1.3.5/demo/droppable/accept.html
deleted
100644 → 0
View file @
177828ce
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Accept a Drop - 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>
Accept a Drop
</h2>
<div
class=
"demo-info"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
Some draggable object can not be accepted.
</div>
</div>
<div
style=
"margin:10px 0;"
></div>
<div
id=
"source"
style=
"border:1px solid #ccc;width:300px;height:400px;float:left;margin:5px;"
>
drag me!
<div
id=
"d1"
class=
"drag"
>
Drag 1
</div>
<div
id=
"d2"
class=
"drag"
>
Drag 2
</div>
<div
id=
"d3"
class=
"drag"
>
Drag 3
</div>
</div>
<div
id=
"target"
style=
"border:1px solid #ccc;width:300px;height:400px;float:left;margin:5px;"
>
drop here!
</div>
<div
style=
"clear:both"
></div>
<style
type=
"text/css"
>
.drag
{
width
:
100px
;
height
:
50px
;
padding
:
10px
;
margin
:
5px
;
border
:
1px
solid
#ccc
;
background
:
#AACCFF
;
}
.dp
{
opacity
:
0.5
;
filter
:
alpha
(
opacity
=
50
);
}
.over
{
background
:
#FBEC88
;
}
</style>
<script>
$
(
function
(){
$
(
'
.drag
'
).
draggable
({
proxy
:
'
clone
'
,
revert
:
true
,
cursor
:
'
auto
'
,
onStartDrag
:
function
(){
$
(
this
).
draggable
(
'
options
'
).
cursor
=
'
not-allowed
'
;
$
(
this
).
draggable
(
'
proxy
'
).
addClass
(
'
dp
'
);
},
onStopDrag
:
function
(){
$
(
this
).
draggable
(
'
options
'
).
cursor
=
'
auto
'
;
}
});
$
(
'
#target
'
).
droppable
({
accept
:
'
#d1,#d3
'
,
onDragEnter
:
function
(
e
,
source
){
$
(
source
).
draggable
(
'
options
'
).
cursor
=
'
auto
'
;
$
(
source
).
draggable
(
'
proxy
'
).
css
(
'
border
'
,
'
1px solid red
'
);
$
(
this
).
addClass
(
'
over
'
);
},
onDragLeave
:
function
(
e
,
source
){
$
(
source
).
draggable
(
'
options
'
).
cursor
=
'
not-allowed
'
;
$
(
source
).
draggable
(
'
proxy
'
).
css
(
'
border
'
,
'
1px solid #ccc
'
);
$
(
this
).
removeClass
(
'
over
'
);
},
onDrop
:
function
(
e
,
source
){
$
(
this
).
append
(
source
)
$
(
this
).
removeClass
(
'
over
'
);
}
});
});
</script>
</body>
</html>
\ No newline at end of file
WebRoot/js/easyui-1.3.5/demo/droppable/basic.html
deleted
100644 → 0
View file @
177828ce
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Basic Droppable - 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 Droppable
</h2>
<div
class=
"demo-info"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
Drag the boxed on left to the target area on right.
</div>
</div>
<div
style=
"margin:10px 0;"
></div>
<div
style=
"float:left;width:200px;margin-right:20px;"
>
<div
class=
"title"
>
Source
</div>
<div>
<div
class=
"dragitem"
>
Apple
</div>
<div
class=
"dragitem"
>
Peach
</div>
<div
class=
"dragitem"
>
Orange
</div>
</div>
</div>
<div
style=
"float:left;width:200px;"
>
<div
class=
"title"
>
Target
</div>
<div
class=
"easyui-droppable targetarea"
data-options=
"
accept: '.dragitem',
onDragEnter:function(e,source){
$(this).html('enter');
},
onDragLeave: function(e,source){
$(this).html('leave');
},
onDrop: function(e,source){
$(this).html($(source).html() + ' dropped');
}
"
>
</div>
</div>
<div
style=
"clear:both"
></div>
<style
type=
"text/css"
>
.title
{
margin-bottom
:
10px
;
}
.dragitem
{
border
:
1px
solid
#ccc
;
width
:
50px
;
height
:
50px
;
margin-bottom
:
10px
;
}
.targetarea
{
border
:
1px
solid
red
;
height
:
150px
;
}
.proxy
{
border
:
1px
solid
#ccc
;
width
:
80px
;
background
:
#fafafa
;
}
</style>
<script>
$
(
function
(){
$
(
'
.dragitem
'
).
draggable
({
revert
:
true
,
deltaX
:
10
,
deltaY
:
10
,
proxy
:
function
(
source
){
var
n
=
$
(
'
<div class="proxy"></div>
'
);
n
.
html
(
$
(
source
).
html
()).
appendTo
(
'
body
'
);
return
n
;
}
});
});
</script>
</body>
</html>
\ No newline at end of file
WebRoot/js/easyui-1.3.5/demo/droppable/sort.html
deleted
100644 → 0
View file @
177828ce
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Change Items Order - 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>
Change Items Order
</h2>
<div
class=
"demo-info"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
Drag the list items to change their order.
</div>
</div>
<div
style=
"margin:10px 0;"
></div>
<ul
style=
"margin:0;padding:0;margin-left:10px;"
>
<li
class=
"drag-item"
>
Drag 1
</li>
<li
class=
"drag-item"
>
Drag 2
</li>
<li
class=
"drag-item"
>
Drag 3
</li>
<li
class=
"drag-item"
>
Drag 4
</li>
<li
class=
"drag-item"
>
Drag 5
</li>
<li
class=
"drag-item"
>
Drag 6
</li>
</ul>
<style
type=
"text/css"
>
.drag-item
{
list-style-type
:
none
;
display
:
block
;
padding
:
5px
;
border
:
1px
solid
#ccc
;
margin
:
2px
;
width
:
300px
;
background
:
#fafafa
;
color
:
#444
;
}
.indicator
{
position
:
absolute
;
font-size
:
9px
;
width
:
10px
;
height
:
10px
;
display
:
none
;
color
:
red
;
}
</style>
<script>
$
(
function
(){
var
indicator
=
$
(
'
<div class="indicator">>></div>
'
).
appendTo
(
'
body
'
);
$
(
'
.drag-item
'
).
draggable
({
revert
:
true
,
deltaX
:
0
,
deltaY
:
0
}).
droppable
({
onDragOver
:
function
(
e
,
source
){
indicator
.
css
({
display
:
'
block
'
,
left
:
$
(
this
).
offset
().
left
-
10
,
top
:
$
(
this
).
offset
().
top
+
$
(
this
).
outerHeight
()
-
5
});
},
onDragLeave
:
function
(
e
,
source
){
indicator
.
hide
();
},
onDrop
:
function
(
e
,
source
){
$
(
source
).
insertAfter
(
this
);
indicator
.
hide
();
}
});
});
</script>
</body>
</html>
\ No newline at end of file
WebRoot/js/easyui-1.3.5/demo/easyloader/basic.html
deleted
100644 → 0
View file @
177828ce
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Basic EasyLoader - 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=
"../../easyloader.js"
></script>
</head>
<body>
<h2>
Basic EasyLoader
</h2>
<div
class=
"demo-info"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
Click the buttons below to load components dynamically.
</div>
</div>
<div
style=
"margin:10px 0;"
>
<a
href=
"#"
class=
"easyui-linkbutton"
onclick=
"load1()"
>
Load Calendar
</a>
<a
href=
"#"
class=
"easyui-linkbutton"
onclick=
"load2()"
>
Load Dialog
</a>
<a
href=
"#"
class=
"easyui-linkbutton"
onclick=
"load3()"
>
Load DataGrid
</a>
</div>
<div
id=
"cc"
></div>
<div
id=
"dd"
></div>
<table
id=
"tt"
></table>
<script
type=
"text/javascript"
src=
"../../easyloader.js"
></script>
<script>
function
load1
(){
using
(
'
calendar
'
,
function
(){
$
(
'
#cc
'
).
calendar
({
width
:
180
,
height
:
180
});
});
}
function
load2
(){
using
([
'
dialog
'
,
'
messager
'
],
function
(){
$
(
'
#dd
'
).
dialog
({
title
:
'
Dialog
'
,
width
:
300
,
height
:
200
});
$
.
messager
.
show
({
title
:
'
info
'
,
msg
:
'
dialog created
'
});
});
}
function
load3
(){
using
(
'
datagrid
'
,
function
(){
$
(
'
#tt
'
).
datagrid
({
title
:
'
DataGrid
'
,
width
:
300
,
height
:
200
,
fitColumns
:
true
,
columns
:[[
{
field
:
'
productid
'
,
title
:
'
Product ID
'
,
width
:
100
},
{
field
:
'
productname
'
,
title
:
'
Product Name
'
,
width
:
200
}
]],
data
:
[
{
"
productid
"
:
"
FI-SW-01
"
,
"
productname
"
:
"
Koi
"
},
{
"
productid
"
:
"
K9-DL-01
"
,
"
productname
"
:
"
Dalmation
"
},
{
"
productid
"
:
"
RP-SN-01
"
,
"
productname
"
:
"
Rattlesnake
"
},
{
"
productid
"
:
"
RP-LI-02
"
,
"
productname
"
:
"
Iguana
"
},
{
"
productid
"
:
"
FL-DSH-01
"
,
"
productname
"
:
"
Manx
"
},
{
"
productid
"
:
"
FL-DLH-02
"
,
"
productname
"
:
"
Persian
"
},
{
"
productid
"
:
"
AV-CB-01
"
,
"
productname
"
:
"
Amazon Parrot
"
}
]
});
});
}
</script>
</body>
</html>
\ No newline at end of file
WebRoot/js/easyui-1.3.5/demo/form/basic.html
deleted
100644 → 0
View file @
177828ce
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Basic Form - 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 Form
</h2>
<div
class=
"demo-info"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
Fill the form and submit it.
</div>
</div>
<div
style=
"margin:10px 0;"
></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
style=
"text-align:center;padding:5px"
>
<a
href=
"javascript:void(0)"
class=
"easyui-linkbutton"
onclick=
"submitForm()"
>
Submit
</a>
<a
href=
"javascript:void(0)"
class=
"easyui-linkbutton"
onclick=
"clearForm()"
>
Clear
</a>
</div>
</div>
<script>
function
submitForm
(){
$
(
'
#ff
'
).
form
(
'
submit
'
);
}
function
clearForm
(){
$
(
'
#ff
'
).
form
(
'
clear
'
);
}
</script>
</body>
</html>
\ No newline at end of file
WebRoot/js/easyui-1.3.5/demo/form/form_data1.json
deleted
100644 → 0
View file @
177828ce
{
"name"
:
"easyui"
,
"email"
:
"easyui@gmail.com"
,
"subject"
:
"Subject Title"
,
"message"
:
"Message Content"
,
"language"
:
"en"
}
\ No newline at end of file
WebRoot/js/easyui-1.3.5/demo/form/load.html
deleted
100644 → 0
View file @
177828ce
<!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
deleted
100644 → 0
View file @
177828ce
<!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
deleted
100644 → 0
View file @
177828ce
<!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
deleted
100644 → 0
View file @
177828ce
<!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
Prev
1
…
33
34
35
36
37
38
39
40
41
…
50
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