This commit is contained in:
33
WebRoot/js/easyui-1.3.5/demo/pagination/attaching.html
Normal file
33
WebRoot/js/easyui-1.3.5/demo/pagination/attaching.html
Normal file
@@ -0,0 +1,33 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Attaching Other Components - 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>Attaching Other Components</h2>
|
||||
<div class="demo-info">
|
||||
<div class="demo-tip icon-tip"></div>
|
||||
<div>Any other components can be attached to page bar.</div>
|
||||
</div>
|
||||
<div style="margin:10px 0;"></div>
|
||||
<div class="easyui-pagination" data-options="showPageList:false,total:114,buttons:$('#buttons')" style="border:1px solid #ddd;"></div>
|
||||
<div id="buttons">
|
||||
<table style="border-spacing:0">
|
||||
<tr>
|
||||
<td>
|
||||
<input class="easyui-searchbox" style="width:150px">
|
||||
</td>
|
||||
<td>
|
||||
<a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-save',plain:true"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
21
WebRoot/js/easyui-1.3.5/demo/pagination/basic.html
Normal file
21
WebRoot/js/easyui-1.3.5/demo/pagination/basic.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Basic Pagination - 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 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>
|
||||
</div>
|
||||
<div style="margin:10px 0;"></div>
|
||||
<div class="easyui-pagination" data-options="total:114" style="border:1px solid #ddd;"></div>
|
||||
</body>
|
||||
</html>
|
||||
39
WebRoot/js/easyui-1.3.5/demo/pagination/custombuttons.html
Normal file
39
WebRoot/js/easyui-1.3.5/demo/pagination/custombuttons.html
Normal file
@@ -0,0 +1,39 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Custom Pagination 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>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>
|
||||
</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',
|
||||
handler:function(){
|
||||
alert('add');
|
||||
}
|
||||
},{
|
||||
iconCls:'icon-cut',
|
||||
handler:function(){
|
||||
alert('cut');
|
||||
}
|
||||
},{
|
||||
iconCls:'icon-save',
|
||||
handler:function(){
|
||||
alert('save');
|
||||
}
|
||||
}];
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
63
WebRoot/js/easyui-1.3.5/demo/pagination/layout.html
Normal file
63
WebRoot/js/easyui-1.3.5/demo/pagination/layout.html
Normal file
@@ -0,0 +1,63 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Pagination 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>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="
|
||||
total:114,
|
||||
layout:['first','prev','next','last']
|
||||
"></div>
|
||||
<div style="margin-top:10px">
|
||||
<select onchange="setLayout(this.value)">
|
||||
<option value="1">Previous Next</option>
|
||||
<option value="2">Manual Page Input</option>
|
||||
<option value="3">Numeric Links</option>
|
||||
<option value="4">Previous Links Next</option>
|
||||
<option value="5">Go To Page</option>
|
||||
</select>
|
||||
</div>
|
||||
<script>
|
||||
function setLayout(type){
|
||||
var p = $('#pp');
|
||||
switch(parseInt(type)){
|
||||
case 1:
|
||||
p.pagination({layout:['first','prev','next','last']});
|
||||
break;
|
||||
case 2:
|
||||
p.pagination({
|
||||
layout:['list','sep','first','prev','sep','manual','sep','next','last','sep','refresh'],
|
||||
beforePageText:'Page',
|
||||
afterPageText:'of {pages}'
|
||||
});
|
||||
break;
|
||||
case 3:
|
||||
p.pagination({layout:['links']});
|
||||
break;
|
||||
case 4:
|
||||
p.pagination({layout:['first','prev','links','next','last']});
|
||||
break;
|
||||
case 5:
|
||||
p.pagination({
|
||||
layout:['first','prev','next','last','sep','links','sep','manual'],
|
||||
beforePageText:'Go Page',
|
||||
afterPageText:''
|
||||
});
|
||||
break;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
24
WebRoot/js/easyui-1.3.5/demo/pagination/links.html
Normal file
24
WebRoot/js/easyui-1.3.5/demo/pagination/links.html
Normal file
@@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Pagination Links - 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>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="
|
||||
total:114,
|
||||
layout:['list','sep','first','prev','links','next','last','sep','refresh']
|
||||
"></div>
|
||||
</body>
|
||||
</html>
|
||||
27
WebRoot/js/easyui-1.3.5/demo/pagination/simple.html
Normal file
27
WebRoot/js/easyui-1.3.5/demo/pagination/simple.html
Normal file
@@ -0,0 +1,27 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Simplify Pagination - 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>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="
|
||||
total: 114,
|
||||
showPageList: false,
|
||||
showRefresh: false,
|
||||
displayMsg: ''
|
||||
"></div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user