login.jsp 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
  2. <%
  3. String path = request.getContextPath();
  4. String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
  5. String modal = request.getParameter("modal");
  6. %>
  7. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  8. <html>
  9. <head>
  10. <base href="<%=basePath%>">
  11. <title>CNG气瓶实时动态监管集成系统登录页面</title>
  12. <meta http-equiv="pragma" content="no-cache">
  13. <meta http-equiv="cache-control" content="no-cache">
  14. <meta http-equiv="expires" content="0">
  15. <meta http-equiv="keywords" content="气瓶,标签,动态监管,登陆">
  16. <meta http-equiv="description" content="气瓶电子标签动态监管集成系统">
  17. <link rel="stylesheet" type="text/css" href="css/easyui/themes/default/easyui.css">
  18. <link rel="stylesheet" type="text/css" href="css/easyui/themes/icon.css">
  19. <link rel="stylesheet" type="text/css" href="css/easyui/demo/demo.css">
  20. <script type="text/javascript" src="css/easyui/jquery.min.js"></script>
  21. <script type="text/javascript" src="css/easyui/jquery.easyui.min.js" charset="utf-8"></script>
  22. <script type="text/javascript" src="css/easyui/locale/easyui-lang-zh_CN.js" charset="utf-8"></script>
  23. <link rel="stylesheet" type="text/css" href="css/common/hzbstyle.css">
  24. <script type="text/javascript" src="js/common/area.js"></script>
  25. <link rel="stylesheet" href="css/common/font.css" />
  26. <style type="text/css">
  27. #box{width:778px;height:500px;position:absolute;top:50%;left:50%;margin-top:-250px;margin-left:-389px;}
  28. .input{height: 26px;width: 155px;}
  29. </style>
  30. <script type="text/javascript">
  31. function checkNull(){
  32. var un=document.getElementById("un").value;
  33. }
  34. function wait(){
  35. $.messager.progress({
  36. title: '请稍等',
  37. msg: '检验和预加载数据中...',
  38. text: '检验加载中.......'
  39. });
  40. return true;
  41. }
  42. </script>
  43. </head>
  44. <body>
  45. <div id="box">
  46. <img src="images/login.png" >
  47. <div style="position: absolute;top:50%;left:50%;margin-top:-88px;margin-left:80px;width:auto;height:auto;border: 0px solid;" align="right">
  48. <form action="loginServlet.do" method="post" onsubmit="wait();">
  49. <table>
  50. <tr>
  51. <td>
  52. <span class="font">用户名:</span>
  53. </td>
  54. <td>
  55. <input type="text" class="input" name="un" id="un" align="center"/>
  56. </td>
  57. </tr>
  58. <tr>
  59. <td>
  60. <span class="font">密&nbsp;&nbsp;&nbsp;码:</span>
  61. </td>
  62. <td>
  63. <input type="password" autocomplete="off" class="input" name="ps" align="center"/>
  64. </td>
  65. </tr>
  66. <tr>
  67. <tr>
  68. <td>
  69. <span class="font">验证码:</span>
  70. </td>
  71. <td>
  72. <input type="text" class="input" name="validatecode" align="center"/>
  73. </td>
  74. <input style="background:url(yanzhengma.jsp) no-repeat;border:none;height:40px; position: absolute;margin-top: 74px;left: 140px;" readonly="readonly"/>
  75. </tr>
  76. </tr>
  77. <tr>
  78. <td></td>
  79. <td>
  80. <input type="submit" value="登陆" class="font"/>
  81. <input type="reset" value="重置" class="font"/>
  82. </td>
  83. </tr>
  84. <input type="hidden" name="modal" value="<%=modal %>"/>
  85. </table>
  86. </form>
  87. </div>
  88. </div>
  89. </body>
  90. </html>