<%@ page language="C#" autoeventwireup="true" inherits="Admin_Admin_Collect_list, App_Web_ahimsrpm" %>

<!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>规则列表</title>
    <link type="text/css" href="css/style.css" rel="stylesheet" />
    <link type="text/css" href="../css/Admin.css" rel="stylesheet" />
    <style type="text/css">
        input
        {
	        width:60%;
	        margin-left:10px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <div class="tips">
        规则列表，您可以点击<asp:LinkButton ID="Lbtn_role" runat="server" OnClick="Lbtn_role_Click">导入规则</asp:LinkButton>来上传新规则
            </div>
    <table style="margin-top: 10px; margin-bottom: 10px;" border="1">
                <thead>
                    <tr>
                        <td>
                            规则名称</td>
                        <td>
                            备注</td>
                            <td>
                            添加时间</td>
                        <td>
                            操作
                        </td>
                    </tr>
                </thead>
                <tbody>
                    <asp:Repeater ID="rp_Blocklist" runat="server">
                        <ItemTemplate>
                            <tr>
                                <td>
                                    <%# Eval("rolename")%>
                                </td>
                                <td>
                                    <%# Eval("remark")%>
                                </td>
                                <td>
                                    <%# Eval("addtime")%>
                                </td>
                                <td>
                                <a href="Admin_Ready_Collect.aspx?rolename=<%# Eval("rolename") %>">开始采集</a>
                                &nbsp;
                                    <a href="Admin_Collect_Edit.aspx?id=<%# Eval("id") %>">运行向导</a>
                                    &nbsp;
                                    <a href="../Config/<%# Eval("rolename") %>.xml">导出规则</a>
                                    &nbsp;
                                    <a href="?action=Del&id=<%# Eval("id") %>&bkn=<%# Eval("rolename") %>" 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>
