Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\Pub\AgentServer\List.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.AgentServer.List1" %> <table class="g-table-comm" cellpadding="2px" cellspacing="0px"> <tr class="thead"> <th class="wd0"> </th> <th class="wd1 ckb"> <%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.??????????????????.Define(), Lang = ".listContainer .trsel" }%> </th> <th class="wd2"> </th> <th> <span> ??????? </span> </th> <% foreach (var field in this.Fields) { switch (field) { case "Name": //AgentServer_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Name").ToScriptTag() %>',event)"> <%= Define.Get("AgentServer_????????").HtmlEncode() %> <%= OrderBy("Name") %> </span> </th> <% break; case "IPAddress": //AgentServer_?????eb??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"IPAddress").ToScriptTag() %>',event)"> <%= Define.Get("AgentServer_?????eb???").HtmlEncode() %> <%= OrderBy("IPAddress") %> </span> </th> <% break; case "DBUser": //AgentServer_???SID %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"DBUser").ToScriptTag() %>',event)"> <%= Define.Get("AgentServer_???SID").HtmlEncode() %> <%= OrderBy("DBUser") %> </span> </th> <% break; case "FilePath": //AgentServer_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"FilePath").ToScriptTag() %>',event)"> <%= Define.Get("AgentServer_?????????").HtmlEncode() %> <%= OrderBy("FilePath") %> </span> </th> <% break; case "DefaultAgent": //AgentServer_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"DefaultAgent").ToScriptTag() %>',event)"> <%= Define.Get("AgentServer_?????????").HtmlEncode() %> <%= OrderBy("DefaultAgent") %> </span> </th> <% break; } } %> </tr> <% foreach (var item in this.ListData) { %> <tr class="trout"> <td class="wd0 summary" title="<%= DefineEnum.??????????.Define() %>" onclick="GetSummary(this,'/Pub/AgentServer/summary','guid=<%= item.Guid %>')"> </td> <td class="wd1 ckb"> <%= new HtmlCheckBox() { Value= SetKey(item.Guid, item.Version), Class = "trsel", Title = DefineEnum.???_????.Define() }%> </td> <td class="wd2"> <nobr><a href="edit.aspx?guid=<%= item.Guid %>"><%= DefineEnum.???.Define() %></a></nobr> </td> <td> <span id='spn<%= item.Guid %>' onclick='GetMyStatus("<%= SetKey(item.Guid,item.Version) %>","<%= item.Guid %>");' style="cursor: pointer;color:blue"> ??????? </span> <%= new HtmlAnchor("???") { Target = "_blank", Href = item.IPAddress.ToString(string.Empty).ToScriptTag() }%> </td> <% foreach (var field in this.Fields) { switch (field) { case "Name": %> <td> <span title="<%= item.Name.ToString(string.Empty).ToScriptTag() %>"> <%= item.Name %> </span> </td> <% break; case "IPAddress": %> <td> <span title="<%= item.IPAddress.ToString(string.Empty).ToScriptTag() %>"> <%= item.IPAddress %> </span> </td> <% break; case "DBUser": %> <td> <span title="<%= item.DBUser.ToString(string.Empty).ToScriptTag() %>"> <%= item.DBUser %> </span> </td> <% break; case "FilePath": %> <td> <span title="<%= item.FilePath.ToString(string.Empty).ToScriptTag() %>"> <%= item.FilePath %> </span> </td> <% break; case "DefaultAgent": %> <td> <span title="<%= (item.DefaultAgent != null ? ((AVA.ResourcesPlatform.Model.Pub.AgentServerDefaultAgentEnum)item.DefaultAgent).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.DefaultAgent != null ? ((AVA.ResourcesPlatform.Model.Pub.AgentServerDefaultAgentEnum)item.DefaultAgent).Define() : null %> </span> </td> <% break; } } %> </tr> <% } %> </table> <script type="text/javascript"> function GetMyStatus(key, guid) { $("#spn" + guid).html("?????..."); AgentServerAjax.ASStatus(key, null, function (result) { $("#spn" + guid).html(result); }, function () { $("#spn" + guid).html("???????"); }); } </script>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de