Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.AdminUI\Pub\Application\InportEdit.aspx
??<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="InportEdit.aspx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.Application.InportEdit" %> <!doctype html > <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title> <%= this.Title %></title> <%= Import.Theme() %> <%= Import.CSS("/zh-cn/bootstrap/css/bootstrap.css") %> <%= Import.CSS("/zh-cn/bootstrap/css/bootstrap-theme.css") %> <%= Import.CSS("/zh-cn/bootstrap/admin.css") %> <%-- <%= Import.CSS("/zh-cn/Admin_StyleSheet.css") %>--%> <%= Import.Script("/jquery.1.9.js")%> <%= Import.Script("/app.js")%> <%= Import.Script("/bootstrap/bootstrap.min.js")%> </head> <body> <div class="wrap"> <% var nav = new NavigationInstance(this) { }; nav.IsTopNav = true; %> <%= nav.ToHtml() %> <div class="container-fulid"> <div class="row"> <% nav.GetChildMenu(Request["muid"]);%> <%= nav.ToHtml() %> <div class="col-md-12 " id="content"> <div id="divMain" class="gContent"> <div class="gCnta"> <div class="gCnta-cont"> <div class="g-title-2"> <div class="ico-loading right hidden"> </div> <div title="<%= DefineEnum.?????????.Define().ToScriptTag() %>" class="ico-question right"> </div> <h3 class="txt-14"> <%= Title %></h3> </div> <div class="ln-thick ln-c-mid"> </div> <div class="subcontent"> <form id="frmLiveInport" action="" method="post" onsubmit="return false;"> <table class="g-table-cntacomm"> <tr> <th><span><span class="required">*</span>????????</span></th> <td> <%= new HtmlHidden("FileName", null) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("FileName")%> <div> <%= new SingleUploadInstance(this) { UploadTag = "FileName", Accept = ".xlsx", UploadControlName="??????"}.ToHtml()%> <%-- <%= new SingleUploadInstance(this) { UploadTag = "FileName", InitParams = "FileFilter=??????Excel??????(*.xls)|*.xls,DefaultColor=#F5F5F5F5,SelectFiles=??????????????????,Upload=?????????" }.ToHtml()%> --%> <script type="text/javascript"> function UploadFinishedFileName(fileName, fileSize) { $("#frmLiveInport [Name=FileName]").val(fileName); } </script> </div> 1.???????????? <%= new HtmlAnchor("?????????.xlsx") { Href = "../../Resource/ExcelTemplate/?????????.xlsx"}%> <br /> 2.?????????????? <%= new HtmlAnchor("????????????.doc") { Href = "../../Resource/ExcelTemplate/????????????.doc"}%> <br /> 3.?????????????????????????????????????????????????????? </td> </tr> <tr> <th style="text-align: right;"><span class="label">????????</span></th> <td> <table border="0px"> <tr> <td> <%= new HtmlHidden("Cover", null)%> <%= new HtmlImg(SettingGroup.NonePic) { Class = "default-image"}%> <br /> <a href="#deleteCover" class="delete-image decoration-none hidden"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <a href="#uploadCover" class="decoration-none" onclick="return UploadFile('#frmLiveInport [name=Cover]','<%= Define.Get("??????")%>','0','<%= SettingGroup.ApplicationUploadPath %>','','960', '540')"><span class="txt-info">[<%= DefineEnum.??????.Define() %>]</span></a> </td> </tr> <tr> <td>???.jpg??if??ng???????? </td> </tr> </table> </td> </tr> <tr> <th style="text-align: right;"></th> <td> <%= new HtmlHidden("Key", SetKey(this.ViewData["_Application.Guid"], this.ViewData["_Application.Version"]))%> <%= new HtmlHidden("ParentUser", this.User.Guid)%> <%= new HtmlSubmit("??????", "ApplicationEdit", "LiveInportClient(this);").Style(new { Width = "100px" })%> </td> </tr> </table> </form> </div> </div> </div> </div> <iframe id="frmDownload" src="" style="display: none"></iframe> </div></div></div></div></body> </html> <%-- = Import.Script("/jquery.1.9.js")--%> <%= Import.Script("js","/JQueryUI/jquery-ui.min.js")%> <%= Import.Script("js", "/XhEditor/xheditor-zh-cn.min.js")%> <%= Import.Script("js", "/YK_Validate/YK_Validate.js")%> <%= Import.Script("js", "/YK_Validate/YK_ValidateRegex.js")%> <%= Import.CSS("js", "/YK_Validate/validator.css")%> <%= Import.Script("js","/FancyBox/jquery.fancybox-1.2.1.js")%> <%= Import.CSS("js", "/FancyBox/jquery.fancybox.css")%> <%= Import.Script("/ToolTip/jquery.tipsy.js")%> <%= Import.Script("/URL/jquery.url.js")%> <%= Import.Script("/JsonCookie/json2.js")%> <%= Import.Script("/JsonCookie/jquery.cookie.js")%> <%= Import.Script("/JsonCookie/jquery.jsoncookie.js")%> <%= Import.Script("/global.aspx")%> <%= Import.Script("/SelectForm.js")%> <%= Import.Script("js", "/global.js")%> <%= Import.Script("js", "/Public.js")%> <%= Import.Script("js", "/ListPublic.js")%> <%= Import.Script("js", "/Ajax/Pub/ApplicationAjax.js")%> <script type="text/javascript"> //?????? $.validator.initConfig({ validatorGroup: "LiveInport", form: "#frmLiveInport", alertMessage: true, showMessage: false }); //?????? $("#frmLiveInport [name=FileName]").formValidator({ validatorGroup: "LiveInport", rules: { required: null }, message: { required: "??????????????" } }); </script> <script type="text/javascript"> function LiveInportClient(send) { $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.LiveInportClient", data: Global.GetFormValue($("#frmLiveInport")), async: true, dataType: 'json', success: function (result) { $(send).val('???'); alert("???????????" + result.Count + "?????????????????????????????????"); document.getElementById("frmDownload").src = result.DataUrl; Global.Disabled(send, false); }, beforeSend: function () { $(send).val('?????...'); Global.Disabled(send, true); }, complete: function () { }, error: function (XMLHttpRequest, textStatus, errorThrown) { $(send).val('???'); Global.Disabled(send, false); var message = XMLHttpRequest.responseText; Global.Error(message); } }); } </script>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de