loginre.jsp 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  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. %>
  6. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  7. <html>
  8. <head>
  9. <base href="<%=basePath%>">
  10. <title>气瓶电子标签动态监管集成系统</title>
  11. <meta http-equiv="pragma" content="no-cache">
  12. <meta http-equiv="cache-control" content="no-cache">
  13. <meta http-equiv="expires" content="0">
  14. <meta http-equiv="keywords" content="气瓶,标签,动态监管">
  15. <meta http-equiv="description" content="气瓶电子标签动态监管集成系统">
  16. <link rel="stylesheet" type="text/css" href="css/easyui/themes/default/easyui.css">
  17. <link rel="stylesheet" type="text/css" href="css/easyui/themes/icon.css">
  18. <link rel="stylesheet" type="text/css" href="css/easyui/demo/demo.css">
  19. <script type="text/javascript" src="css/easyui/jquery.min.js"></script>
  20. <script type="text/javascript" src="css/easyui/jquery.easyui.min.js" charset="utf-8"></script>
  21. <script type="text/javascript" src="css/easyui/locale/easyui-lang-zh_CN.js" charset="utf-8"></script>
  22. <link rel="stylesheet" type="text/css" href="css/common/hzbstyle.css">
  23. <link rel="stylesheet" href="css/common/font.css" />
  24. <style>
  25. #box{width:100%;height:100%;position:absolute;border: 0px;}
  26. #box img{width:778px;height:500px;position:absolute;top:50%;left:50%;margin-top:-250px;margin-left:-389px}
  27. .input{height: 26px;width: 255px;line-height: 26px;}
  28. .span{font-size: 16px;}
  29. .select{height: 26px;width: 255px;}
  30. </style>
  31. <script language="JavaScript">
  32. if (window != top)
  33. top.location.href = location.href;
  34. </script>
  35. <script type="text/javascript">
  36. function checkNull(){
  37. return true;
  38. }
  39. function show(message) {
  40. $.messager.show({
  41. title: '提示信息',
  42. msg: message,
  43. timeout: 2000,
  44. showType: 'slide'
  45. });
  46. }
  47. function wait(){
  48. var un = document.getElementById("un").value;
  49. var ps = document.getElementById("ps").value;
  50. var validatecode = document.getElementById("validatecode").value;
  51. if(!un){
  52. show("用户名不能为空!!!");
  53. return false;
  54. }else if(!ps){
  55. show("密码不能为空!!!");
  56. return false;
  57. }else if(!validatecode){
  58. show("验证码不能为空!!!");
  59. return false;
  60. }else{
  61. $.messager.progress({
  62. title: '请稍等',
  63. msg: '检验和预加载数据中...',
  64. text: '检验加载中.......'
  65. });
  66. return true;
  67. }
  68. }
  69. function check(form) {
  70. document.myform.submit();
  71. }
  72. </script>
  73. </head>
  74. <body style="padding: 0px;margin: 0px;">
  75. <div id="box">
  76. <img src="images/login/login.jpg" alt="CNG气瓶电子动态监管系统" >
  77. <div style="position: absolute;top:50%;left:50%;margin-top:-90px;margin-left:-180px;width:auto;height:auto;border: 0px solid;" align="right">
  78. <form action="loginServlet.do" method="post" onsubmit="return wait();" name="myform">
  79. <table>
  80. <tr>
  81. <td>
  82. <span class="font span">登&nbsp;陆&nbsp;类&nbsp;型:</span>
  83. </td>
  84. <td>
  85. <select name="modal" id="modal" class="font select">
  86. <option selected="selected" value="1">监管部门管理系统</option>
  87. <option value="4">充装站管理系统</option>
  88. <option value="2">检验站管理系统</option>
  89. <option value="3">改装厂管理系统</option>
  90. </select>
  91. </td>
  92. </tr>
  93. <tr>
  94. <td>
  95. <span class="font span">用&nbsp;&nbsp;&nbsp;户&nbsp;&nbsp;&nbsp;名:</span>
  96. </td>
  97. <td>
  98. <input type="text" class="input" name="un" id="un" align="center"/>
  99. </td>
  100. </tr>
  101. <tr>
  102. <td>
  103. <span class="font span">密&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;码:</span>
  104. </td>
  105. <td>
  106. <input type="password" autocomplete="off" class="input" name="ps" align="center" id="ps"/>
  107. </td>
  108. </tr>
  109. <tr>
  110. <tr>
  111. <td>
  112. <span class="font span">验&nbsp;&nbsp;&nbsp;证&nbsp;&nbsp;&nbsp;码:</span>
  113. </td>
  114. <td>
  115. <input type="text" class="input" name="validatecode" align="center" id="validatecode"/>
  116. </td>
  117. <input style="background:url(yanzhengma.jsp) no-repeat;border:none;height:40px; position: absolute;margin-top: 100px;left: 278px;" readonly="readonly"/>
  118. </tr>
  119. </tr>
  120. <tr>
  121. <td></td>
  122. <td>
  123. <input type=button name="submit1" value="登陆" onclick="check(this.form)">
  124. <input type="submit" value="登陆" class="font"/>
  125. <input type="reset" value="重置" class="font"/>
  126. </td>
  127. </tr>
  128. </table>
  129. </form>
  130. </div>
  131. </div>
  132. </body>
  133. </html>