<%@ page language="C#" masterpagefile="~/manage/Main.master" autoeventwireup="true" inherits="manage_LogList, App_Web_fef3q6en" title="日志管理" %>

<asp:Content ID="Content2" ContentPlaceHolderID="MidContent" runat="Server">
    <div id="main">
        <asp:UpdatePanel ID="MsgUpdatePanel" UpdateMode="Conditional" runat="server">
            <ContentTemplate>
                <asp:Label ID="Msg" runat="server" Text="" CssClass="msg" Visible="False" EnableViewState="False"></asp:Label>
            </ContentTemplate>
        </asp:UpdatePanel>
        <asp:UpdatePanel ID="LogListUpdatePanel" UpdateMode="Conditional" runat="server">
            <ContentTemplate>
                <asp:GridView ID="LogList" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                    OnPageIndexChanging="LogList_PageIndexChanging" DataKeyNames="LogId" PageSize="11"
                    OnRowDeleting="LogList_RowDeleting" CellPadding="0" CssClass="gv" Width="100%"
                    OnRowDataBound="LogList_RowDataBound">
                    <Columns>
                        <asp:BoundField DataField="LogId" FooterText="Id" HeaderText="Id" ReadOnly="True" />
                        <asp:BoundField DataField="Info" HeaderText="信息" SortExpression="PenName" ReadOnly="True" />
                        <asp:BoundField DataField="ManagerName" HeaderText="登陆名" SortExpression="ManagerName"
                            ReadOnly="True" />
                        <asp:BoundField DataField="Url" HeaderText="登陆地址" ReadOnly="True" />
                        <asp:BoundField DataField="AddTime" HeaderText="登陆时间" ReadOnly="True" />
                        <asp:BoundField DataField="AddIp" HeaderText="来路IP" ReadOnly="True" />
                        <asp:TemplateField HeaderText="操作" ShowHeader="False">
                            <EditItemTemplate>
                                &nbsp;
                            </EditItemTemplate>
                            <ItemStyle CssClass="gvCommandField" />
                            <ItemTemplate>
                                &nbsp;<asp:Button ID="DelBt" runat="server" CausesValidation="False" CommandName="Delete"
                                    Text="删除" />
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <RowStyle CssClass="gvRow" />
                    <EditRowStyle CssClass="gvEditRow" />
                    <PagerStyle CssClass="gvPage" />
                    <HeaderStyle CssClass="gvHeader" />
                    <AlternatingRowStyle CssClass="gvAlternatingRow" />
                </asp:GridView>
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
</asp:Content>
