CINXE.COM
eValue
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta name="viewport" content="initial-scale=1.0"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <script type="text/javascript" src="https://www.e-value.net/Shared/jQuery/js/jquery-3.6.0.min.js"></script> <script> var isMobile = { Android: function() { return navigator.userAgent.match(/Android/i); }, BlackBerry: function() { return navigator.userAgent.match(/BlackBerry/i); }, iOS: function() { return navigator.userAgent.match(/iPhone|iPad|iPod/i); }, Opera: function() { return navigator.userAgent.match(/Opera Mini/i); }, Windows: function() { return navigator.userAgent.match(/IEMobile/i); }, any: function() { return (isMobile.Android() || isMobile.BlackBerry() || isMobile.iOS() || isMobile.Opera() || isMobile.Windows()); } }; if(isMobile.any() && window.location.search.search("ppc=0") < 0) { //some code... window.location=window.location.protocol+"//"+window.location.host+"/index.cfm?ppc=1"; } var goHome = function(){ window.location=window.location.protocol+"//"+window.location.host+"/home-main.cfm"; } var getPass = function(){ var url = window.location.protocol+"//"+window.location.host+"?fuseaction=main_emailpw"; var win = window.open(url,'myWin1','width=650,height=550,scrollbars=yes,resizable=yes'); }; var init = function(){ document.getElementById("AIusername").focus(); localStorage.clear(); }; var checkInput = function(){ var nameObj = $('#AIusername'); var pwObj = $('#AIpassword'); p = $.trim(pwObj.val()); n = $.trim(nameObj.val()); var errorContainer = $('#errorMsgDiv'); var i = $('#AIInstitutionCode').val(); if(n == "" && i != 'iowa'){ errorContainer[0].innerHTML = "Username is required."; errorContainer[0].classList.remove("displayNone"); nameObj.focus(); return false; } if(p == "" && i != 'iowa'){ errorContainer[0].innerHTML = "Password is required."; errorContainer[0].classList.remove("displayNone"); pwObj.focus(); return false; } $("#isLoggingInFld").val('yes'); return true; }; var submitLogin = function(){ if(checkInput()){ oForm = document.getElementById("liForm"); oForm.action = window.location.protocol+"//"+window.location.host+"/index.cfm"; oForm.method = "post"; oForm.submit(); } } function handleKeyPress(e){ var key=e.keyCode; if (key==13){ submitLogin(); } } $(document).ready(function() { init(); }); function togglePW(){ p = document.getElementById("AIpassword"); e = document.getElementById("eyeToggle"); const type = p.getAttribute('type') === 'password' ? 'text' : 'password'; p.setAttribute('type',type); e.classList.toggle("fa-eye"); e.classList.toggle("fa-eye-slash"); } </script> <link href="/ev2/lib/bootstrap-3.3.7/dist/css/bootstrap.min.css" rel="stylesheet"> <link href="/ev2/lib/bootstrap-additions/dist/bootstrap-additions.min.css" rel="stylesheet"> <link href="/ev2/lib/bootstrap-3.3.7/dist/css/bootstrap-theme.min.css" rel="stylesheet"> <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Roboto:400,300,300italic,400italic,500italic,500,700,700italic" rel="stylesheet" type="text/css"> <link href="login.css?cb=v2.1" rel="stylesheet"> <style> .displayNone {display:none;} .fa { margin-left:-35px; float:left; margin-top:10px; cursor:pointer;} input#AIPassword { float:left !important; } </style> <title>eValue</title> <link rel="icon" type="image/png" href="images/fav.png"/> </head> <body class="login-body" onkeypress="handleKeyPress(event)"> <div class="login-top-border"> </div> <div class="login-form-container"> <img class="login-evalue-image" src="Evalue_Logo_RGB.jpeg?v=2" onclick="goHome();" alt="eValue Logo"> <hr class="login-top"> <div id="errorMsgDiv" class="alert alert-danger myAlert displayNone" role="alert"></div> <div class="login-form-sub-container"> <form id="liForm" > <input id="isLoggingInFld" type="hidden" name="isLoggingIn" value="" /> <input id="ppc" type="hidden" name="ppc" value="0" /> <div class="form-group"> <label class="loginLabel" for="AIusername">Username</label> <input type="text" class="form-control" name="AIusername" id="AIusername"> </div> <div class="form-group"> <label class="loginLabel" for="AIpassword">Password</label> <input style="float:left" type="password" class="form-control" name="AIpassword" id="AIpassword"> <i id="eyeToggle" class="fa fa-eye" onclick="togglePW()"></i> <div style="clear:both;"></div> </div> <div class="form-group"> <label class="loginLabel" for="AIInstitutionCode">Institutional Code</label> <input type="text" name="AIInstitutionCode" id="AIInstitutionCode" class="form-control" placeholder="Not required unless provided by Program"> </div> <input type="button" class="btn login" value="Login" onclick="submitLogin()"> </form> </div> </div> <div class="login-bottom"> <div class="medhubLink"> <a class="medhubLink" href="http://www.medhub.com">< VISIT THE MEDHUB SITE</a> </div> <div class="forgotPW" > <a class="forgotPW" href="#" onclick="getPass();">FORGOT YOUR PASSWORD?</a> </div> </div> </body> </html>