index.jsp 4.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <%@ page language="java" contentType="text/html; charset=UTF-8"
  2. pageEncoding="UTF-8"%>
  3. <%@ page session="true" %>
  4. <%
  5. String path = request.getContextPath();
  6. String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
  7. String baseUrl = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+"/";
  8. String t = String.valueOf(System.currentTimeMillis());
  9. String company_code = request.getParameter("company_code");
  10. String theme = request.getParameter("theme");
  11. String css_name = "ext-all-access.css";
  12. if(theme!=null){
  13. if(theme.equals("gray"))
  14. css_name = "ext-all-gray.css";
  15. else if(theme.equals("access"))
  16. css_name = "ext-all-access.css";
  17. else if(theme.equals("neptune"))
  18. css_name = "ext-neptune.css";
  19. else if(theme.equals("default"))
  20. css_name = "ext-all.css";
  21. else if(theme.equals("scoped"))
  22. css_name = "ext-all-scoped";
  23. else if(theme.equals("ie"))
  24. css_name = "ext-ie.css";
  25. else if(theme.equals("sandbox"))
  26. css_name = "ext-sandbox.css";
  27. else if(theme.equals("standard"))
  28. css_name = "ext-standard.css";
  29. }else
  30. theme = "";
  31. %>
  32. <!DOCTYPE html>
  33. <html>
  34. <head>
  35. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  36. <link type="text/css" rel="stylesheet" href="<%=basePath+"res/extjs/resources/css/"+css_name+"?t="+t %>"/>
  37. <link type="text/css" rel="stylesheet" href="<%=basePath+"res/img/myImages.css?t="+t %>"/>
  38. <script type="text/javascript" src ="<%=basePath+"res/extjs/ext-all.js" %>"></script>
  39. <script type="text/javascript" src ="<%=basePath+"res/extjs/locale/ext-lang-zh_CN.js" %>"></script>
  40. <script type="text/javascript" src="<%=basePath+"res/jquery/jquery-3.3.1.min.js" %>"></script>
  41. <script type="text/javascript" src ="<%=basePath+"view/proform/scripts/perform.js" %>"></script>
  42. <title>IoT-02型永天消防综合监控系统</title>
  43. </head>
  44. <body style="font-size:18pt;font-family:'微软雅黑', Microsoft YaHei; ">
  45. <div id="proform_bg_tl" class="proform_bg_tl"></div>
  46. <div id="proform_bg_tm" class="proform_bg_tm"></div>
  47. <div id="proform_bg_tr" class="proform_bg_tr"></div>
  48. <div id="proform_bg_ml" class="proform_bg_ml"></div>
  49. <div id="proform_bg_mm" class="proform_bg_mm"></div>
  50. <div id="proform_bg_mr" class="proform_bg_mr"></div>
  51. <div id="proform_bg_bl" class="proform_bg_bl"></div>
  52. <div id="proform_bg_bm" class="proform_bg_bm"></div>
  53. <div id="proform_bg_br" class="proform_bg_br"></div>
  54. <div id="proform_menu_1" class="proform_menu_1" onmouseover="mouseon(this);" onmouseout="mouseoff(this);" onclick="menu_click(this);"></div>
  55. <div id="proform_menu_2" class="proform_menu_2" onmouseover="mouseon(this);" onmouseout="mouseoff(this);" onclick="menu_click(this);"></div>
  56. <div id="proform_menu_3" class="proform_menu_3" onmouseover="mouseon(this);" onmouseout="mouseoff(this);" onclick="menu_click(this);"></div>
  57. <div id="proform_menu_4" class="proform_menu_4" onmouseover="mouseon(this);" onmouseout="mouseoff(this);" onclick="menu_click(this);"></div>
  58. <div id="proform_menu_5" class="proform_menu_5" onmouseover="mouseon(this);" onmouseout="mouseoff(this);" onclick="menu_click(this);"></div>
  59. <!--
  60. <div id="proform_fliter_btn" class="proform_fliter_btn" onmouseover="mouseon(this);" onmouseout="mouseoff(this);" onclick="menu_click(this);"></div>
  61. <div id="proform_modify_btn" class="proform_modify_btn" onmouseover="mouseon(this);" onmouseout="mouseoff(this);" onclick="menu_click(this);"></div>
  62. <div id="proform_delete_btn" class="proform_delete_btn" onmouseover="mouseon(this);" onmouseout="mouseoff(this);" onclick="menu_click(this);"></div>
  63. <div id="proform_append_btn" class="proform_append_btn" onmouseover="mouseon(this);" onmouseout="mouseoff(this);" onclick="menu_click(this);"></div>
  64. -->
  65. <div id="main_page" style="position:absolute;top:120px;left:360px;"></div>
  66. <input type="hidden" id="theme" name="theme" value="<%=theme %>"/>
  67. <input type="hidden" id="basePath" name="basePath" value="<%=basePath %>"/>
  68. <input type="hidden" id="V_LOGINNAME" name="V_LOGINNAME" value=""/>
  69. <input type="hidden" id="V_PASSWORD" name="V_PASSWORD" value=""/>
  70. <input type="hidden" id="company_code" name="company_code" value="<%=company_code %>"/>
  71. </body>
  72. </html>