<%@ page language="C#" autoeventwireup="true" inherits="Admin_Admin_BlockList, App_Web_ahimsrpm" %>
<html>
<head runat="server">
    <title>页面定制模块列表</title>
    <link type="text/css" href="css/style.css" rel="stylesheet" />
    <link type="text/css" href="../css/Admin.css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
    <div style="margin: 0px auto 0px auto;  text-align: left;">
            <div class="tips">
                页面定制模块列表
            </div>
            <div class="search">
                模块搜索：
                <Ws:TextBox ID="txt_blockname" runat="server" ValidNull="False" ValidType="Str" Width="50%"></Ws:TextBox>
                <Ws:Button ID="btn_Search" Styles="WebButton" Format-Value="正在搜索，请稍候......" Type="Wait"
                    Text="搜索" runat="server" OnClick="btn_Search_Click" />
            </div>
            <table style="margin-top: 10px; margin-bottom: 10px;" border="1">
                <thead>
                    <tr>
                        <td>
                            模块名</td>
                        <td>
                            数据表</td>
                        <td>
                            操作
                        </td>
                    </tr>
                </thead>
                <tbody>
                    <asp:Repeater ID="rp_Blocklist" runat="server">
                        <ItemTemplate>
                            <tr>
                                <td>
                                    <%# Eval("blockName")%>
                                </td>
                                <td>
                                    <%# Eval("tableName")%>
                                </td>
                                <td>
                                    <a href="Block_Edit.aspx?id=<%# Eval("id") %>">编辑</a>
                                    &nbsp;
                                    <a href="?action=Del&id=<%# Eval("id") %>&bkn=<%# Eval("blockName") %>" onclick="return confirm('确定要删除这个模块吗？')">删除</a>
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </tbody>
            </table>
            <webdiyer:AspNetPager ID="AspNetPager1" runat="server" AlwaysShow="true" FirstPageText="[首页]"
                LastPageText="[尾页]" NextPageText="[后页]" PrevPageText="[前页]" CustomInfoHTML="第%CurrentPageIndex%页，共%PageCount%页，每页%PageSize%条"
                ShowCustomInfoSection="Left">
            </webdiyer:AspNetPager>
        </div>
    </form>
</body>
</html>
