首页 > 代码库 > Jsp登陆界面

Jsp登陆界面

<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>欢迎登录后台管理系统</title>
<link href="http://www.mamicode.com/css/style.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" src="http://www.mamicode.com/js/jquery.js"></script>
<script src="http://www.mamicode.com/js/cloud.js" type="text/javascript"></script>

<script language="javascript">
    $(function(){
    $(‘.loginbox‘).css({‘position‘:‘absolute‘,‘left‘:($(window).width()-692)/2});
    $(window).resize(function(){ 
    $(‘.loginbox‘).css({‘position‘:‘absolute‘,‘left‘:($(window).width()-692)/2});
    }) 
}); 
</script>

</head>

<body style="background-color:#1c77ac; background-image:url(images/light.png); background-repeat:no-repeat; background-position:center top; overflow:hidden;">

 

    <div id="mainBody">
      <div id="cloud1" class="cloud"></div>
      <div id="cloud2" class="cloud"></div>
    </div> 


<div class="logintop">   
    <span>欢迎登录后台管理界面平台</span>   
    <ul>
    <li><a href="http://www.mamicode.com/#">回首页</a></li>
    <li><a href="http://www.mamicode.com/#">帮助</a></li>
    <li><a href="http://www.mamicode.com/#">关于</a></li>
    </ul>   
    </div>
   
    <div class="loginbody">
   
    <span class="systemlogo"></span>
      
    <div class="loginbox">
    <form name=form1 method="post" action="dologin.jsp"  >
    <ul>
    <li><input name="uname" type="text" class="loginuser" value="http://www.mamicode.com/admin" onclick="JavaScript:this.value=http://www.mamicode.com/‘‘"/></li>
    <li><input name="upwd" type="text" class="loginpwd" value="http://www.mamicode.com/密码" onclick="JavaScript:this.value=http://www.mamicode.com/‘‘"/></li>
    <li><input name="" type="submit" class="loginbtn" value="http://www.mamicode.com/登录"  onclick="javascript:window.location=‘‘" /><label>
    <input name="" type="checkbox" value="" checked="checked" />记住密码</label><label><a href="http://www.mamicode.com/#">忘记密码?</a></label></li>
    </ul>
    </form>
   
    </div>
   
    </div>
 
   
   
    <div class="loginbm">版权所有  2014  <a href="http://www.Sawshaw.com">Sawshaw.com</a>  仅供学习交流,勿用于任何商业用途</div>
   
   
</body>

</html>