<%@ page language="C#" autoeventwireup="true" inherits="login, App_Web_hfdym02p" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<!DOCTYPE html>
<html lang="en">
<head id="Head1" runat="server">
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <%--<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=7" />--%>

    <title>VXL Systems</title>
    <%--<link id="Link1" rel="stylesheet" type="text/css" href="~/css/reset.css" runat="server" />
    <link id="Link2" rel="stylesheet" type="text/css" href="~/css/login1.css" runat="server" />--%>
    <link rel="SHORTCUT ICON" href="images/favicon.ico" />
    <%--<link id="Link3" rel="stylesheet" type="text/css" href="~/css/login1.css" runat="server" />--%>
    <link href="css/CustomeAlert/demos.css" rel="stylesheet" type="text/css" />
    <link href="css/CustomeAlert/themes/jquery.ui.all.css" rel="stylesheet" type="text/css" />
    <link href="css/Login/preview.css" rel="stylesheet" type="text/css" />
    <link href="css/Login/responsive.css" rel="stylesheet" type="text/css" />
    <script lang="javascript" src="js/FormValidations.js" type="text/javascript"></script>
    <%--<link href="NewDesign/css/bootstrap.css" rel="stylesheet" />--%>
    <script lang="javascript" type="text/javascript">
        function ConcurrentUsers(IsGUID) {
            if (IsGUID) {
                var IsConfirm = confirm("Already a session is available for this user. Do you want to close it? \nClick 'OK' to proceed");

                if (IsConfirm == false) {
                    return false;
                }
            }

            document.getElementById("btnProceed").click();
        }
        function setText(userPwd) {
            setTimeout(eval('document.getElementById("txtPassword").value =' + userPwd + ';'), 5000);
        }

    </script>



    <script lang="JavaScript1.2" type="text/javascript" src="js/myformvalidations.js"></script>

    <script src="js/Loginjs/bootstrap.min.js" type="text/javascript"></script>
    <script src="js/Loginjs/jquery-1.9.1.js" type="text/javascript"></script>
    <script src="js/Loginjs/modernizr.js" type="text/javascript"></script>
    <script src="js/Loginjs/waypoints.min.js" type="text/javascript"></script>
    <script src="js/CustomAlert/jquery.min.js" type="text/javascript"></script>
    <script src="js/CustomAlert/jquery-ui-1.10.3.custom.min.js" type="text/javascript"></script>
    <script src="js/CustomAlert/jquery-ui-1.10.3.custom.js" type="text/javascript"></script>
    <script src="js/CustomAlert/CustomAlert.js" type="text/javascript"></script>

    <style type="text/css">
        div.transbox {
            width: 200px;
            height: 232px; /*160px;*/
            margin: 0 50px;
            background-color: #ffffff;
            border: 1px solid;
            opacity: 0.8;
            filter: alpha(opacity=80);
            margin-left: 720px;
            display: none;
        }

            div.transbox p {
                margin: 15px 15px;
                font-weight: bold;
                font-size: 10px;
                color: #1C5180;
                text-align: justify;
            }

        input:-webkit-autofill,
        input:-webkit-autofill:hover,
        input:-webkit-autofill:focus,
        input:-webkit-autofill:active {
            -webkit-box-shadow: 0 0 0 30px white inset;
        }

        input:-webkit-autofill {
            -webkit-box-shadow: 0 0 0 30px #fbf4f5 inset !important;
            /*-webkit-text-stroke-color: white !important;*/
        }

        #txtOrganizationCode {
            -webkit-box-shadow: 0 0 0 30px #e1e1e1 inset !important;
            -webkit-text-stroke-color: white !important;
        }
    </style>
    <script src="../js/wow.min.js"></script>
</head>
<body onload="getFooter();" class="eternity-form">
    <form id="frmLogin" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
            <ContentTemplate>
                <!-- Header Starts Here -->
                <%--  <div id="header">
                    &nbsp;
                </div>--%>
                <!-- Header Ends Here -->
                <%-- <table cellpadding="0" cellspacing="0" border="0" id="logincont" runat="server" class="colorBg1 colorBg">
                    <tr >
                        <td align="center">--%>

                <section class="colorBg1 colorBg">
                    <div class=" container">
                        <div class="login-form-section">
                            <div class="login-content" data-animation="bounceIn">
                                <div class="logo">
                                    <img src="images/login/logo.png">
                                </div>
                                <div id="logincont" runat="server">
                                    <div class="textbox-wrap">
                                        <div class="input-group uname">
                                            <%--<input type="text" required class="form-control" placeholder="User Name" />--%>
                                            <asp:TextBox ID="txtUserName" class="form-control" placeholder="User Name" runat="server" TabIndex="1" MaxLength="50"></asp:TextBox>
                                        </div>
                                    </div>
                                    <div class="textbox-wrap">
                                        <div class="input-group pwd">
                                            <%--<input type="password" required class="form-control" placeholder="Password" />--%>
                                            <asp:TextBox ID="txtPassword" class="form-control" runat="server" TextMode="Password"
                                                Text="Admin" TabIndex="2" MaxLength="20" placeholder="Password"></asp:TextBox>
                                        </div>
                                    </div>
                                    <div class="forgot">
                                        <%--<a href="#">Forgot your password?</a>--%>
                                        <asp:LinkButton ID="lbtnForgotPassWord" runat="server" OnClick="lbtnForgotPassWord_Click"
                                            TabIndex="3"> Forgot your password?</asp:LinkButton>
                                    </div>
                                    <div class="textbox-wrap org-code">
                                        <div class="input-group">
                                            <%--<input type="text" class="form-control" placeholder="Organization Code" />--%>
                                            <asp:TextBox ID="txtOrganizationCode" class="form-control" runat="server" Text="" TabIndex="3"
                                                MaxLength="3" placeholder="Org Code"></asp:TextBox>
                                        </div>
                                    </div>
                                    <div style="display: none">
                                        <span class="label">&nbsp;</span>
                                        <input id="chkRemeberMe" runat="server" class="nosty" type="Checkbox" tabindex="5" />
                                        Remember me
                                    </div>
                                    <%--<button type="submit" class="btn btn-success green-btn">LOGIN</button>--%>
                                    <asp:Button ID="lbtnSignIn" runat="server" class="btn btn-success green-btn" OnClick="lbtnSignIn_Click"
                                        OnClientClick="return ValidateLoginValues();" TabIndex="6" Text="LOGIN" />

                                </div>

                                <asp:Button ID="btnProceed" runat="server" OnClick="btnProceed_Click" Style="display: none" />
                                <div id="forgotpwdcont" visible="false"
                                    runat="server">
                                    <%-- <table cellpadding="0" cellspacing="0" border="0" id="forgotpwdcont" visible="false"
                                runat="server">
                                <tr>
                                    <td align="center">--%>
                                    <div id="divForgetPass">
                                        <div id="login-box">
                                            <div class="emptyrow">
                                            </div>
                                            <%-- <div>
                                                    <span class="label">User Name</span>
                                                    <asp:TextBox ID="txtUserNameFP" class="loginForm" runat="server" TabIndex="7" MaxLength="50"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="rfvUserNameFP" runat="server" ErrorMessage="User Name required"
                                        ControlToValidate="txtUserNameFP" ValidationGroup="ForgotPassword" Display="None"></asp:RequiredFieldValidator>
                                                </div>--%>
                                            <div class="textbox-wrap">
                                                <span class="label">User Name</span>
                                                <div class="input-group uname">
                                                    <asp:TextBox ID="txtUserNameFP" class="form-control" runat="server" Text="" TabIndex="7"></asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="emptyrow">
                                            </div>

                                            <div class="textbox-wrap org-code">
                                                <span class="label">Organization Code</span>
                                                <div class="input-group">
                                                    <asp:TextBox ID="txtOrganizationCodeFP" class="form-control" runat="server" Text="" TabIndex="8"
                                                        MaxLength="3"></asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="emptyrow">
                                            </div>
                                            <div>
                                                <div class="row">
                                                    <div class="col-ks-8 pull-left" style="padding-bottom: 5px;">
                                                        <asp:Button ID="btnOKFP" runat="server" class="btnF btn-success green-btn" OnClick="btnOk_Click"
                                                            OnClientClick="return ValidateForgotPwdValues();" TabIndex="9" Text="SUBMIT" />
                                                    </div>

                                                    <div class="col-ks-8 pull-right">
                                                        <asp:Button ID="btnCancel" runat="server" class="btnF btn-success green-btn" OnClick="btnCancel_Click"
                                                            TabIndex="10" Text="CANCEL" />
                                                    </div>
                                                </div>


                                                <%--  <asp:ImageButton ID="btnOKFP" OnClientClick="return ValidateForgotPwdValues();" ImageUrl="~/images/submit-btn.png"
                                                        class="mainButton imagebtn" ValidationGroup="ForgotPassword" BorderStyle="None" runat="server"
                                                        OnClick="btnOk_Click" Text="SUBMIT" TabIndex="9" />
                                                    <asp:ImageButton ID="btnCancel" ImageUrl="~/images/cancel-btn.png" Text="CANCEL"
                                                        runat="server" class="mainButton imagebtn" TabIndex="10" BorderStyle="None" OnClick="btnCancel_Click" />--%>
                                            </div>
                                        </div>
                                    </div>
                                    <%--  </td>
                                </tr>
                            </table>--%>
                                </div>
                            </div>

                            <div class="vlive-arrow">
                                <img src="images/login/vlive.png">
                            </div>
                        </div>
                    </div>
                    <div class="copyright">
                        <img src="images/tsenselogo.png"><%--trinetra-logo--%>
                        <p>Copyright © 2020 All Rights Reserved. Powered by <a href="https://www.trinetratsense.com/" target="_blank" style="color:#e4e0e0;">Trinetra Wireless</a></p>
                    </div>
                </section>

                <%--  <div id="login-box">
                                <div id="divLogin" runat="server">
                                    <div>
                                        <span class="label">User Name</span>
                                      <asp:TextBox ID="txtUserName" class="loginForm" runat="server" TabIndex="1" MaxLength="50"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="rfvUserName" runat="server" ErrorMessage="" ControlToValidate="txtUserName"
                                        ValidationGroup="LoginCheck" Display="Dynamic"></asp:RequiredFieldValidator> 
                                    </div>
                                    <div class="emptyrow">
                                    </div>
                                    <div>
                                        <span class="label">Password</span>
                                        <asp:TextBox ID="txtPassword" class="loginForm" runat="server" TextMode="Password"
                                            Text="Admin" TabIndex="2" MaxLength="20"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="rfvPassword" runat="server" ErrorMessage="" ControlToValidate="txtPassword"
                                        ValidationGroup="LoginCheck" Display="Dynamic"></asp:RequiredFieldValidator> 
                                    </div>
                                    <div>
                                        <span class="label">&nbsp;</span>
                                         <asp:LinkButton ID="lbtnForgotPassWord" runat="server" OnClick="lbtnForgotPassWord_Click"
                                            TabIndex="3"> Forgot your password?</asp:LinkButton> 
                                    </div>
                                    <div>
                                        <span class="label">Organization Code</span>
                                         <asp:TextBox ID="txtOrganizationCode" class="loginForm" runat="server" Text="" TabIndex="3"
                                            MaxLength="3"></asp:TextBox> 
                                         <asp:RequiredFieldValidator ID="rfvOrganizationCode" runat="server" ErrorMessage=""
                                        ControlToValidate="txtOrganizationCode" ValidationGroup="LoginCheck" Display="Dynamic"></asp:RequiredFieldValidator> 
                                    </div>
                                   - <div>
                                        <span class="label">&nbsp;</span>
                                        <input id="chkRemeberMe" runat="server" class="nosty" type="Checkbox" tabindex="5" />
                                        Remember me
                                    </div> 
                                    <div class="subbtn">
                                         <asp:ImageButton ID="lbtnSignIn" class="imagebtn" BorderStyle="None" runat="server" ValidationGroup="LoginCheck"
                                            TabIndex="6" OnClick="lbtnSignIn_Click" OnClientClick="return ValidateLoginValues();"
                                            ImageUrl="~/images/login-btn.png" />
                                    </div>
                                </div>
                            </div>--%>
                <div class="transbox">
                    <p style="text-align: justify; font-family: Arial, Helvetica, sans-serif; line-height: 1.5">

                        <span style="text-decoration: blink;"><font style="font-size: 11px; color: #003466;">Important Note:</font></span>
                        <br />
                        <br />
                        <strong>
                            <%--Due to an urgent security patch upgrade you could experience
                                    delay in data retrieval / updates. We regret any inconvenience caused and we are
                                    giving this top priority to resolve the situation. Request for your understanding.--%>
                                    Due to an urgent maintenance work on Feb.20, 2015 between 2:00 AM and 6:00 AM IST, there may be slowness, disconnection and / or downtime in accessing this portal. 
                                    All incoming data in this duration will be safe and made available upon maintenance completion. 
                                    We regret the inconvenience caused and request your kind understanding in this matter.
                        </strong>
                    </p>
                </div>

                <%--  </td>
                    </tr>
                </table>--%>

                <asp:HiddenField ID="hdnResetPopupTarget" runat="server" />
                <cc1:ModalPopupExtender ID="mpResetPwd" PopupControlID="pnlResetPwd" TargetControlID="hdnResetPopupTarget"
                    X="280" runat="server" DynamicServicePath="" BackgroundCssClass="modalbackground"
                    CancelControlID="btnCancelPwd">
                </cc1:ModalPopupExtender>
                <asp:Panel ID="pnlResetPwd" runat="server" Style="display: none; position: absolute; top: -600px; width: 375px; height: 210px;">
                    <div id="con">
                        <table cellpadding="0" cellspacing="0" border="0" width="98%" class="popup">
                            <tr>
                                <td class="top-l">&nbsp;
                                </td>
                                <td class="top-m">&nbsp;
                                </td>
                                <td class="top-r">&nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td class="left">&nbsp;
                                </td>
                                <td>
                                    <div class="top">
                                        <h1>
                                            <asp:Label ID="lblResetPwd" Text="Change Password on First Login" runat="server"></asp:Label></h1>
                                        <div class="close">
                                            <asp:ImageButton ID="ibtnClose" OnClientClick="$find('mpResetPwd').hide(); return false;"
                                                CausesValidation="false" ImageUrl="~/images/popup-close.gif" Visible="true" runat="server" />
                                        </div>
                                        <div class="clear clearfix">
                                        </div>
                                    </div>
                                    <div class="popup-cont">
                                        <table class="form-tbl" width="100%" border="0" cellspacing="0" cellpadding="0">
                                            <tr>
                                                <td>
                                                    <asp:Label ID="Label2" runat="server" Text="New Password" CssClass="label"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:TextBox ID="txtNewPwd" TextMode="Password" runat="server" MaxLength="20" Width="200"
                                                        TabIndex="20" onkeypress="return chkPassword(event);"></asp:TextBox>
                                                    <%--   <asp:RequiredFieldValidator ID="rfvNewpwd" ValidationGroup="vgUserPwd" ControlToValidate="txtNewPwd"
                                                                                                ErrorMessage="New Password required" Display="Dynamic" runat="server"></asp:RequiredFieldValidator>--%>
                                                    <%--<cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender2" runat="server" TargetControlID="rfvNewpwd">
                                                                                        </cc1:ValidatorCalloutExtender>--%>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <asp:Label ID="Label3" runat="server" Text="Confirm Password" CssClass="label"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:TextBox ID="txtConfirmPwd" TextMode="Password" runat="server" MaxLength="20"
                                                        TabIndex="21" Width="200" onkeypress="return chkPassword(event);"></asp:TextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td></td>
                                                <td>
                                                    <asp:ImageButton ID="btnSavePwd" runat="server" CausesValidation="true" ValidationGroup="vgUserPwd"
                                                        TabIndex="22" OnClick="btnSavePwd_Click" ImageUrl="~/images/btn-save.jpg" />
                                                    <asp:ImageButton ID="btnCancelPwd" runat="server" class="btn" OnClick="btnCancelPwd_Click"
                                                        TabIndex="23" ImageUrl="~/images/btn-cancel.jpg" onkeydown="return setFocus(event,'txtNewPwd');" />
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
                                </td>
                                <td class="right">&nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td class="bottom-l">&nbsp;
                                </td>
                                <td class="bottom-m">&nbsp;
                                </td>
                                <td class="bottom-r">&nbsp;
                                </td>
                            </tr>
                        </table>
                    </div>
                </asp:Panel>
                <!-- Footer Starts Here -->
                <div id="footer" style="display: none">
                    <%--<div id="dvfooter">--%>
                    <asp:Label ID="footer" runat="server" ForeColor="White"></asp:Label>
                    <%-- Copyright © 2010 - 2011 All Rights Reserved. Powered By:--%>
                    <%--<a href="http://www.trinetrawireless.com/">Trinetra Wireless</a>--%><%--</div>--%>
                </div>
                <!-- Footer Ends Here -->
            </ContentTemplate>
        </asp:UpdatePanel>
        <input type="hidden" runat="server" id="hdnClientUTC" />
    </form>

    <script type="text/javascript">
        $(function () {
            if ($(window).width() >= 968 && !Modernizr.touch && Modernizr.cssanimations) {

                $("body").addClass("scroll-animations-activated");
                $('[data-animation-delay]').each(function () {
                    var animationDelay = $(this).data("animation-delay");
                    $(this).css({
                        "-webkit-animation-delay": animationDelay,
                        "-moz-animation-delay": animationDelay,
                        "-o-animation-delay": animationDelay,
                        "-ms-animation-delay": animationDelay,
                        "animation-delay": animationDelay
                    });

                });
                $('[data-animation]').waypoint(function (direction) {
                    if (direction == "down") {
                        $(this).addClass("animated " + $(this).data("animation"));

                    }
                }, {
                    offset: '90%'
                }).waypoint(function (direction) {
                    if (direction == "up") {
                        $(this).removeClass("animated " + $(this).data("animation"));

                    }
                }, {
                    offset: $(window).height() + 1
                });
            }

            $(".colorBg a[href]").click(function () {
                var scrollElm = $(this).attr("href");

                $("html,body").animate({ scrollTop: $(scrollElm).offset().top }, 500);

                return false;
            });

        });
    </script>
    <script type="text/javascript">
        function getFooter() {
            document.getElementById('footer').innerHTML = "For best viewing, please use Firefox 37.0 and above (for ios 4.0 and above) / Chrome 42.0 and above / Microsoft Edge. All pop-up blocking softwares must be disabled. <br>Copyright © " + new Date().getFullYear() + " All Rights Reserved. Powered By: <a href='http://www.trinetrawireless.com/'>Trinetra Wireless</a>";
            //document.getElementById('footer').innerHTML = "For best viewing, please use Internet Explorer 7.0 - 9.0 / Firefox 3.6 - 14 / Chrome 19 - 21 and a screen resolution of 1024x768. All pop-up blocking software must be disabled.<br>Copyright © " + new Date().getFullYear() + " All Rights Reserved. Powered By: <a href='http://www.trinetrawireless.com/'>Trinetra Wireless</a>"
            //document.getElementById('footer').innerHTML = "This application is best viewed in 1024x768 and IE 7.0,8.0, FF 3.5 and above browsers | Copyright © " + new Date().getFullYear() + " All Rights Reserved. Powered By: <a href='http://www.trinetrawireless.com/'>Trinetra Wireless</a>";
            //document.getElementById('footer').innerHTML = "Copyright © " + new Date().getFullYear() + " All Rights Reserved. Powered By: <a href='http://www.trinetrawireless.com/'>Trinetra Wireless</a>";
            GetClientUTC();
        }
        function GetClientUTC() {
            var now = new Date()
            var offset = -now.getTimezoneOffset();
            document.getElementById("hdnClientUTC").value = offset;
        }
    </script>

</body>
</html>
