<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Giris.aspx.cs" Inherits="Giza.Web.Moduller.Kullanici.Giris" %>

<%@ Import Namespace="Giza.Temel.Araclar" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>Giza | Kullanıcı Giriş</title>

    <!-- Vendor CSS -->
    <link href="<%= Page.ResolveUrl("~/Content/vendors/bower_components/animate.css/animate.min.css") %>" rel="stylesheet" />
    <link href="<%= Page.ResolveUrl("~/Content/vendors/bower_components/bootstrap-sweetalert/lib/sweet-alert.css") %>" rel="stylesheet" />
    <link href="<%= Page.ResolveUrl("~/Content/vendors/bower_components/material-design-iconic-font/dist/css/material-design-iconic-font.min.css") %>" rel="stylesheet" />
    <link href="<%= Page.ResolveUrl("~/Content/vendors/bower_components/bootstrap-select/dist/css/bootstrap-select.css") %>" rel="stylesheet" />

    <!-- CSS -->
    <link href="<%= Page.ResolveUrl("~/Content/css/app.min.1.css") %>" rel="stylesheet" />
    <link href="<%= Page.ResolveUrl("~/Content/css/app.min.2.css") %>" rel="stylesheet" />
    <link href="<%= Page.ResolveUrl("~/Content/css/login.css") %>" rel="stylesheet" />

    <!-- Javascript Libraries -->
    <script src="<%= Page.ResolveUrl("~/Content/vendors/bower_components/jquery/dist/jquery.min.js") %>"></script>
    <script src="<%= Page.ResolveUrl("~/Content/vendors/bower_components/bootstrap/dist/js/bootstrap.min.js") %>"></script>
    <script src="<%= Page.ResolveUrl("~/Content/vendors/bower_components/Waves/dist/waves.min.js") %>"></script>
    <script src="<%= Page.ResolveUrl("~/Content/vendors/bower_components/bootstrap-sweetalert/lib/sweet-alert.js") %>"></script>
    <script src="<%= Page.ResolveUrl("~/Content/vendors/bootstrap-growl/bootstrap-growl.min.js") %>"></script>
    <script src="<%= Page.ResolveUrl("~/Content/js/functions.js") %>"></script>

    <script src="<%= Page.ResolveUrl("~/Content/vendors/bower_components/bootstrap-select/dist/js/bootstrap-select.js") %>"></script>
    <script src="<%= Page.ResolveUrl("~/Content/vendors/bower_components/bootstrap-select/js/i18n/defaults-tr_TR.js") %>"></script>

    <script>
        $(function () {
            $('*').removeAttr('tabindex');

            $('<%= txtUserName.ClientID%>').attr('tabindex', '1');
            $('<%= txtPassword.ClientID%>').attr('tabindex', '2');
            $('<%= btnLogin.ClientID%>').attr('tabindex', '3');
        });
    </script>
    <style type="text/css">
        body.login-content:before {
            background: <%=SessionParametreHelper.GetParamValue("TemaRenkKodu","#f436df")%> !important;
        }
    </style>
</head>
<body class="login-content">


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

        <div style="margin-top: 5px">
            <%--<div class="col-sm-2 col-xs-2"></div>--%>
            <img src="<%= Page.ResolveUrl("~/Content/img/Giza_Giris_Logo.png") %>" alt="Giza" class="col-sm-3 col-xs-3" />
        </div>



        <div style="margin-top: 5px">
            <div class="col-sm-6 col-xs-6"></div>
            <img src="<%= Page.ResolveUrl("~/Content/img/Giza_Giris.png") %>" alt="Giza" class="col-sm-6 col-xs-6" />
        </div>






        <div class="login-container">
            <div class="login-wrapper">
                <!-- Login -->
                <div class="lc-block  <%=SessionParametreHelper.GetParamValue("emailIleGiris","Hayır")=="Evet"?"":"toggled"%>" id="l-login">
                    <div class="input-group m-b-20">
                        <span class="input-group-addon"><i class="zmdi zmdi-account"></i></span>
                        <div class="fg-line">
                            <asp:TextBox ID="txtUserName" TabIndex="0" class="form-control" placeholder="Kullanıcı Adı" runat="server"></asp:TextBox>
                        </div>
                    </div>

                    <div class="input-group m-b-20">
                        <span class="input-group-addon"><i class="zmdi zmdi-male"></i></span>
                        <div class="fg-line">
                            <asp:TextBox ID="txtPassword" TabIndex="1" TextMode="Password" class="form-control" placeholder="Parola" runat="server"></asp:TextBox>
                        </div>
                    </div>

                    <div class="clearfix"></div>

                    <%--<div class="checkbox">
                    <label>
                        <input type="checkbox" value="">
                        <i class="input-helper"></i>
                        Keep me signed in
               
                    </label>
                </div>--%>

                    <asp:LinkButton ID="btnLogin" runat="server" class="btn btn-login btn-danger btn-float" OnClick="btnLogin_Click"><i class="zmdi zmdi-arrow-forward"></i></asp:LinkButton>

                    <ul class="login-navigation">
                        <li data-block="#l-login" class="bgm-red">Giriş</li>
                        <li data-block="#l-forget-password" class="bgm-orange">Email ile Giriş</li>
                    </ul>
                </div>

                <!-- Register -->
                <%--                <div class="lc-block" id="l-register">
                    <div class="input-group m-b-20">
                        <span class="input-group-addon"><i class="zmdi zmdi-account"></i></span>
                        <div class="fg-line">
                            <input type="text" class="form-control" placeholder="Username">
                        </div>
                    </div>

                    <div class="input-group m-b-20">
                        <span class="input-group-addon"><i class="zmdi zmdi-email"></i></span>
                        <div class="fg-line">
                            <input type="text" class="form-control" placeholder="Email Address">
                        </div>
                    </div>

                    <div class="input-group m-b-20">
                        <span class="input-group-addon"><i class="zmdi zmdi-male"></i></span>
                        <div class="fg-line">
                            <input type="password" class="form-control" placeholder="Password">
                        </div>
                    </div>

                    <div class="clearfix"></div>

                    <div class="checkbox">
                        <label>
                            <input type="checkbox" value="">
                            <i class="input-helper"></i>
                            Accept the license agreement
               
                        </label>
                    </div>

                    <a href="" class="btn btn-login btn-danger btn-float"><i class="zmdi zmdi-arrow-forward"></i></a>

                    <ul class="login-navigation">
                        <li data-block="#l-login" class="bgm-green">Login</li>
                        <li data-block="#l-forget-password" class="bgm-orange">Forgot Password?</li>
                    </ul>
                </div>--%>

                <!-- Forgot Password -->
                <div class="lc-block <%=SessionParametreHelper.GetParamValue("emailIleGiris","Hayır")=="Evet"?"toggled":""%>" id="l-forget-password">
                    <p class="text-left">Sisteme giriş sağlayabilmek için email adresinizi giriniz.</p>

                    <div class="input-group m-b-20">
                        <span class="input-group-addon"><i class="zmdi zmdi-email"></i></span>
                        <div class="fg-line">
                            <asp:TextBox ID="txt_Email" TabIndex="1" type="email" onfocus="this.type='email'" class="form-control" placeholder="Email Adresiniz" runat="server"></asp:TextBox>
                        </div>
                    </div>

                    <asp:LinkButton ID="lbtn_EmailGirisYap" runat="server" class="btn btn-login btn-danger btn-float" OnClick="lbtn_EmailGirisYap_Click"><i class="zmdi zmdi-mail-send"></i></asp:LinkButton>

                    <ul class="login-navigation">

                        <li data-block="#l-login" class="bgm-red">Giriş</li>
                        <li data-block="#l-forget-password" class="bgm-orange">Email ile Giriş</li>
                    </ul>
                </div>


            </div>
        </div>


        <script type="text/javascript">
            function emailGirisClick() {

                //var myButton = document.getElementsByClassName("login-navigation")[0];
                //myButton.trigger('click');
                //alert("Hello Mz");

            }
        </script>
    </form>
    <footer id="footer" style="padding: 0px !important;">
        <%--Copyright © --%>
          <div id="menuDiv" runat="server">
          </div>
    </footer>


</body>

</html>
