Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.AdminUI\Sys\Security\SecurityGroupMenuList.aspx
??<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SecurityGroupMenuList.aspx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Sys.Security.SecurityGroupMenuList" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" runat="server"> <title><%= this.Title %></title> <%= Import.CSS("js", "/dhtmlxtree/dhtmlxtree.css")%> <%= 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"> <form id="frmMenuSecurity" action=""> <%= new HtmlHidden("KEY",KEY) %> <%= new HtmlHidden("menus", ViewData["menus"])%> <%= new HtmlHidden("GroupGuid", ViewData["PrimaryKey"])%> </form> <div id="divMain" class="gContent"> <div class="gIbx"> <div class="gCnta-cont"> <div class="g-title-2"> <h3 class="txt-14"> <%= Title %></h3> <span class="txt-info">[<a href="SecurityGroupList.aspx"><%= DefineEnum.???.Define() %></a>]</span> </div> <div class="mrgt5"> </div> <div class="txt-12 listContainer" id="list"> <table cellspacing="0" cellpadding="2" class="g-table-comm"> <tbody> <tr class="thead"> <th class="wd0"> </th> <th class="wd1 ckb"> <%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.??????????????????.Define() , Lang="#list .trsel" }%> </th> <th> <span> <%= Define.Get("SecurityGroup_?????")%> </span> </th> </tr> <% foreach (var item in this._ListAllMenu) { %> <tr class="trout"> <td title="" class="wd0 summary"> </td> <td class="wd1 ckb"> <%= new HtmlCheckBox() { Value = item.Guid, UnValue = "", Class = "trsel" }%> </td> <td> <%= GetSpace(item.Depth) %> <%= item.Name %> </td> </tr> <% } %> </tbody> </table> </div> </div> <table class="g-table-cntacomm"> <tr> <th> </th> <td> <div onclick="SetMenus(this)" class="btn btn-dft btn-dft-impt"> <span> <%= DefineEnum.????.Define() %></span></div> <div title="" onclick="GoReturn();" class="btn btn-dft"> <span> <%= DefineEnum.????.Define()%></span></div> </td> </tr> </table> </div> </div> </div></div></div></div></body> <%= Import.Script("js","/JQueryUI/jquery-ui.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/Sys/SecurityGroupAjax.js")%> <%= Import.Script("js", "/Ajax/Sys/SecurityGroupMenuAjax.js")%> <script type="text/javascript"></script> <script type="text/javascript"> function SetMenus(send) { var menus = ""; $(".trsel").each(function () { var jQChk = $(this); if (this.checked) { menus += jQChk.val() + ","; } }); $("#frmMenuSecurity input[name=menus]").val(menus); SecurityGroupMenuAjax.SetMenus($("#frmMenuSecurity"), send, function (ret) { if (ret == true) { alert("<%= DefineEnum.??????.Define().ToScriptChar() %>"); GoReturn(); } }); }; </script> <script type="text/javascript"> $(function () { //?????????????????? $(".trsel").each(function () { var menus = '<%=ViewData["menus"] %>'; var jQChk = $(this); if (menus.indexOf(jQChk.val()) != -1) { jQChk.attr("checked", "checked"); } }); }); </script> <script type="text/javascript"> ListInit(); </script> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de