You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
2.4 KiB
Plaintext
67 lines
2.4 KiB
Plaintext
12 months ago
|
<%@ Page Title="批量上传文件" Language="C#" MasterPageFile="~/Areas/MvcContainer/Views/Shared/SiteFile.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>
|
||
|
|
||
|
<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="server">
|
||
|
<link type="text/css" rel="stylesheet" href="../../Areas/MvcContainer/Content/css/normalize.css" />
|
||
|
<link type="text/css" rel="stylesheet" href="../../Areas/MvcContainer/Content/css/demo.css" />
|
||
|
<link type="text/css" rel="stylesheet" href="../../Areas/MvcContainer/Content/css/styles.imageuploader.css" />
|
||
|
<style type="text/css">
|
||
|
.form-radio input[type="radio"] {
|
||
|
width: 15px;
|
||
|
height: 15px;
|
||
|
float: left;
|
||
|
margin-right: 7px;
|
||
|
}
|
||
|
|
||
|
.form-radio .radio-label {
|
||
|
width: 105px;
|
||
|
float: left;
|
||
|
margin-top: 2px;
|
||
|
}
|
||
|
</style>
|
||
|
|
||
|
</asp:Content>
|
||
|
<asp:Content ContentPlaceHolderID="ContentBody" runat="server">
|
||
|
<%
|
||
|
|
||
|
%>
|
||
|
|
||
|
<section role="main" class="l-main" style="margin-top:50px;margin-bottom:50px;">
|
||
|
<div class="uploader__box js-uploader__box l-center-box">
|
||
|
<form method="POST" action="#" enctype="multipart/form-data">
|
||
|
|
||
|
<div class="uploader__contents">
|
||
|
<label class="button button--secondary" for="fileinput">请选择文件</label>
|
||
|
<input id="fileinput" class="uploader__file-input" type="file" multiple value="Select Files">
|
||
|
</div>
|
||
|
<input class="button button--big-bottom" type="submit" value="提交选中文件">
|
||
|
</form>
|
||
|
</div>
|
||
|
</section>
|
||
|
|
||
|
</asp:Content>
|
||
|
|
||
|
|
||
|
|
||
|
<asp:Content ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||
|
<%
|
||
|
|
||
|
|
||
|
%>
|
||
|
<script src="../../Areas/MvcContainer/Content/js/jquery-1.11.0.min.js"></script>
|
||
|
<script src="../../Areas/MvcContainer/Content/js/jquery.imageuploader.js"></script>
|
||
|
<script type="text/javascript">
|
||
|
(function () {
|
||
|
var options = {};
|
||
|
$('.js-uploader__box').uploader({
|
||
|
'selectButtonCopy': '请选择或拖拽文件',
|
||
|
'instructionsCopy': '你可以选择或拖拽多个文件',
|
||
|
'submitButtonCopy': '上传选择的文件',
|
||
|
'furtherInstructionsCopy': '你可以选择或拖拽更多的文件',
|
||
|
'secondarySelectButtonCopy': '选择更多的文件',
|
||
|
});
|
||
|
}());
|
||
|
</script>
|
||
|
|
||
|
|
||
|
</asp:Content>
|