This commit is contained in:
26
WebRoot/js/easyui-1.3.5/demo/dialog/basic.html
Normal file
26
WebRoot/js/easyui-1.3.5/demo/dialog/basic.html
Normal file
@@ -0,0 +1,26 @@
|
||||
<!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>
|
||||
49
WebRoot/js/easyui-1.3.5/demo/dialog/complextoolbar.html
Normal file
49
WebRoot/js/easyui-1.3.5/demo/dialog/complextoolbar.html
Normal file
@@ -0,0 +1,49 @@
|
||||
<!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>
|
||||
55
WebRoot/js/easyui-1.3.5/demo/dialog/toolbarbuttons.html
Normal file
55
WebRoot/js/easyui-1.3.5/demo/dialog/toolbarbuttons.html
Normal file
@@ -0,0 +1,55 @@
|
||||
<!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>
|
||||
Reference in New Issue
Block a user