Commit ab2872c1 authored by 季圣华's avatar 季圣华
Browse files

升级easyUI到1.9.4版本

parent 0527b980
......@@ -11,11 +11,10 @@
</head>
<body>
<h2>Basic Pagination</h2>
<div class="demo-info">
<div class="demo-tip icon-tip"></div>
<div>The user can change page number and page size on page bar.</div>
<p>The user can change page number and page size on page bar.</p>
<div style="margin:20px 0;"></div>
<div class="easyui-panel">
<div class="easyui-pagination" data-options="total:114"></div>
</div>
<div style="margin:10px 0;"></div>
<div class="easyui-pagination" data-options="total:114" style="border:1px solid #ddd;"></div>
</body>
</html>
\ No newline at end of file
......@@ -11,12 +11,11 @@
</head>
<body>
<h2>Custom Pagination Buttons</h2>
<div class="demo-info">
<div class="demo-tip icon-tip"></div>
<div>The customized buttons can be appended to page bar.</div>
<p>The customized buttons can be appended to page bar.</p>
<div style="margin:20px 0;"></div>
<div class="easyui-panel">
<div class="easyui-pagination" data-options="total:114,buttons:buttons"></div>
</div>
<div style="margin:10px 0;"></div>
<div class="easyui-pagination" data-options="total:114,buttons:buttons" style="border:1px solid #ddd;"></div>
<script>
var buttons = [{
iconCls:'icon-add',
......
......@@ -11,15 +11,14 @@
</head>
<body>
<h2>Pagination Layout</h2>
<div class="demo-info">
<div class="demo-tip icon-tip"></div>
<div>The pagination layout supports various types of pages which you can choose.</div>
</div>
<div style="margin:10px 0;"></div>
<div id="pp" class="easyui-pagination" style="border:1px solid #ddd;" data-options="
<p>The pagination layout supports various types of pages which you can choose.</p>
<div style="margin:20px 0;"></div>
<div class="easyui-panel">
<div id="pp" class="easyui-pagination" data-options="
total:114,
layout:['first','prev','next','last']
layout:['first','prev','next','last','info']
"></div>
</div>
<div style="margin-top:10px">
<select onchange="setLayout(this.value)">
<option value="1">Previous Next</option>
......@@ -34,7 +33,7 @@
var p = $('#pp');
switch(parseInt(type)){
case 1:
p.pagination({layout:['first','prev','next','last']});
p.pagination({layout:['first','prev','next','last','info']});
break;
case 2:
p.pagination({
......@@ -51,7 +50,7 @@
break;
case 5:
p.pagination({
layout:['first','prev','next','last','sep','links','sep','manual'],
layout:['first','prev','next','last','sep','links','sep','manual','info'],
beforePageText:'Go Page',
afterPageText:''
});
......
......@@ -11,14 +11,13 @@
</head>
<body>
<h2>Pagination Links</h2>
<div class="demo-info">
<div class="demo-tip icon-tip"></div>
<div>The example shows how to customize numbered pagination links.</div>
</div>
<div style="margin:10px 0;"></div>
<div class="easyui-pagination" style="border:1px solid #ddd;" data-options="
<p>The example shows how to customize numbered pagination links.</p>
<div style="margin:20px 0;"></div>
<div class="easyui-panel">
<div class="easyui-pagination" data-options="
total:114,
layout:['list','sep','first','prev','links','next','last','sep','refresh']
layout:['list','sep','first','prev','links','next','last','sep','refresh','info']
"></div>
</div>
</body>
</html>
\ No newline at end of file
......@@ -11,17 +11,15 @@
</head>
<body>
<h2>Simplify Pagination</h2>
<div class="demo-info">
<div class="demo-tip icon-tip"></div>
<div>The sample shows how to simplify pagination.</div>
</div>
<div style="margin:10px 0;"></div>
<div class="easyui-pagination" style="border:1px solid #ddd;" data-options="
<p>The sample shows how to simplify pagination.</p>
<div style="margin:20px 0;"></div>
<div class="easyui-panel">
<div class="easyui-pagination" data-options="
total: 114,
showPageList: false,
showRefresh: false,
displayMsg: ''
showPageInfo: false,
showRefresh: false
"></div>
</div>
</body>
</html>
\ No newline at end of file
......@@ -11,15 +11,12 @@
</head>
<body>
<h2>Basic Panel</h2>
<div class="demo-info">
<div class="demo-tip icon-tip"></div>
<div>The panel is a container for other components or elements.</div>
</div>
<div style="margin:10px 0;">
<p>The panel is a container for other components or elements.</p>
<div style="margin:20px 0 10px 0;">
<a href="#" class="easyui-linkbutton" onclick="javascript:$('#p').panel('open')">Open</a>
<a href="#" class="easyui-linkbutton" onclick="javascript:$('#p').panel('close')">Close</a>
</div>
<div id="p" class="easyui-panel" title="Basic Panel" style="width:500px;height:200px;padding:10px;">
<div id="p" class="easyui-panel" title="Basic Panel" style="width:700px;height:200px;padding:10px;">
<p style="font-size:14px">jQuery EasyUI framework helps you build your web pages easily.</p>
<ul>
<li>easyui is a collection of user-interface plugin based on jQuery.</li>
......
......@@ -11,12 +11,9 @@
</head>
<body>
<h2>Custom Panel Tools</h2>
<div class="demo-info">
<div class="demo-tip icon-tip"></div>
<div>Click the right top buttons to perform actions with panel.</div>
</div>
<div style="margin:10px 0;"></div>
<div class="easyui-panel" title="Custom Panel Tools" style="width:500px;height:200px;padding:10px;"
<p>Click the right top buttons to perform actions with panel.</p>
<div style="margin:20px 0 10px 0;"></div>
<div class="easyui-panel" title="Custom Panel Tools" style="width:700px;height:200px;padding:10px;"
data-options="iconCls:'icon-save',closable:true,tools:'#tt'">
<p style="font-size:14px">jQuery EasyUI framework helps you build your web pages easily.</p>
<ul>
......
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Fluid Panel - 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>Fluid Panel</h2>
<p>This example shows how to set the width of Panel to a percentage of its parent container.</p>
<div style="margin:20px 0 10px 0;">
</div>
<div id="p" class="easyui-panel" title="Fluid Panel" style="width:100%;height:200px;padding:10px;">
<p>The panel has a width of 100%.<p>
</div>
</body>
</html>
\ No newline at end of file
......@@ -2,7 +2,7 @@
<html>
<head>
<meta charset="UTF-8">
<title>Basic NumberBox - jQuery EasyUI Demo</title>
<title>Panel Footer - 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">
......@@ -10,18 +10,13 @@
<script type="text/javascript" src="../../jquery.easyui.min.js"></script>
</head>
<body>
<h2>Basic NumberBox</h2>
<div class="demo-info">
<div class="demo-tip icon-tip"></div>
<div>The Box can only input number.</div>
<h2>Panel Footer</h2>
<p>The panel footer is displayed at the bottom of the panel and can consist of any other components.</p>
<div style="margin:20px 0 10px 0;"></div>
<div class="easyui-panel" title="Panel Footer" style="width:700px;height:200px;" data-options="footer:'#footer'">
</div>
<div style="margin:10px 0;"></div>
<input class="easyui-numberbox" required data-options="
onChange: function(value){
$('#vv').text(value);
}">
<div style="margin:10px 0;">
Value: <span id="vv"></span>
<div id="footer" style="padding:5px;">
Footer Content.
</div>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Panel Header Alignment - 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>Panel Header Alignment</h2>
<p>The panel header can be aligned horizontally or vertically.</p>
<div style="margin:20px 0 10px 0;">
</div>
<div class="easyui-panel" title="Head on Top" style="width:700px;height:120px;">
</div>
<div style="margin-bottom:10px"></div>
<div class="easyui-panel" title="Head on Left" halign="left" titleDirection="up" style="width:700px;height:120px;">
</div>
<div style="margin-bottom:10px"></div>
<div class="easyui-panel" title="Head on Right" halign="right" style="width:700px;height:120px;">
</div>
</body>
</html>
\ No newline at end of file
......@@ -11,12 +11,9 @@
</head>
<body>
<h2>Load Panel Content</h2>
<div class="demo-info">
<div class="demo-tip icon-tip"></div>
<div>Click the refresh button on top right of panel to load content.</div>
</div>
<div style="margin:10px 0;"></div>
<div id="p" class="easyui-panel" title="Load Panel Content" style="width:500px;height:200px;padding:10px;"
<p>Click the refresh button on top right of panel to load content.</p>
<div style="margin:20px 0 10px 0;"></div>
<div id="p" class="easyui-panel" title="Load Panel Content" style="width:700px;height:200px;padding:10px;"
data-options="
tools:[{
iconCls:'icon-reload',
......
......@@ -11,19 +11,19 @@
</head>
<body>
<h2>Nested Panel</h2>
<div class="demo-info">
<div class="demo-tip icon-tip"></div>
<div>The panel can be placed inside containers and can contain other components.</div>
</div>
<div style="margin:10px 0;"></div>
<div class="easyui-panel" title="Nested Panel" style="width:500px;height:200px;padding:10px;">
<p>The panel can be placed inside containers and can contain other components.</p>
<div style="margin:20px 0 10px 0;"></div>
<div class="easyui-panel" title="Nested Panel" style="width:700px;height:200px;padding:10px;">
<div class="easyui-layout" data-options="fit:true">
<div data-options="region:'west',split:true" style="width:100px;padding:10px">
Left Content
</div>
<div data-options="region:'center'" style="padding:10px">
<div data-options="region:'east'" style="width:100px;padding:10px">
Right Content
</div>
<div data-options="region:'center'" style="padding:10px">
Center Content
</div>
</div>
</div>
</body>
......
......@@ -11,18 +11,15 @@
</head>
<body>
<h2>Panel Tools</h2>
<div class="demo-info">
<div class="demo-tip icon-tip"></div>
<div>Click the right top buttons to perform actions with panel.</div>
</div>
<div style="margin:10px 0;">
<p>Click the right top buttons to perform actions with panel.</p>
<div style="margin:20px 0 10px 0;">
<a href="javascript:void(0)" class="easyui-linkbutton" onclick="javascript:$('#p').panel('open')">Open</a>
<a href="javascript:void(0)" class="easyui-linkbutton" onclick="javascript:$('#p').panel('close')">Close</a>
<a href="javascript:void(0)" class="easyui-linkbutton" onclick="javascript:$('#p').panel('expand',true)">Expand</a>
<a href="javascript:void(0)" class="easyui-linkbutton" onclick="javascript:$('#p').panel('collapse',true)">Collapse</a>
</div>
<div style="height:350px;border:1px solid #ccc;">
<div id="p" class="easyui-panel" title="Panel Tools" style="width:500px;height:200px;padding:10px;"
<div class="easyui-panel" style="height:350px;padding:5px;">
<div id="p" class="easyui-panel" title="Panel Tools" style="width:600px;height:200px;padding:10px;"
data-options="iconCls:'icon-save',collapsible:true,minimizable:true,maximizable:true,closable:true">
<p style="font-size:14px">jQuery EasyUI framework helps you build your web pages easily.</p>
<ul>
......
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Basic PasswordBox - 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 PasswordBox</h2>
<p>The passwordbox allows a user to enter passwords.</p>
<div style="margin:20px 0;"></div>
<div class="easyui-panel" style="width:400px;padding:50px 60px">
<div style="margin-bottom:20px">
<input class="easyui-textbox" prompt="Username" iconWidth="28" style="width:100%;height:34px;padding:10px;">
</div>
<div style="margin-bottom:20px">
<input class="easyui-passwordbox" prompt="Password" iconWidth="28" style="width:100%;height:34px;padding:10px">
</div>
</div>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Flash PasswordBox Letters - 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>Flash PasswordBox Letters</h2>
<p>This example shows how to flash the entered password letter by letter.</p>
<div style="margin:20px 0;"></div>
<div class="easyui-panel" style="width:400px;padding:50px 60px">
<div style="margin-bottom:20px">
<input class="easyui-textbox" prompt="Username" iconWidth="28" style="width:100%;height:34px;padding:10px;">
</div>
<div style="margin-bottom:20px">
<input id="pass" class="easyui-passwordbox" prompt="Password" iconWidth="28" style="width:100%;height:34px;padding:10px">
</div>
</div>
<div id="viewer"></div>
<script type="text/javascript">
$('#pass').passwordbox({
inputEvents: $.extend({}, $.fn.passwordbox.defaults.inputEvents, {
keypress: function(e){
var char = String.fromCharCode(e.which);
$('#viewer').html(char).fadeIn(200, function(){
$(this).fadeOut();
});
}
})
})
</script>
<style>
#viewer{
position: relative;
padding: 0 60px;
top: -70px;
font-size: 54px;
line-height: 60px;
}
</style>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Validate Password - 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>Validate Password</h2>
<p>This example shows how to validate whether a user enters the same password.</p>
<div style="margin:20px 0;"></div>
<div class="easyui-panel" style="width:400px;padding:50px 60px">
<div style="margin-bottom:20px">
<input class="easyui-textbox" prompt="Username" iconWidth="28" style="width:100%;height:34px;padding:10px;">
</div>
<div style="margin-bottom:20px">
<input id="pass" class="easyui-passwordbox" prompt="Password" iconWidth="28" style="width:100%;height:34px;padding:10px">
</div>
<div style="margin-bottom:20px">
<input class="easyui-passwordbox" prompt="Confirm your password" iconWidth="28" validType="confirmPass['#pass']" style="width:100%;height:34px;padding:10px">
</div>
</div>
<script type="text/javascript">
$.extend($.fn.validatebox.defaults.rules, {
confirmPass: {
validator: function(value, param){
var pass = $(param[0]).passwordbox('getValue');
return value == pass;
},
message: 'Password does not match confirmation.'
}
})
</script>
</body>
</html>
\ No newline at end of file
......@@ -11,11 +11,8 @@
</head>
<body>
<h2>Basic ProgressBar</h2>
<div class="demo-info">
<div class="demo-tip icon-tip"></div>
<div>Click the button below to show progress information.</div>
</div>
<div style="margin:10px 0;">
<p>Click the button below to show progress information.</p>
<div style="margin:20px 0;">
<a href="#" class="easyui-linkbutton" onclick="start()">Start</a>
</div>
<div id="p" class="easyui-progressbar" style="width:400px;"></div>
......
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Fluid ProgressBar - 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>Fluid ProgressBar</h2>
<p>This example shows how to set the width of ProgressBar to a percentage of its parent container.</p>
<div style="margin:20px 0;"></div>
<p>width: 50%</p>
<div class="easyui-progressbar" data-options="value:80" style="width:50%;"></div>
<p>width: 30%</p>
<div class="easyui-progressbar" data-options="value:40" style="width:30%;"></div>
</body>
</html>
\ No newline at end of file
......@@ -11,11 +11,8 @@
</head>
<body>
<h2>Basic PropertyGrid</h2>
<div class="demo-info">
<div class="demo-tip icon-tip"></div>
<div>Click on row to change each property value.</div>
</div>
<div style="margin:10px 0;">
<p>Click on row to change each property value.</p>
<div style="margin:20px 0;">
<a href="javascript:void(0)" class="easyui-linkbutton" onclick="showGroup()">ShowGroup</a>
<a href="javascript:void(0)" class="easyui-linkbutton" onclick="hideGroup()">HideGroup</a>
<a href="javascript:void(0)" class="easyui-linkbutton" onclick="showHeader()">ShowHeader</a>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment