<%@ Page Language="c#" Codebehind="Login.aspx.cs" AutoEventWireup="True" Inherits="KOLKaP_WEB.Login"
    Culture="pl-PL" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Login Insignum Kadry Płace</title>
    <link rel="shortcut icon" type="image/x-icon" href="img/iKP.ico" />
    <link href="Login.css" type="text/css" rel="stylesheet" />
    <link rel="stylesheet" href="jquery/themes/ui-lightness/jquery-ui-1.9.2.custom.min.css" />
    <script src="jquery/jquery-1.8.3.min.js" type="text/javascript"></script>
    <script src="jquery/ui/jquery-ui-1.9.2.custom.min.js" type="text/javascript"></script>
    <script src="jquery/jquery.blockUI.js" type="text/javascript"></script>
</head>
<body oncontextmenu="return false" onload="sf();">
    <form id="Form1" method="post" runat="server">
        <div id="wrap_login">
            <img src="img/ikp_login_baner.png" height="110" width="500" alt="Insignum Kadry Płace" />
            <div id="divlogin" style="">
                <div id="divlogininner">
                    <table summary="" class="login">
                        <tr>
                            <th>
                                Użytkownik:</th>
                            <td>
                                <asp:TextBox ID="tbLogin" runat="server" Width="100%" TextMode="SingleLine" ></asp:TextBox></td>
                        </tr>
                        <tr>
                            <th>
                                Hasło:</th>
                            <td>
                                <asp:TextBox ID="tbPasswd" runat="server" Width="100%" TextMode="Password" ></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td>
                            </td>
                            <td>
                                <asp:ImageButton ID="btnLogin" runat="server" ImageUrl="~/img/btnzaloguj.gif" OnClick="btnLogin_Click" /></td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
        <!-- wrap -->
        <div>
            <asp:Label ID="lblError" runat="server"></asp:Label>
        </div>
    </form>
<script type="text/javascript">

function sf() {
    elogin = document.getElementById('tbLogin');
    ehaslo = document.getElementById('tbPasswd');
 if (elogin.value=="") {
   elogin.focus();
   elogin.select();}
 else {
   ehaslo.focus();
   ehaslo.select();}
}

</script>
</body>
</html>
