<%@ Page language="c#" Codebehind="ListRequests.aspx.cs" AutoEventWireup="false" Inherits="eDocument.Server.Administrator.ViewerRequest.ListRequests" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>ListRequests</title>
		<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		<LINK href="../css/FrameWork.css" type="text/css" rel="stylesheet">
		<LINK href="../css/Main.css" type="text/css" rel="stylesheet">
	</HEAD>
	<body>
		<form id="Form1" method="post" runat="server">
			<h1>Viewer forespørsler</h1>
			<p>
				Denne oversikten viser skjermdialoger som er forespurt av en viewer på dine 
				vegne. Klikk på&nbsp;detaljer linken for å se detaljer for forespørselen.
			</p>
			<asp:datagrid id="dgViewerRequests" runat="server" AllowSorting="False" AlternatingItemStyle-CssClass="AlternatingItemStyle"
				ItemStyle-CssClass="ItemStyle" HeaderStyle-CssClass="HeaderStyle" Width="100%" AutoGenerateColumns="False">
				<Columns>
					<asp:BoundColumn DataField="ViewerRequestID" Visible="False"></asp:BoundColumn>
					<asp:BoundColumn HeaderText="Skjermdialog"></asp:BoundColumn>
					<asp:BoundColumn HeaderText="Type" Visible="False"></asp:BoundColumn>
					<asp:BoundColumn DataField="Host" HeaderText="Server" SortExpression="Host ASC" Visible="False"></asp:BoundColumn>
					<asp:BoundColumn DataField="AbsoluteUri" HeaderText="URL" SortExpression="AbsoluteUri ASC" Visible="False"></asp:BoundColumn>
					<asp:BoundColumn DataField="Browser" HeaderText="Nettleser" SortExpression="Browser ASC"></asp:BoundColumn>
					<asp:BoundColumn DataField="MajorVersion" HeaderText="MajorVersion" Visible="False"></asp:BoundColumn>
					<asp:BoundColumn DataField="MinorVersion" HeaderText="MinorVersion" Visible="False"></asp:BoundColumn>
					<asp:BoundColumn DataField="UrlReferer" HeaderText="Referer"></asp:BoundColumn>
					<asp:BoundColumn DataField="UserAgent" HeaderText="UserAgent" Visible="False"></asp:BoundColumn>
					<asp:BoundColumn DataField="UserHostAddress" HeaderText="UserHostAddress" SortExpression="UserHostAddress ASC"
						Visible="False"></asp:BoundColumn>
					<asp:BoundColumn DataField="RequestMadeOn" HeaderText="Forespurt" SortExpression="RequestMadeOn ASC"></asp:BoundColumn>
					<asp:ButtonColumn Text="Detaljer" CommandName="Details"></asp:ButtonColumn>
				</Columns>
			</asp:datagrid>
			<P>
				<asp:Label id="lblNoViewerRequestsMessage" runat="server">Ingen viewerforespørsler.</asp:Label>
				<asp:Label id="lblViewerRequestCount" runat="server"></asp:Label><asp:label id="lblMessage" runat="server" ForeColor="Red"></asp:label></P>
			<P>
				<asp:Button id="btnDeleteAll" runat="server" Text="Slett alle forespørsler"></asp:Button>
				<asp:Button id="btnRefresh" runat="server" Text="Oppdater"></asp:Button></P>
		</form>
	</body>
</HTML>
