sysenabled.jsp 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
  2. <%
  3. String path = request.getContextPath();
  4. String basePath = request.getScheme() + "://"
  5. + request.getServerName() + ":" + request.getServerPort()
  6. + path + "/";
  7. %>
  8. <!DOCTYPE html>
  9. <html>
  10. <head>
  11. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  12. <link rel="icon" href="<%=basePath %>resource/images/icon_title.png" type="image/x-icon"/>
  13. <link rel="stylesheet" href="<%=basePath%>resource/ext/4.2/resources/ext-theme-gray/ext-theme-gray-all.css" type="text/css"></link>
  14. <style>
  15. .loading {
  16. background: url("<%=basePath %>resource/images/loading.gif") no-repeat center!important;
  17. }
  18. .checked {
  19. background: url("<%=basePath %>resource/images/renderer/finishrecord.png") no-repeat center!important;
  20. }
  21. .error {
  22. background: url("<%=basePath %>resource/images/renderer/important.png") no-repeat center!important;
  23. }
  24. .refresh{
  25. background: url('<%=basePath %>resource/images/refresh.gif') no-repeat;
  26. }
  27. </style>
  28. <script type="text/javascript" src="<%=basePath%>resource/ext/4.2/ext-all.js"></script>
  29. <script type="text/javascript" src="<%=basePath%>resource/i18n/i18n.js"></script>
  30. <script type="text/javascript">
  31. Ext.Loader.setConfig({
  32. enabled: true
  33. });
  34. Ext.application({
  35. name: 'erp',
  36. appFolder: basePath + 'app',
  37. controllers : [ 'common.SysEnabled' ],
  38. launch : function() {
  39. Ext.create('erp.view.common.sysinit.SysEnabled');
  40. }
  41. });
  42. var Height=window.innerHeight-4;
  43. var caller=getUrlParam('whoami'),detailEl;
  44. </script>
  45. </head>
  46. <body>
  47. </body>
  48. </html>