Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.AdminUI\Pub\AgentServer\Edit.aspx
??<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.AgentServer.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="gWel-tab"> <div class="tabs txt-link"> <ul> <li>????????? </li> <% //if (Has(this.ViewData["_AgentServer"])) if (true==false) { %> <li>???????????? </li> <% } %> </ul> </div> <div class="pans"> <div style="display: none;" class="panel"> <div > <form id="frmAgentServer" action="" onsubmit="return false;"> <div > <table class="g-table-cntacomm"> <tr> <th title="<%= Define.Get("AgentServer_????????").ToScriptTag() %>"> <span class="required">*</span><%= Define.Get("AgentServer_????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("Name", this.ViewData["_AgentServer.Name"], 256) { Class = "ipt-t ipt-t-dft width400 " }%> <%= new HtmlYKTip("Name") %> </td> </tr> <tr> <th title="<%= Define.Get("AgentServer_?????eb???").ToScriptTag() %>"> <span class="required">*</span><%= Define.Get("AgentServer_?????eb???").HtmlEncode() %>?? </th> <td> <%= new HtmlText("IPAddress", this.ViewData["_AgentServer.IPAddress"], 256) { Class = "ipt-t ipt-t-dft width400" }%> <%= new HtmlYKTip("IPAddress") %> ????????????????????:255.255.255.255 </td> </tr> <tr> <th title="<%= Define.Get("AgentServer_???SID").ToScriptTag() %>"> <span class="required">*</span><%= Define.Get("AgentServer_???SID").HtmlEncode() %>?? </th> <td> <%= new HtmlText("DBUser", this.ViewData["_AgentServer.DBUser"], 256) { Class = "ipt-t ipt-t-dft width400" }%> <%= new HtmlYKTip("DBUser") %> ??????SID??????b2dc5380a0b84f90b93fc527a0db1717 </td> </tr> <tr> <th title="<%= Define.Get("AgentServer_IP???").ToScriptTag() %>"> <%= Define.Get("AgentServer_IP???").HtmlEncode() %>?? </th> <td title="<%= Define.Get("AgentServer_IPRoute_IP????????????????????IP??????????????").ToScriptTag()%>" style="overflow:hidden;"> <%= new HtmlTextArea("IPRoute", this.ViewData["_AgentServer.IPRoute"], 512) { Class = "ipt-t ipt-t-dft width400 height100"}%> </td> </tr> <tr> <th title="<%= Define.Get("AgentServer_?????????").ToScriptTag() %>"> <%= Define.Get("AgentServer_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlTextArea("FilePath", this.ViewData["_AgentServer.FilePath"], 400) { Class = "ipt-t ipt-t-dft width400 height100" }%> </td> </tr> <tr> <th title="<%= Define.Get("AgentServer_?????????").ToScriptTag() %>"> <%= Define.Get("AgentServer_?????????").HtmlEncode() %>?? </th> <td class="tooltip" title="<%= Define.Get("AgentServer_DefaultAgent_???????????????").ToScriptTag()%>"> <label for="AgentServer_DefaultAgent_0"> <%= new HtmlRadio("DefaultAgent", 0, null) { ID = "AgentServer_DefaultAgent_0", Class = "", Checked = (this.ViewData["_AgentServer.DefaultAgent"].ToIntN() == 0 ? true : false) }%><%= Define.Get("AgentServer_DefaultAgent_?????") %></lable> <label for="AgentServer_DefaultAgent_2"> <%= new HtmlRadio("DefaultAgent", 2, null) { ID = "AgentServer_DefaultAgent_2", Class = "", Checked = (this.ViewData["_AgentServer.DefaultAgent"].ToIntN() == 2 ? true : false) }%><%= Define.Get("AgentServer_DefaultAgent_??????") %></lable> <label for="AgentServer_DefaultAgent_3"> <%= new HtmlRadio("DefaultAgent", 3, null) { ID = "AgentServer_DefaultAgent_3", Class = "", Checked = (this.ViewData["_AgentServer.DefaultAgent"].ToIntN() == 3 ? true : false) }%><%= Define.Get("AgentServer_DefaultAgent_??????") %></lable> </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["_AgentServer"])) { Class = "hidden" }%> <div onclick="$(this).siblings(':submit')[0].click();" class="btn btn-dft btn-dft-impt"> <span> <%= GetSubmitText(this.ViewData["_AgentServer"])%></span> </div> <div title="" onclick="GoList();" class="btn btn-dft"> <span> <%= DefineEnum.????.Define() %></span> </div> </td> </tr> </table> </form> </div> </div> <% //if (Has(this.ViewData["_AgentServer"])) if (true == false) { %> <div style="display: none;" class="panel"> <div id="divAgentServerConfigs"> ????????? </div> </div> <% } %> </div> </div> </div> </div> </div> </div></div></div></div></body> </html> <%= 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/AgentServerAjax.js")%> <script type="text/javascript"> //?????? //?????? $.validator.initConfig({ validatorGroup: "Edit", form: "#frmAgentServer" }); //???????? $("#frmAgentServer [name=Name]").formValidator({ validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("AgentServer_Name_????????????").ToScriptChar() %>" } }); //?????P $("#frmAgentServer [name=IPAddress]").formValidator({ validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("AgentServer_IPAddress_?????????Web???").ToScriptChar() %>" } }); //???????? $("#frmAgentServer [name=DBUser]").formValidator({ validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("AgentServer_DBUser_????????ID").ToScriptChar() %>" } }); </script> <script type="text/javascript"> //??????AJAX??? //??? function Insert(send) { AgentServerAjax.Insert($("#frmAgentServer"), send, function (json) { document.getElementById("frmAgentServer").KEY.value = json.Key; alert("<%= DefineEnum.??????.Define().ToScriptChar() %>"); GoList(); }); }; //??? function Update(send) { AgentServerAjax.Update($("#frmAgentServer"), send, function (json) { document.getElementById("frmAgentServer").KEY.value = json.Key; alert("<%= DefineEnum.??????.Define().ToScriptChar() %>"); GoList(); }); }; //??? function Delete(send) { var key = document.getElementById("frmAgentServer").KEY.value; AgentServerAjax.Delete(key, send, function (json) { GoList(); }); }; </script> <script type="text/javascript"> //?????? //??????????? //??????????? </script> <script type="text/javascript"> //?????? </script>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de