sql.jsp 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <%@ page language="java" contentType="text/html; charset=utf-8"
  2. pageEncoding="utf-8"%>
  3. <%
  4. String path = request.getContextPath();
  5. String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
  6. %>
  7. <!DOCTYPE html>
  8. <html>
  9. <head>
  10. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  11. <link rel="stylesheet"
  12. href="<%=basePath %>resource/ext/6.2/resources/theme-gray/resources/theme-gray-all.css">
  13. <link rel="stylesheet" href="<%=basePath %>resource/css/codemirror.css">
  14. <style type="text/css">
  15. .x-panel-body-default {
  16. background: #fff;
  17. border-color: #d0d0d0;
  18. color: #000;
  19. font-size: 14px;
  20. font-weight: normal;
  21. font-family: tahoma, arial, verdana, sans-serif;
  22. border-width: 1px;
  23. border-style: solid;
  24. }
  25. .cm-s-default .cm-keyword{
  26. color: #3764a0;
  27. font-weight: bold;
  28. }
  29. .execute-icon{
  30. background-image: url('<%=basePath %>/resource/images/install.png')
  31. }
  32. .export-icon{
  33. background-image: url('<%=basePath %>/resource/images/excel.png')
  34. }
  35. </style>
  36. <script type="text/javascript" src="<%=basePath %>resource/ext/6.2/ext-all.js"></script>
  37. <script type="text/javascript" src="<%=basePath %>resource/other/codemirror.js"></script>
  38. <script type="text/javascript" src="<%=basePath %>resource/other/sql.js"></script>
  39. <script type="text/javascript" src="<%=basePath %>resource/i18n/i18n.js"></script>
  40. <script type="text/javascript">
  41. Ext.application({
  42. name: 'erp',
  43. appFolder: basePath+'app',
  44. launch: function() {
  45. Ext.create('erp.view.ma.sql.Viewport');//创建视图
  46. }
  47. });
  48. </script>
  49. <script type="text/javascript" src="<%=basePath %>resource/ext/6.2/exporter-debug.js"></script>
  50. </head>
  51. <body>
  52. </body>
  53. </html>