<%@ Page Language="C#" CodeFile="Default.aspx.cs" Inherits="Default_aspx" %>

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

 

<html xmlns="http://www.w3.org/1999/xhtml" >

<head runat="server">

    <title>Untitled Page</title>

</head>

<body>

    <form id="form1" runat="server">

    <div>

        <asp:Login ID="Login1" runat="server" BorderWidth="1px" BorderColor="#B5C7DE" BorderPadding="4"

            BorderStyle="Solid" BackColor="#EFF3FB" ForeColor="#333333" Font-Names="Verdana"

            Font-Size="0.8em">

            <InstructionTextStyle ForeColor="Black" Font-Italic="True" Font-Size="0.8em" />

            <LayoutTemplate>

                <table cellpadding="4" border="0">

                    <tr>

                        <td style="width: 215px">

                            <table style="font-size: 0.8em; color: #333333; font-family: Verdana" cellpadding="0"

                                border="0">

                                <tr>

                                    <td style="font-weight: bold; font-size: 0.9em; color: white; background-color: #507cd1"

                                        align="center" colspan="2">

                                        Log In</td>

                                </tr>

                                <tr>

                                    <td style="font-size: 0.8em" align="right">

                                        <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">User Name:</asp:Label>

                                    </td>

                                    <td>

                                        <asp:TextBox ID="UserName" runat="server" Font-Size="0.8em"></asp:TextBox>

                                        <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ToolTip="User Name is required."

                                            ErrorMessage="User Name is required." ValidationGroup="Login1" ControlToValidate="UserName">*</asp:RequiredFieldValidator>

                                    </td>

                                </tr>

                                <tr>

                                    <td style="font-size: 0.8em" align="right">

                                        <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Password:</asp:Label>

                                    </td>

                                    <td>

                                        <asp:TextBox ID="Password" runat="server" Font-Size="0.8em" TextMode="Password"></asp:TextBox>

                                        <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ToolTip="Password is required."

                                            ErrorMessage="Password is required." ValidationGroup="Login1" ControlToValidate="Password">*</asp:RequiredFieldValidator>

                                    </td>

                                </tr>

                                <tr>

                                    <td style="font-size: 0.8em" colspan="2">

                                        <asp:CheckBox ID="RememberMe" runat="server" Text="Remember me next time." />

                                    </td>

                                </tr>

                                <tr>

                                    <td align="right" colspan="2">

                                        <asp:Button ID="LoginButton" runat="server" BorderWidth="1px" BorderColor="#507CD1"

                                            BorderStyle="Solid" BackColor="White" ForeColor="#284E98" Font-Names="Verdana"

                                            Font-Size="0.8em" ValidationGroup="Login1" Text="Log In" CommandName="Login" />

                                    </td>

                                </tr>

                                <tr>

                                    <td style="font-size: 0.8em; color: #ff0000" align="center" colspan="2">

                                        <asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>

                                    </td>

                                </tr>

                            </table>

                        </td>

                    </tr>

                </table>

            </LayoutTemplate>

            <LoginButtonStyle Font-Names="Verdana" Font-Size="0.8em" BorderStyle="Solid" BorderWidth="1px"

                BorderColor="#507CD1" BackColor="White" ForeColor="#284E98" />

            <TextBoxStyle Font-Size="0.8em" />

            <LabelStyle Font-Size="0.8em" />

            <TitleTextStyle ForeColor="White" Font-Size="0.9em" Font-Bold="True" BackColor="#507CD1" />

                <HyperLinkStyle Font-Size="0.8em" />

            <CheckBoxStyle Font-Size="0.8em" />

            <FailureTextStyle ForeColor="#FF0000" Font-Size="0.8em" />

        </asp:Login>

   

    </div>

    </form>

</body>

</html>