<%@ Page Language="C#" AutoEventWireup="true" Codebehind="AdminRoleList.aspx.cs"
    MasterPageFile="../../MasterPage/Default.Master" Inherits="LJCMS.Admin.SysSetting.AdminUser.AdminRoleList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="PageBody" runat="server">
    <table style="width:100%">
        <tr>
            <td>
                <DataLayerWebControls:HeadMenuWebControls ID="HeadMenuWebControls1" runat="server"
                    HeadOPTxt="角色列表" HeadTitleTxt="角色资料管理" ButtonList-Capacity="4" HeadHelpTxt="点击角色名称进入角色管理">
                    <DataLayerWebControls:HeadMenuButtonItem ButtonName="角色" ButtonPopedom="New" ButtonUrlType="Href"
                        ButtonVisible="True" ButtonUrl="RoleManger.aspx?CMD=New" />
                </DataLayerWebControls:HeadMenuWebControls>
                <DataLayerWebControls:TabOptionWebControls ID="TabOptionWebControls1" runat="server">
                    <DataLayerWebControls:TabOptionItem ID="TabOptionItem1" runat="server" Tab_Name="角色列表">
                        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="false">
                            <Columns>
                                <asp:BoundField HeaderText="角色ID" DataField="ID" />
                                <asp:HyperLinkField HeaderText="角色名称" DataTextField="RoleName" DataNavigateUrlFields="ID"
                                    DataNavigateUrlFormatString="RoleManger.aspx?RoleId={0}&CMD=List" />
                                <asp:BoundField HeaderText="角色介绍" DataField="RoleDiscp" />
                                <asp:TemplateField HeaderText="角色权限状态">
                                    <ItemTemplate>
                                        <a href="AdminPremissionManger.aspx?CMD=List&RoleId=<%# Eval("ID") %>">权限编辑</a>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="操作">
                                    <ItemTemplate>
                                        <a href="RoleManger.aspx?CMD=Edit&RoleId=<%# Eval("ID") %>">编辑</a>
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                        </asp:GridView>
                        <DataLayerWebControls:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_PageChanged">
                        </DataLayerWebControls:AspNetPager>
                    </DataLayerWebControls:TabOptionItem>
                </DataLayerWebControls:TabOptionWebControls>
            </td>
        </tr>
    </table>
</asp:Content>
