<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="LogReport.aspx.cs"
	Inherits="PDI.Web.LogReport" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
	<style>
		.log-filters { display: flex; gap: 12px; align-items: flex-end; margin-bottom: 16px; flex-wrap: wrap; }
		.log-filters > div { display: flex; flex-direction: column; }
		.log-filters label { font-size: 0.85rem; font-weight: 600; color: #555; margin-bottom: 4px; }
		.log-filters input, .log-filters select { padding: 6px 8px; border: 1px solid #ccc; border-radius: 4px; font-size: 0.85rem; }
		.log-filters select { min-width: 180px; }
		.log-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
		.log-table th { background: var(--wine-dark, #5a1a3a); color: #fff; padding: 8px 10px; text-align: left; font-weight: 600; }
		.log-table td { padding: 6px 10px; border-bottom: 1px solid #eee; }
		.log-table tr:hover { background-color: #f8f4f6; }
	</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
	<section id="page-settings" class="page">
		<h2>Configuraci&oacute;n</h2>
		<div class="settings-container">
			<asp:Literal ID="litSettingsMenu" runat="server" />
			<div class="settings-content">
				<div id="content-users" class="settings-content-pane active">
					<h3>Bit&aacute;cora</h3>
					<div class="log-filters">
						<div>
							<label>Desde:</label>
							<asp:TextBox ID="txtFrom" runat="server" TextMode="Date" />
						</div>
						<div>
							<label>Hasta:</label>
							<asp:TextBox ID="txtTo" runat="server" TextMode="Date" />
						</div>
						<div>
							<label>Evento:</label>
							<asp:DropDownList ID="ddlEvents" runat="server" AppendDataBoundItems="true">
								<asp:ListItem Value="" Text="-- Todos --" />
							</asp:DropDownList>
						</div>
						<div>
							<label>Usuario:</label>
							<asp:DropDownList ID="ddlUsers" runat="server" AppendDataBoundItems="true">
								<asp:ListItem Value="" Text="-- Todos --" />
							</asp:DropDownList>
						</div>
						<div>
							<asp:Button ID="btnSearch" runat="server" Text="Buscar" OnClick="btnSearch_Click"
								style="padding:6px 20px; background:var(--wine-dark,#5a1a3a); color:#fff; border:none; border-radius:4px; cursor:pointer;" />
						</div>
					</div>
					<asp:Literal ID="litLogs" runat="server" />
				</div>
			</div>
		</div>
	</section>
</asp:Content>
