login.jsp 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <%@ page language="java" contentType="text/html; charset=utf-8"
  2. pageEncoding="utf-8"%>
  3. <%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>
  4. <%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
  5. <!DOCTYPE html>
  6. <html lang="zh-CN">
  7. <head>
  8. <meta charset="utf-8" />
  9. <meta name="viewport"
  10. content="initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0, width=device-width">
  11. <meta http-equiv="Cache-Control" content="no-siteapp" />
  12. <title>优软管理系统Ÿ,usoftchina.com</title>
  13. <meta name="description"
  14. content="USOFTCHINA.COM,ERP,SCM,CRM,MRP,企业管理,优软" />
  15. <meta name="keywords" content="USOFTCHINA.COM,ERP,SCM,CRM,MRP,企业管理,优软" />
  16. <%
  17. String path = request.getContextPath();
  18. String basePath = request.getScheme() + "://"
  19. + request.getServerName() + ":" + request.getServerPort()
  20. + path + "/";
  21. %>
  22. <base href="<%=basePath%>jsps/mobile/" />
  23. <script>
  24. window.basePath = "<%=basePath%>";
  25. </script>
  26. <link rel="stylesheet" href="login.css" type="text/css" />
  27. </head>
  28. <body>
  29. <div id="header-container">
  30. <div class="center">
  31. <h2>优软管理系统</h2>
  32. </div>
  33. </div>
  34. <div id="app-container">
  35. <form id="form" action="#">
  36. <input type="text" name="username" id="username" placeholder="账号"
  37. autocomplete="off" tabindex="1" class="txtinput" required="required">
  38. <input type="password" name="password" " id="password"
  39. placeholder="密码" autocomplete="off" tabindex="2" class="txtinput"
  40. required="required">
  41. <form:select path="masters" hidefocus="true" id="master"
  42. class="selmenu">
  43. <form:options items="${masters}" itemValue="ma_name"
  44. itemLabel="ma_name" />
  45. </form:select>
  46. <input type="button" name="submit" id="submitbtn" class="submitbtn"
  47. onclick="mobileLogin();" tabindex="7" value="登录&raquo;">
  48. </form>
  49. </div>
  50. <div id="footer-container">
  51. <p class="link">
  52. <a href="#" id="download_client">客户端下载</a> | <a
  53. href="<%=basePath%>?mobile=0">电脑版</a>
  54. </p>
  55. </div>
  56. </body>
  57. <script type="text/javascript"
  58. src="<%=basePath%>resource/jquery/jquery-1.4.min.js"></script>
  59. <script type="text/javascript"
  60. src="<%=basePath%>resource/jquery/jquery.json-2.2.min.js"></script>
  61. <script type="text/javascript" src="login.js"></script>
  62. </html>