Dsafds
Dsafds
01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" type="text/css" href="login.css" />
<link rel="shortcut icon" href="/images/pennar.ico">
<script>
$(function () {
$("#check").button();
$("#submit").button();
$("#format").buttonset();
});
</script>
<!--[if lt IE 7]>
<style type="text/css">
img { behavior: url("pngfix.htc"); }
</style>
<![endif]-->
<link rel="stylesheet" href="/start/jquery.ui.all.css" />
<script src="/js/jquery-1.9.1.js"></script>
<script src="/js/jquery-ui.js"></script>
<style type="text/css">
.ui-dialog
{
padding: 4px 4px 4px 4px;
font-family: Arial;
font-size: 13px;
}
.ui-dialog .ui-dialog-title
{
font-family: Arial;
font-size: 13px;
font-weight: normal;
font-style: normal;
color: #FFFFFF;
}
.ui-dialog .ui-dialog-titlebar
{
padding: 10px 10px 10px 30px;
}
.ui-dialog .ui-dialog-titlebar-close
{
visibility: hidden;
right: 10px;
}
</style>
<script type="text/javascript">
function show_browse()
{
if (screen.width <= 699) {
document.location = "MLogin.jsp";
}
}
</script>
<script type="text/javascript">
$(document).ready(function ()
{
var jQueryDialog1Opts =
{
modal: true,
width: 403,
height: 239,
position: 'center',
resizable: false,
draggable: false,
show: 'scale',
hide: 'scale',
closeOnEscape: true,
autoOpen: false
};
$("#dialog-form").dialog(jQueryDialog1Opts);
});
</script>
<script>
$(function () {
var projectname = $("#userid"),
receiveddate = $("#password"),
allFields = $([]).add(projectname).add(receiveddate),
tips = $(".validateTips");
function updateTips(t) {
tips
.text(t)
.addClass("ui-state-highlight");
setTimeout(function () {
tips.removeClass("ui-state-highlight", 1500);
}, 5000);
}
function checkLength(o, n, min, max) {
if (o.val().length > max || o.val().length < min) {
o.addClass("ui-state-error");
updateTips("Length of " + n + " must be between " +
min + " and " + max + ".");
return false;
} else {
return true;
}
}
function required(o, n) {
if (o.val().length == 0) {
o.addClass("ui-state-error");
updateTips(n + " is Required ");
return false;
} else {
return true;
}
}
function login() {
var bValid = true;
allFields.removeClass("ui-state-error");
bValid = bValid && required(projectname, "Userid");
bValid = bValid && required(receiveddate, "Password");
if (bValid) {
$("#myform").submit();
//$( this ).dialog( "close" );
}
}
$("#dialog-form").dialog({
autoOpen: true,
height: 300,
width: 400,
position: 'center',
resizable: false,
draggable: false,
closeOnEscape: true,
show: 'scale',
hide: 'scale',
modal: true,
buttons: {
Cancel: function () {
$(this).dialog("close");
},
"Login": login
},
close: function () {
allFields.val("").removeClass("ui-state-error");
}
});
$("#enter")
.click(function () {
$("#dialog-form").dialog("open");
});
$('#dialog-form').live('keyup', function (e) {
if (e.keyCode == 13) {
$(':button:contains("Login")').click();
}
});
});
</script>
</head>
<body onLoad='show_browse();'>
<img id="backgroundimage" src="images/bg-light.png" border="0" alt="">
<div id="space"><br></div>
<div id="container">
<div id="bv_Image1"
style="margin:0;padding:0;position:absolute;left:0px;top:0px;width:703px;height:644
px;text-align:left;z-index:0;">
<img src="/images/EPMS_Process.png" id="Image1" alt="" align="top"
border="0" style="width:703px;height:644px;"></div>
<div id="bv_Image2"
style="margin:0;padding:0;position:absolute;left:50px;top:0px;width:254px;height:88
px;text-align:left;z-index:0;">
<img src="/images/logo_w.png" id="Image2" alt="" align="top"
border="0" style="width:100px;height:100px;"></div>
<div id="enter"
style="margin:0;padding:0;position:absolute;left:318px;top:279px;width:87px;height:
89px;text-align:left;z-index:0;">
<img src="/images/enterbutton.png" width="87" height="89"
alt="ENTER" border="0" onmouseover="this.src = '/images/enterbutton_hover.png'"
onmouseout="this.src = '/images/enterbutton.png'">
</div>
<div id="bv_Text1"
style="margin:0;padding:0;position:absolute;left:22px;top:110px;width:271px;height:
50px;text-align:left;">
<font style="font-size:12px" color="#E6E6FA" face="Agency
FB">Integrated Management System</font></div>
</div>
<div id="dialog-form" title="Pennar-IMS Login" style="z-index:1000;">
<p class="validateTips"></p>
<div id="validateErrors" class="ui-state-highlight"></div>
<tr><td span="3"> </td></tr>
<tr>
<td>
User Id :
</td>
<td colspan="2">
<input type="text" name="userid" value="" id="userid"
class="class java.util.HashMap"/>
</td>
</tr>
<tr><td span="3"> </td></tr>
<tr>
<td>Password :</td>
<td colspan="2"><input type="password" name="password"
id="password" class="class java.util.HashMap"/>
</td>
</tr>
<tr><td span="3"> </td></tr>
<tr>
<td><a href="RetrivePassword.jsp" style="color:
#253d97;"><b>Forgot Password...</></a></td><td></td>
</tr>
</table>
</fieldset>
</form>
</div>
</body>
</html>