online.jsp 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <%@ page language="java" contentType="text/html; charset=utf-8"
  2. pageEncoding="utf-8"%>
  3. <%
  4. request.setCharacterEncoding("utf-8");
  5. String path = request.getContextPath();
  6. String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
  7. %>
  8. <!DOCTYPE html>
  9. <html>
  10. <head>
  11. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  12. <link rel="stylesheet" href="<%=basePath %>resource/ext/resources/css/ext-all-gray.css" type="text/css"></link>
  13. <link rel="stylesheet" href="<%=basePath %>resource/css/main.css" type="text/css"></link>
  14. <style>
  15. .custom-button {
  16. cursor: pointer;
  17. border-top: 1px solid #96d1f8;
  18. background: #65a9d7;
  19. background: -webkit-gradient(linear, left top, left bottom, from(#3e779d), to(#65a9d7) );
  20. background: -webkit-linear-gradient(top, #3e779d, #65a9d7);
  21. background: -moz-linear-gradient(top, #3e779d, #65a9d7);
  22. background: -ms-linear-gradient(top, #3e779d, #65a9d7);
  23. background: -o-linear-gradient(top, #3e779d, #65a9d7);
  24. padding: 1px 5px;
  25. -webkit-border-radius: 8px;
  26. -moz-border-radius: 8px;
  27. border-radius: 8px;
  28. -webkit-box-shadow: rgba(0, 0, 0, 1) 0 1px 0;
  29. -moz-box-shadow: rgba(0, 0, 0, 1) 0 1px 0;
  30. box-shadow: rgba(0, 0, 0, 1) 0 1px 0;
  31. text-shadow: rgba(0, 0, 0, .4) 0 1px 0;
  32. color: white;
  33. font-size: 13px;
  34. font-family: Georgia, serif;
  35. text-decoration: none;
  36. vertical-align: middle;
  37. height: 24;
  38. }
  39. </style>
  40. <script type="text/javascript" src="<%=basePath %>resource/ext/ext-all.js"></script>
  41. <script type="text/javascript" src="<%=basePath %>resource/ux/grid/GridHeaderFilters.js"></script>
  42. <script type="text/javascript" src="<%=basePath %>resource/i18n/i18n.js"></script>
  43. <script type="text/javascript">
  44. /**
  45. * 在线账号查看
  46. */
  47. Ext.Loader.setConfig({
  48. enabled: true
  49. });//开启动态加载
  50. Ext.application({
  51. name: 'erp',//为应用程序起一个名字,相当于命名空间
  52. appFolder: basePath+'app',//app文件夹所在路径
  53. controllers: [//声明所用到的控制层
  54. 'ma.Online'
  55. ],
  56. launch: function() {
  57. Ext.create('erp.view.ma.Online');//创建视图
  58. }
  59. });
  60. </script>
  61. </head>
  62. <body >
  63. </body>
  64. </html>