<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="login" Title="platnosci.admoto.pl - Strona logowania" Culture="auto" UICulture="auto" meta:resourcekey="PageResource1"%>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:ScriptManager id="ScriptManager1" runat="server"></asp:ScriptManager> 
    
<div id="left">
</div>
<div id="content">
    <p><asp:Literal ID="informacja1" runat="server" meta:resourcekey="informacja1Literal">Zaloguj się, aby dokonać płatności kartą.</asp:Literal></p>
    <div id="login">
        <p><asp:Literal ID="informacja2" runat="server" meta:resourcekey="informacja2Literal">Wprowadź numer NIP swojej firmy i numer zlecenia</asp:Literal></p>
        <p><asp:Label ID="NIPLabel" runat="server" AssociatedControlID ="NIPTextBox" Text="NIP:"
            meta:resourcekey="login_NIPLabel" Width="200px"></asp:Label>
        <asp:TextBox ID="NIPTextBox" runat="server"></asp:TextBox></p>                        
        <p><asp:Label ID="NrZlecLabel" runat="server" AssociatedControlID ="NrZlecTextBox" Text="Nr faktury:"
            meta:resourcekey="login_NrZlecLabel" Width="200px"></asp:Label>
        <asp:TextBox ID="NrZlecTextBox" runat="server"></asp:TextBox></p>
        <p>
            <asp:Button ID="ZalogujButton" runat="server" Text="Zaloguj" meta:resourcekey="ZalogujButton" OnClick="ZalogujButton_Click"/></p>
        <p class="blad"><asp:Literal ID="errorMsg" runat="server" meta:resourcekey="errorMsgLiteral"></asp:Literal>            
        </p>                 
    </div>        
</div>


        <div id="flyout" style="display: none; overflow: hidden; z-index: 2; background-color: #FFFFFF; border: solid 1px #D0D0D0;"></div>
        
        <div id="info" style="display: none; width: 400px; z-index: 2; opacity: 0; filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0); font-size: 12px; border: solid 1px #CCCCCC; background-color: #FFFFFF; padding: 5px;">
            <div id="btnCloseParent" style="float: right; opacity: 0; filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0);">
                <asp:LinkButton id="btnClose" runat="server" OnClientClick="return false;" Text="X" ToolTip="Close"
                    Style="background-color: #666666; color: #FFFFFF; text-align: center; font-weight: bold; text-decoration: none; border: outset thin #FFFFFF; padding: 5px;" />
            </div>
            <div>
                <p class="bold">
                    <asp:Literal ID="infoText" runat="server" meta:resourcekey="infoText">Nr zlecenia zakreślony jest czerwoną linią.</asp:Literal></p>            
                    <asp:ImageButton ID="FakturaImageButton" runat="server" AlternateText="faktura" />                               
            </div>
        </div>
       
       
       <script type="text/javascript" language="javascript">
            // Move an element directly on top of another element (and optionally
            // make it the same size)
            function Cover(bottom, top, ignoreSize) {
                var location = Sys.UI.DomElement.getLocation(bottom);
                top.style.position = 'absolute';
                top.style.top = location.y + 'px';
                top.style.left = location.x + 'px';
                if (!ignoreSize) {
                    top.style.height = bottom.offsetHeight + 'px';
                    top.style.width = bottom.offsetWidth + 'px';
                }
            }
        </script>
</asp:Content>

