
@{
    ViewBag.Title = "Login";
    Layout = null;
}

<!doctype html>
<html lang="en">
<head>
    <!-- Required meta tags -->
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <!--Style-->
    <link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,500,700,800,900" rel="stylesheet">
    <link href="../css/component.css" rel="stylesheet" />
    <link href="../css/main.css" rel="stylesheet" />
    <link href="../css/ApplicationTemplate.css" rel="stylesheet" />
    <!--Custom Css-->
    <title>UPES | Application Form</title>

    <style>
        .se-pre-con {
            position: fixed;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            z-index: 9999;
            background: #fff url(../img/application/loader.gif) center no-repeat;
        }
    </style>
    <script>
        function myFunction() {
            //  alert("Page is loaded");

            $(".se-pre-con").fadeOut("slow");
        }
    </script>

</head>

<body onload="myFunction();" class="LoginModule">
    <!--Application Template-->
    <div class="se-pre-con"></div>
    <header class="position-relative">
        <section class="HeaderPanel HeaderBanner">
            <div class="plr70">
                <div class="headerInner">
                    <a href="/">
                        <img src="../img/application/upes logo.png" class="img-fluid" alt="Logo" />
                    </a>
                </div>
            </div>
        </section>

    </header>
    @using (Html.BeginForm("forgotpassword", "Login", FormMethod.Post, new { enctype = "multipart/form-data" }))
    {
        <main role="main" class="ApplicationTemplate LoginTEmplate">
            <section class="FormTemplate formBlkStyle">
                <div class="FormPosition">
                    <div class="text-center">
                        <h1 class="fontExBold ApplicationTitle">Forgot password</h1>
                    </div>
                    <!--Form Panel-->

                    @if (string.IsNullOrEmpty(ViewBag.msgforgot) || ViewBag.msgforgot == "failure")
                    {
                        <div class="FormPanel">
                            <!--PanelOne-->
                            <div class="FormPanelInner" id="FormPanelOne">
                                <p class="fontMedium form-text">Email ID</p>
                                <div class="form-group">
                                    <input type="text" class="form-control FormStyle" id="txtEmail" placeholder="Enter your Registered Email ID" name="emailormobile" />
                                </div>

                                @if (@ViewBag.msgforgot == "failure")
                                {
                                    <p style="color:red">No Records Found </p>
                                }
                                else
                                {
                                    <p style="color:red">@ViewBag.msgforgot</p>
                                }


                                <div class="clearfix"></div>
                                <div class="text-center">
                                    <button class="btn btn-primary BtnStyle" type="submit" onclick="return 
();">SUBMIT</button>

                                </div>
                                <hr />

                                <p>&nbsp;</p>
                            </div>
                        </div>
                    }
                    else
                    {
                        <div class="FormPanel">
                            <div class="FormPanelInner" id="FormPanelOne">
                                <p>Your Password has been sent to your Registered Email ID</p>
                                <br />
                                <a href="/login">Click here to Login</a>
                            </div>
                        </div>


                    }


                </div>
            </section>
        </main>
        <!--Helpline Chat-->
        <div class="helplineChatPanel ">
            <div class="plr70">
                <div class="helplineChatInner fontBold ">
                    <a id="helplineCrop" href="tel:+91 18001028737">
                        <img src="../img/application/helpline.png" class="img-fluid" alt="helpline" />
                        <span>Helpline</span>
                    </a>
                    <div class="Number">
                        <a href="tel:+9118001028737">
                            +91 18001028737
                        </a>
                    </div>
                    <a href="javascript:void(0);" onclick="openChat();">
                        <img src="../img/application/chat.png" class="img-fluid" alt="helpline" />
                        <span>Chat</span>
                    </a>
                </div>
            </div>
        </div>
    }
    <!--Footer-->
    <footer>
        <section class="FooterPanel">
            <div class="foot_Btm foot_Btm_Height nobg">
                <div class="plr70">
                    <div class="footBtmRow foot_Btm_Height row align-items-center no-gutters">
                        <div class="col-sm-6 copyRights">
                            <h5 style="display:inline;" class="text-uppercase fontBold">
                                &copy; @DateTime.Now.Year UPES. All Rights Reserved.
                            </h5>
                            <span> <a style="color:#000;text-decoration:underline;" class="text-uppercase fontBold" href="javascript:void(0)">Terms and Conditions</a></span>
                        </div>
                        <div class="col-sm-6 SocialIcon d-flex justify-content-end align-items-center">
                            <p class="text-uppercase fontBold">Follow Us On:</p>
                            <div class="social_icon_menus">
                                <a href="https://www.facebook.com/UniversityofPetroleumandEnergyStudies" target="_blank">
                                    <img src="../img/application/facebook-black.png" class="img-fluid" />
                                </a>
                                <a href="https://twitter.com/UPESDehradun" target="_blank">
                                    <img src="../img/application/twitter-black.png" class="img-fluid" />
                                </a>
                                <a href="https://www.instagram.com/upes_dehradun/" target="_blank">
                                    <img src="../img/application/insta-black.png" class="img-fluid" />
                                </a>
                                <a href="https://www.youtube.com/user/UPESUniversity/featured" target="_blank">
                                    <img src="../img/application/youtube-black.png" class="img-fluid" />
                                </a>
                                <a href="https://www.linkedin.com/school/university-of-petroleum-and-energy-studies/" target="_blank">
                                    <img src="../img/application/linkedin-black.png" class="img-fluid" />
                                </a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
    </footer>




	

    <script type="text/javascript" src="../scripts/component.js"></script>
    <script type="text/javascript" src="../scripts/loader-min.js"></script>
    <script type="text/javascript" src="../scripts/upes-appliaction.js"></script>
	
	
	
	
	
    <script type="text/javascript">
        function loginValidate() {
            var email = $('#txtEmail').val();


            $(".validation").remove();
            if (email == "") {
                $(".validation").remove();
                $("#txtEmail").focus();
                $("#txtEmail").after("<p class='validation' style='color:red;margin-bottom:0px;'>Please enter your Registered Email ID or Mobile Number</p>");
                return false;
            }

        }

        function loginRest() {
            $('#txtEmail').val('');

        }

        function openChat() {
            <!--window.open("http://ameyo.delhi.upes.ac.in:8888/ameyochatjs/defaultChat/chatOfflinePage.html", "popupWindow", "width=600, height=720, scrollbars=yes");-->
			window.open('https://app1.mioot.com/5069/livechat2.html','mioot chat software','toolbar=no, location=no, status=no, menubar=no, scrollbars=no, resizable=no, width=570, height=450, screenX=10, screenY=10')
        }
    </script>
	
	
    
    <!--Start of SuperBot Chat Script-->

    <script type="text/javascript">

        window.$superbot || (function (d, s) { var sb = $superbot = function (c) { sb._.push(c) }, $ = sb.s = d.createElement(s), e = d.getElementsByTagName(s)[0]; sb.set = function (o) { sb.set._.push(o) }; sb._ = []; sb.set._ = []; $.async = !0; $.setAttribute("charset", "utf-8"); $.src = "https://app.superbot.works/agent.js?a=bZm18BXLDz&l=en"; sb.t = +new Date; $.type = "text/javascript"; e.parentNode.insertBefore($, e) })(document, "script");

    </script>

    <!--End of SuperBot Chat Script-->
	
	
</body>

</html>