<%@ page language="C#" masterpagefile="~/SiteServer/MasterPage/PageTemplate.Master" autoeventwireup="true" inherits="SiteServer_System_RoleManager_RolePermissionManager, v5star.Web" title="Untitled Page" theme="Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PageBody" runat="server">
    <aspx:HeadMenuWebControls ID="HeadMenuWebControls1" runat="server" HeadOPTxt="角色应用权限管理"
        HeadTitleTxt="角色资料管理">
    </aspx:HeadMenuWebControls>
    <aspx:TabOptionWebControls ID="TabOptionWebControls1" runat="server">
        <aspx:TabOptionItem ID="TabOptionItem1" runat="server" Tab_Name="角色应用权限管理">
            <table width="100%" border="0" cellspacing="1" cellpadding="3" align="center">
                <tr>
                    <td class="table_body">
                        角色名称</td>
                    <td class="table_none">
                        <asp:Label ID="RoleName_Txt" runat="server"></asp:Label></td>
                </tr>
                <tr>
                    <td class="table_body">
                        角色所属用户</td>
                    <td class="table_none">
                        <asp:Label ID="RoleUser_Txt" runat="server"></asp:Label></td>
                </tr>
                <tr>
                    <td class="table_body">
                        应用名称</td>
                    <td class="table_none">
                        <asp:Label ID="AppName_Txt" runat="server"></asp:Label></td>
                </tr>
            </table>
            <div id="rightsTable" ondblclick="javascript:Check_CheckBox(this);">
                <table width="100%" border="0" cellspacing="1" cellpadding="3" align="center">
                    <asp:Repeater ID="Module_Main" runat="server" OnItemDataBound="Module_Main_ItemDataBound">
                        <ItemTemplate>
                            <tr class="table_title">
                                <td colspan="9">
                                    <%# Eval("M_CName")%>
                                </td>
                            </tr>
                            <tr class="table_body" align="center">
                                <td width="25%" align="left">
                                    栏目名称</td>
                                <td colspan="8" align="left">
                                    权限名称</td>
                            </tr>
                            <asp:Repeater ID="Module_Sub" runat="server" OnItemDataBound="Module_Sub_ItemDataBound">
                                <ItemTemplate>
                                    <tr class="table_none" align="center">
                                        <td align="left">
                                            <%# Eval("M_CName")%>
                                        </td>
                                        <td colspan="8" align="left">
                                            <asp:DataList Width="100%" CellPadding="1" CellSpacing="3" ID="PermissionList" RepeatDirection="Horizontal"
                                                runat="server" RepeatColumns="4">
                                                <ItemTemplate>
                                                    <%#Eval("DispTxt")%>
                                                </ItemTemplate>
                                            </asp:DataList>
                                        </td>
                                    </tr>
                                </ItemTemplate>
                            </asp:Repeater>
                        </ItemTemplate>
                    </asp:Repeater>
                    <tr id="ButtonTr_End" visible="false" runat="server">
                        <td colspan="9" align="right">
                            <asp:Button ID="Button1" runat="server" CssClass="button_bak" Text="确定" OnClick="Button1_Click" />
                            <input id="Reset1" class="button_bak" type="reset" value="重填" /></td>
                    </tr>
                </table>
            </div>
        </aspx:TabOptionItem>
    </aspx:TabOptionWebControls>
</asp:Content>
