<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FontRoleList.aspx.cs" MasterPageFile="~/Admin/MasterPage/Default.Master" Inherits="LJCMS.Admin.SysSetting.FontUser.FontRoleList" %>

<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="FontRolesManger.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="FontRolesManger.aspx?RoleId={0}&CMD=List" />
                                <asp:BoundField HeaderText="角色介绍" DataField="Description"/>
                                <asp:TemplateField HeaderText ="(是/否)默认">
                                <ItemTemplate>
                                 <font color="#668a00"><%# Eval("IsDef").ToString() == "1" ? "√" : "×"%></font>
                                </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="操作">
                                    <ItemTemplate>
                                        <a href="FontRolesManger.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>
