<%@ Page Title="Iniciar sesión" Language="VB" MasterPageFile="~/SIG/SiteNew.Master" AutoEventWireup="false" Inherits="SGHweb.LoginNew" Codebehind="LoginNew.aspx.vb" %>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
<%--<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">--%>
<style type="text/css">
    .styleMe{
        border:1px solid #25729a; 
        -webkit-border-radius: 3px; 
        -moz-border-radius: 3px;
        border-radius: 3px;
        font-size:12px;
        font-family:arial, helvetica, sans-serif; 
        padding: 10px 10px 10px 10px; 
        text-decoration:none; 
        display:inline-block;
        text-shadow: -1px -1px 0 rgba(0,0,0,0.3);
        font-weight:bold; 
        color: #FFFFFF;
        background-color: #3093c7; 
        background-image: linear-gradient(to bottom, #3093c7, #1c5a85);
    }

    .styleMe:hover{
        border:1px solid #1c5675;
        background-color: #26759e; 
        background-image: linear-gradient(to bottom, #26759e, #133d5b);
    }
            input.textEntry 
            {
                width: 200px;
                border: 1px solid #ccc;
            }

            .failureNotification
            {
                font-size: 1.2em;
                color: Red;
            }

            input.passwordEntry 
            {
                width: 200px;
                border: 1px solid #ccc;
            }
            fieldset.login label, fieldset.register label, fieldset.changePassword label
{
    display: block;
}

            .loginDisplay
{
    font-size: 1 em;
    display: block;
    text-align: right;
    padding: 10px;
    color: #4b6c9e;
}

.loginDisplay a:link
{
    color: #4b6c9e;
}

.loginDisplay a:visited
{
    color: #4b6c9e;
}

.loginDisplay a:hover
{
    color: #4b6c9e;
}

</style>
<%--</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">--%>
    <h2>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        Iniciar sesión
    </h2>
    <p>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        Especifique su nombre de usuario y contraseña.
        <%--<asp:HyperLink ID="RegisterHyperLink" runat="server" EnableViewState="false">Registrarse</asp:HyperLink> si no tiene una cuenta.--%>
    </p>
<center>
    <table style="width:70%" border="0">
        <tr>
            <td style=" width:47%">
                <center>
                <%--<div class="accountInfo">--%>
                    <fieldset class="login" style=" width:70%">
                        <legend>Información de Usuario</legend>
                        <center>
                            <p >
                                <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName" >Nombre de usuario :</asp:Label>
                                <asp:TextBox ID="UserName" runat="server" CssClass="textEntry"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName" 
                                     CssClass="failureNotification" ErrorMessage="El nombre de usuario es obligatorio." ToolTip="El nombre de usuario es obligatorio." 
                                     ValidationGroup="LoginUserValidationGroup">*</asp:RequiredFieldValidator>
                            </p>
                            <p>
                                <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Contraseña :</asp:Label>
                                <asp:TextBox ID="Password" runat="server" CssClass="passwordEntry" TextMode="Password"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password" 
                                     CssClass="failureNotification" ErrorMessage="La contraseña es obligatoria." ToolTip="La contraseña es obligatoria." 
                                     ValidationGroup="LoginUserValidationGroup">*</asp:RequiredFieldValidator>
                            </p>
                            <%--<p>
                                <asp:CheckBox ID="RememberMe" runat="server"/>
                                <asp:Label ID="RememberMeLabel" runat="server" AssociatedControlID="RememberMe" CssClass="inline">Mantenerme conectado</asp:Label>
                            </p>--%>
                        </center>
                    </fieldset><br />
                    <asp:Button ID="LoginButton" runat="server" CommandName="Login" class="styleMe" Text="Iniciar sesión" ValidationGroup="LoginUserValidationGroup" Width="150px"/>
                    <%--&nbsp;<asp:Button ID="recuperarBuser" runat="server" class="button small blue" CommandName="Login" Text="Recuperar Password" />--%>
                </center>
                
            <%--</div>--%>
            </td>
            <td style=" width:6%">
                
            </td>
            <td style=" width:47%">
                <center>
                <%--<div class="accountInfo">--%>
                    <fieldset class="login" style=" width:70%">
                        <legend>Información de Empresa</legend>
                        <center>
                            <p>
                                <asp:Label ID="labelRUC" runat="server" AssociatedControlID="UserName">Correo Electronico/E-mail :</asp:Label>
                                <asp:TextBox ID="mailEmp" runat="server" CssClass="textEntry"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="mailEmp" 
                                     CssClass="failureNotification" ErrorMessage="El nro de RUC es Obligatorio." ToolTip="El nro de RUC es Obligatorio." 
                                     ValidationGroup="LoginUserValidationGroup1">*</asp:RequiredFieldValidator>
                            </p>
                            <p>
                                <asp:Label ID="labelClaveEmp" runat="server" AssociatedControlID="Password">Contraseña/Password :</asp:Label>
                                <asp:TextBox ID="claveEmp" runat="server" CssClass="passwordEntry" TextMode="Password"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="claveEmp" 
                                     CssClass="failureNotification" ErrorMessage="La contraseña es obligatoria." ToolTip="La contraseña es obligatoria." 
                                     ValidationGroup="LoginUserValidationGroup1">*</asp:RequiredFieldValidator>
                            </p>
                            <%--<p>
                                <asp:CheckBox ID="RememberMe" runat="server"/>
                                <asp:Label ID="RememberMeLabel" runat="server" AssociatedControlID="RememberMe" CssClass="inline">Mantenerme conectado</asp:Label>
                            </p>--%>
                        </center>
                    </fieldset>
                    <br />
                    <asp:Button ID="empresaBoton" runat="server" class="styleMe" CommandName="Login" Text="Iniciar sesión" ValidationGroup="LoginUserValidationGroup1" Width="150px"/>
                    <%--&nbsp;<asp:Button ID="recuepraBemp" runat="server" class="button small blue" CommandName="Login" Text="Recuperar Password"/>--%>
                </center>
            <%--</div>--%>
            </td>
        </tr>
        <tr>
            <td>
                <span class="failureNotification">
                    <asp:Literal ID="FailureText" runat="server"></asp:Literal>
                </span>
                <asp:ValidationSummary ID="LoginUserValidationSummary" runat="server" CssClass="failureNotification" 
                        ValidationGroup="LoginUserValidationGroup"/>
            </td>
            <td>
            </td>
            <td>
                <span class="failureNotification">
                    <asp:Literal ID="Literal1" runat="server"></asp:Literal>
                </span>
                <asp:ValidationSummary ID="ValidationSummary1" runat="server" CssClass="failureNotification" 
                        ValidationGroup="LoginUserValidationGroup1"/>
            </td>
        </tr>
    </table>
</center>
</asp:Content>