升级easyUI到1.9.4版本
This commit is contained in:
31
erp_web/js/easyui/demo/filebox/basic.html
Normal file
31
erp_web/js/easyui/demo/filebox/basic.html
Normal file
@@ -0,0 +1,31 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Basic FileBox - 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 FileBox</h2>
|
||||
<p>The filebox component represents a file field of the forms.</p>
|
||||
<div style="margin:20px 0;"></div>
|
||||
<div class="easyui-panel" title="Upload File" style="width:100%;max-width:400px;padding:30px 60px;">
|
||||
<div style="margin-bottom:20px">
|
||||
<input class="easyui-textbox" label="Name:" labelPosition="top" style="width:100%">
|
||||
</div>
|
||||
<div style="margin-bottom:20px">
|
||||
<input class="easyui-filebox" label="File1:" labelPosition="top" data-options="prompt:'Choose a file...'" style="width:100%">
|
||||
</div>
|
||||
<div style="margin-bottom:40px">
|
||||
<input class="easyui-filebox" label="File2:" labelPosition="top" data-options="prompt:'Choose another file...'" style="width:100%">
|
||||
</div>
|
||||
<div>
|
||||
<a href="#" class="easyui-linkbutton" style="width:100%">Upload</a>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
32
erp_web/js/easyui/demo/filebox/buttonalign.html
Normal file
32
erp_web/js/easyui/demo/filebox/buttonalign.html
Normal file
@@ -0,0 +1,32 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Button Align on FileBox - 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 Align on FileBox</h2>
|
||||
<p>Change the button align to the left or right of filebox.</p>
|
||||
<div style="margin:20px 0 40px 0;"></div>
|
||||
<span>Select Button Align:</span>
|
||||
<select onchange="changeAlign(this.value)">
|
||||
<option value="left">Left</option>
|
||||
<option value="right" selected>Right</option>
|
||||
</select>
|
||||
<div style="margin:20px 0;"></div>
|
||||
<div class="easyui-panel" style="width:100%;max-width:400px;padding:30px 60px;">
|
||||
<input id="fb" class="easyui-filebox" style="width:100%" data-options="prompt:'Choose a file...'">
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
function changeAlign(align){
|
||||
$('#fb').filebox({buttonAlign:align});
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
25
erp_web/js/easyui/demo/filebox/fluid.html
Normal file
25
erp_web/js/easyui/demo/filebox/fluid.html
Normal file
@@ -0,0 +1,25 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Fluid FileBox - 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 FileBox</h2>
|
||||
<p>This example shows how to set the width of FileBox to a percentage of its parent container.</p>
|
||||
<div style="margin:20px 0;"></div>
|
||||
<div class="easyui-panel" style="width:100%;max-width:400px;padding:30px 60px;">
|
||||
<div style="margin-bottom:20px">
|
||||
<input class="easyui-filebox" label="width: 100%" labelPosition="top" style="width:100%">
|
||||
</div>
|
||||
<div style="margin-bottom:20px">
|
||||
<input class="easyui-filebox" label="width: 80%" labelPosition="top" style="width:80%">
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user