<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="QPulseRestService.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<LINK href="css/site.css" type="text/css" rel="stylesheet">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <style type="text/css">
        .style2
        {
            width: 102px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
     <div  id="header" align="center" style="width:350px" >
         <img alt="" src="images/loginlogo.gif" style="width: 213px; height: 64px" 
             align="middle" /><br />Document Locator
         </div>
         <div>
    <table style="width:300px; height: 108px;">
        <tr>
            <td align="Right" class="style2">
                <asp:Label ID="Label1" runat="server" Text="Username"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="UserNameTextBox" runat="server" Width="100%"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="Right" class="style2">
                <asp:Label ID="Label2" runat="server" Text="Password"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="PasswordTextBox" runat="server" Width="100%" 
                    TextMode="Password"></asp:TextBox>
            </td>
        </tr>
        <tr>
        <td align="Right" class="style2">
            </td>
            <td align="left">
               
                <asp:Button ID="LoginButton" runat="server" Text="Login" 
                    onclick="LoginButton_Click" />
               
            </td>
        </tr>
        <td align="Right" class="style2">
            </td>
            <td abbr="Center">

                <asp:RequiredFieldValidator ID="UserNameRequiredFieldValidator" runat="server" 
                    ErrorMessage="Username is required." ControlToValidate="UserNameTextBox"></asp:RequiredFieldValidator>
                <br />
                <asp:RequiredFieldValidator ID="PasswordRequiredFieldValidator" runat="server" 
                    ErrorMessage="Password is required." ControlToValidate="PasswordTextBox"></asp:RequiredFieldValidator>
                <asp:CustomValidator ID="CustomValidator1" runat="server" ErrorMessage="Username or password are invalid."></asp:CustomValidator>
            </td>
        </tr>
    </table>
    </div>
    </form>
    
    </body>
</html>
