Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\Pub\RecordVideo\Edit.aspx
??<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.RecordVideo.Edit" %> <!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> <span class="txt-info">[<a href="#" onclick="GoList();return false;"><%= DefineEnum.???.Define() %></a>]</span> </div> <div class="ln-thick ln-c-mid"> </div> <div class="subcontent"> <form id="frmRecordVideo" action="" onsubmit="return false;"> <div> <table class="g-table-cntacomm"> <tr style='<%= IN(this.ViewData["_RecordVideo"], "", "display:none;")%>'> <th title="<%= Define.Get("RecordVideo_RecordEquipmentDomainName_????????????").ToScriptTag() %>"> <%= Define.Get("RecordVideo_RecordEquipmentDomainName_????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_RecordVideo.ParentRecordEquipment.ParentDomain.Name"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr style='<%= IN(this.ViewData["_RecordVideo"], "", "display:none;")%>'> <th title="<%= Define.Get("RecordVideo_RecordEquipmentDomainCode_????????????").ToScriptTag() %>"> <%= Define.Get("RecordVideo_RecordEquipmentDomainCode_????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_RecordVideo.ParentRecordEquipment.ParentDomain.Code"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr> <th title="<%= Define.Get("RecordVideo_??????").ToScriptTag() %>"> <%= Define.Get("RecordVideo_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ParentRecordEquipment_Name", IN(this.ViewData["_RecordVideo"], this.ViewData["_RecordVideo.ParentRecordEquipment.Name"])) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmRecordVideo [name=ParentRecordEquipment]","Edit");" }%> <%= new HtmlHidden("ParentRecordEquipment", this.ViewData["_RecordVideo.ParentRecordEquipment.Guid"])%> <%--<a href="#selectRecordEquipment" class="decoration-none" onclick="return SelectRecordEquipment('#frmRecordVideo [name=ParentRecordEquipment]','#frmRecordVideo [name=ParentRecordEquipment_Name]')"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <a href="#clear" class="decoration-none select-clear hidden"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a>--%> <%= new HtmlYKTip("ParentRecordEquipment") %> </td> </tr> <tr style='<%= IN(this.ViewData["_RecordVideo"], "", "display:none;")%>'> <th title="<%= Define.Get("RecordVideo_ApplicationRecordEquipmentDomainName_?????????").ToScriptTag() %>"> <%= Define.Get("RecordVideo_ApplicationRecordEquipmentDomainName_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_RecordVideo.ParentApplication.ParentRecordEquipment.ParentDomain.Name"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr style='<%= IN(this.ViewData["_RecordVideo"], "", "display:none;")%>'> <th title="<%= Define.Get("RecordVideo_ApplicationRecordEquipmentDomainCode_?????????").ToScriptTag() %>"> <%= Define.Get("RecordVideo_ApplicationRecordEquipmentDomainCode_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_RecordVideo.ParentApplication.ParentRecordEquipment.ParentDomain.Code"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr style='<%= IN(this.ViewData["_RecordVideo"], "", "display:none;")%>'> <th title="<%= Define.Get("RecordVideo_ApplicationRecordEquipmentName_?????????").ToScriptTag() %>"> <%= Define.Get("RecordVideo_ApplicationRecordEquipmentName_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_RecordVideo.ParentApplication.ParentRecordEquipment.Name"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr> <th title="<%= Define.Get("RecordVideo_????????").ToScriptTag() %>"> <%= Define.Get("RecordVideo_????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ParentPlaySaveServer_Name", IN(this.ViewData["_RecordVideo"], this.ViewData["_RecordVideo.ParentPlaySaveServer.Name"])) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmRecordVideo [name=ParentPlaySaveServer]","Edit");" }%> <%= new HtmlHidden("ParentPlaySaveServer", this.ViewData["_RecordVideo.ParentPlaySaveServer.Guid"])%> <%--<a href="#selectPlaySaveServer" class="decoration-none" onclick="return SelectPlaySaveServer('#frmRecordVideo [name=ParentPlaySaveServer]','#frmRecordVideo [name=ParentPlaySaveServer_Name]')"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <a href="#clear" class="decoration-none select-clear hidden"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a>--%> <%= new HtmlYKTip("ParentPlaySaveServer") %> </td> </tr> <tr> <th title="<%= Define.Get("RecordVideo_????????????").ToScriptTag() %>"> <%= Define.Get("RecordVideo_????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("IsHDVideo", this.ViewData["_RecordVideo.IsHDVideo"], true, false) { Class = "", DefaultChecked = false}%> </td> </tr> <tr> <th title="<%= Define.Get("RecordVideo_??????????").ToScriptTag() %>"> <%= Define.Get("RecordVideo_??????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("", IN(this.ViewData["_RecordVideo"],this.ViewData["_RecordVideo.ParentApplication.Title"],null )) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmRecordVideo [name=ParentApplication]","Edit");" }%> <%= new HtmlHidden("ParentApplication", this.ViewData["_RecordVideo.ParentApplication.Guid"])%> <%--<a href="#selectApplication" class="decoration-none" onclick="return SelectApplication('#frmRecordVideo [name=ParentApplication]','#frmRecordVideo [name=]')"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <a href="#clear" class="decoration-none select-clear hidden"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a>--%> </td> </tr> <tr style='<%= IN(this.ViewData["_RecordVideo"], "", "display:none;")%>'> <th title="<%= Define.Get("RecordVideo_UserDomainName_?????????").ToScriptTag() %>"> <%= Define.Get("RecordVideo_UserDomainName_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_RecordVideo.ParentUser.ParentDomain.Name"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr style='<%= IN(this.ViewData["_RecordVideo"], "", "display:none;")%>'> <th title="<%= Define.Get("RecordVideo_UserDomainCode_?????????").ToScriptTag() %>"> <%= Define.Get("RecordVideo_UserDomainCode_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_RecordVideo.ParentUser.ParentDomain.Code"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr style='<%= IN(this.ViewData["_RecordVideo"], "", "display:none;")%>'> <th title="<%= Define.Get("RecordVideo_UserUserTypeName_?????????").ToScriptTag() %>"> <%= Define.Get("RecordVideo_UserUserTypeName_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_RecordVideo.ParentUser.ParentUserType.Name"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr> <th title="<%= Define.Get("RecordVideo_???????").ToScriptTag() %>"> <%= Define.Get("RecordVideo_???????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ParentUser_TrueName_UserName", IN(this.ViewData["_RecordVideo"], this.ViewData["_RecordVideo.ParentUser.TrueName"] + "[" + this.ViewData["_RecordVideo.ParentUser.UserName"] + "]")) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmRecordVideo [name=ParentUser]","Edit");" }%> <%= new HtmlHidden("ParentUser", this.ViewData["_RecordVideo.ParentUser.Guid"])%> <%--<a href="#selectUser" class="decoration-none" onclick="return SelectUser('#frmRecordVideo [name=ParentUser]','#frmRecordVideo [name=ParentUser_TrueName_UserName]')"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <a href="#clear" class="decoration-none select-clear hidden"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a>--%> <%= new HtmlYKTip("ParentUser") %> </td> </tr> <tr> <th title="<%= Define.Get("RecordVideo_????????").ToScriptTag() %>"> <%= Define.Get("RecordVideo_????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("FileName", this.ViewData["_RecordVideo.FileName"]) { ReadOnly = true, Class = "ipt-t ipt-t-dft " }%> <%--<a href="#deleteFileName" class="delete-file decoration-none hidden"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <a href="javascript:return false;" class="download-file decoration-none hidden" target="_blank"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <a href="#uploadFileName" class="decoration-none" onclick="return UploadFile('#frmRecordVideo [name=FileName]','<%= Define.Get("RecordVideo_FileName_?????????????????")%>','1','<%= SettingGroup.RecordVideoUploadPath %>','','0','0')"><span class="txt-info">[<%= DefineEnum.??????.Define() %>]</span></a>--%> </td> </tr> <tr> <th title="<%= Define.Get("RecordVideo_?????????").ToScriptTag() %>"> <%= Define.Get("RecordVideo_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlSelect("FileType", "Value", "Key") { Option = typeof(AVA.ResourcesPlatform.Model.Pub.RecordVideoFileTypeEnum) }.InsertOption("::" + DefineEnum.???.Define() + "::", null, 0).SelectValue(this.ViewData["_RecordVideo.FileType"])%> </td> </tr> <tr> <th title="<%= Define.Get("RecordVideo_??????????").ToScriptTag() %>"> <%= Define.Get("RecordVideo_??????????").HtmlEncode() %>?? </th> <td class="tooltip" title="<%= Define.Get("RecordVideo_DownloadStatus_?????????????????????").ToScriptTag()%>"> <%= new HtmlSelect("DownloadStatus", "Value", "Key") { Option = typeof(AVA.ResourcesPlatform.Model.Pub.RecordVideoDownloadStatusEnum) }.InsertOption("::" + DefineEnum.???.Define() + "::", null, 0).SelectValue(this.ViewData["_RecordVideo.DownloadStatus"])%> </td> </tr> <tr> <th title="<%= Define.Get("RecordVideo_??????").ToScriptTag() %>"> <%= Define.Get("RecordVideo_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlTextArea("DownloadDescription", this.ViewData["_RecordVideo.DownloadDescription"], 2000) { Class = "ipt-t ipt-t-dft width400 height100" }%> </td> </tr> <tr> <th title="<%= Define.Get("RecordVideo_???RecID").ToScriptTag() %>"> <%= Define.Get("RecordVideo_???RecID").HtmlEncode() %>?? </th> <td> <%= new HtmlText("RecID", this.ViewData["_RecordVideo.RecID"]) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("RecID") %> </td> </tr> <tr> <th title="<%= Define.Get("RecordVideo_??????").ToScriptTag() %>"> <%= Define.Get("RecordVideo_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("FileSize", this.ViewData["_RecordVideo.FileSize"]) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("FileSize") %> </td> </tr> <tr> <th title="<%= Define.Get("RecordVideo_???????????").ToScriptTag() %>"> <%= Define.Get("RecordVideo_???????????").HtmlEncode() %>?? </th> <td> <%= new HtmlSelect("ExtType", "Value", "Key") { Option = typeof(AVA.ResourcesPlatform.Model.Pub.RecordVideoExtTypeEnum) }.InsertOption("::" + DefineEnum.???.Define() + "::", null, 0).SelectValue(this.ViewData["_RecordVideo.ExtType"])%> </td> </tr> <tr> <th title="<%= Define.Get("RecordVideo_?????????????").ToScriptTag() %>"> <%= Define.Get("RecordVideo_?????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("StartTime", this.ViewData["_RecordVideo.StartTime"].ToDateTimeN().ToLongDate()) { Class = "ipt-t ipt-t-dft datetime " }%> <%= new HtmlYKTip("StartTime") %> </td> </tr> <tr> <th title="<%= Define.Get("RecordVideo_????????????").ToScriptTag() %>"> <%= Define.Get("RecordVideo_????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("EndTime", this.ViewData["_RecordVideo.EndTime"].ToDateTimeN().ToLongDate()) { Class = "ipt-t ipt-t-dft datetime " }%> </td> </tr> <tr> <th title="<%= Define.Get("RecordVideo_?????????").ToScriptTag() %>"> <%= Define.Get("RecordVideo_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("QueueTime", this.ViewData["_RecordVideo.QueueTime"].ToDateTimeN().ToLongDate()) { Class = "ipt-t ipt-t-dft datetime " }%> </td> </tr> <%-- <tr> <th title="<%= Define.Get("RecordVideo_?????????????????").ToScriptTag() %>"> <%= Define.Get("RecordVideo_?????????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("RecLen", this.ViewData["_RecordVideo.RecLen"]) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("RecLen") %> </td> </tr>--%> </table> </div> <div style="margin-top: -1px;" class="ln-thin ln-c-mid"> </div> <table class="g-table-cntacomm"> <tr> <th> </th> <td> <%= new HtmlHidden("KEY", KEY)%> <%= new HtmlSubmit("Send", "Edit", GetSubmitMothed(this.ViewData["_RecordVideo"])) { Class = "hidden" }%> <%--<div onclick="$(this).siblings(':submit')[0].click();" class="btn btn-dft btn-dft-impt"> <span> <%= GetSubmitText(this.ViewData["_RecordVideo"])%></span></div>--%> <div title="" onclick="GoList();" class="btn btn-dft"> <span> <%= DefineEnum.????.Define() %></span></div> </td> </tr> </table> </form> </div> </div> </div> </div> </div></div></div></div></body> <%= 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/RecordVideoAjax.js")%> <script type="text/javascript"> //?????? //?????? $.validator.initConfig({ validatorGroup: "Edit", form: "#frmRecordVideo" }); //?????? $("#frmRecordVideo [name=ParentRecordEquipment]").formValidator({ targetFocus : "#frmRecordVideo [name=ParentRecordEquipment_Name]", validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("RecordVideo_RecordEquipmentGuid_???????????").ToScriptChar() %>" } }); //??????? $("#frmRecordVideo [name=ParentUser]").formValidator({ targetFocus : "#frmRecordVideo [name=ParentUser_TrueName_UserName]", validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("RecordVideo_UserGuid_????????????").ToScriptChar() %>" } }); //???RecID $("#frmRecordVideo [name=RecID]").formValidator({ validatorGroup: "Edit", rules: { regex: "num1" }, message: { regex: "<%= Define.Get("RecordVideo_RecID_???????????").ToScriptChar() %>" } }); //?????? $("#frmRecordVideo [name=FileSize]").formValidator({ validatorGroup: "Edit", rules: { regex: "num1" }, message: { regex: "<%= Define.Get("RecordVideo_FileSize_???????????").ToScriptChar() %>" } }); //????????????? $("#frmRecordVideo [name=StartTime]").formValidator({ validatorGroup: "Edit", rules: { required: null, regex: "datetime" }, message: { required: "<%= Define.Get("RecordVideo_StartTime_??????????????????").ToScriptChar() %>", regex: "<%= Define.Get("RecordVideo_StartTime_????????????????????").ToScriptChar() %>" } }); //????????????????? //$("#frmRecordVideo [name=RecLen]").formValidator({ // validatorGroup: "Edit", // rules: // { // regex: "num1" // }, // message: // { // regex: "<%= Define.Get("RecordVideo_RecLen_???????????").ToScriptChar() %>" // } //}); </script> <script type="text/javascript"> //??????AJAX??? //??? function Insert(send) { RecordVideoAjax.Insert($("#frmRecordVideo"), send, function (json) { document.getElementById("frmRecordVideo").KEY.value = json.Key alert("<%= DefineEnum.??????.Define().ToScriptChar() %>"); GoList(); }); }; //??? function Update(send) { RecordVideoAjax.Update($("#frmRecordVideo"), send, function (json) { document.getElementById("frmRecordVideo").KEY.value = json.Key alert("<%= DefineEnum.??????.Define().ToScriptChar() %>"); GoList(); }); }; //??? function Delete(send) { var key = document.getElementById("frmRecordVideo").KEY.value; RecordVideoAjax.Delete(key, send, function (json) { GoList(); }); }; </script> <script type="text/javascript"> //?????? //??????????? //??????????? //???????? $("#frmRecordVideo [name=FileName]").siblings(".download-file").attr("href", Global.Site + "<%= SettingGroup.RecordVideoUploadPath %><%=this.ViewData["_RecordVideo.ParentUser.Guid"] %>/" + $("#frmRecordVideo [name=FileName]").val()); </script> <script type="text/javascript"> //?????? </script> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de