bpmDruidConfig.jsp 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <%@include file="/commons/include/html_doctype.html"%>
  3. <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
  4. <%@taglib prefix="f" uri="http://www.jee-soft.cn/functions"%>
  5. <%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
  6. <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
  7. <html>
  8. <head>
  9. <title>Druid执行状态监控设置</title>
  10. <%@include file="/commons/include/get.jsp"%>
  11. <script type="text/javascript">
  12. $(function() {
  13. $("#resetAll").click(function(){
  14. if($(this).hasClass('disabled')) return false;
  15. var ele=this;
  16. $.ligerDialog.confirm('确认重置所有状态吗?','提示信息',function(rtn){
  17. if(rtn){
  18. if(ele.click){
  19. $(ele).unbind('click');
  20. ele.click();
  21. }else{
  22. var url=ele.href;
  23. $.post(url);
  24. }
  25. }
  26. });
  27. });
  28. // $("table.table-grid td a.link.run,.close").click(function(){
  29. // if($(this).hasClass('disabled')) return false;
  30. // var ele = this;
  31. // $.ligerDialog.confirm('确认开启吗?','提示信息',function(rtn) {
  32. // if(rtn) {
  33. // if(ele.click) {
  34. // $(ele).unbind('click');
  35. // ele.click();
  36. // } else {
  37. // location.href=ele.href;
  38. // }
  39. // }
  40. // });
  41. // return false;
  42. // });
  43. });
  44. </script>
  45. </head>
  46. <body>
  47. <div class="panel">
  48. <div class="panel-top">
  49. <div class="panel-toolbar">
  50. <div class="toolBar">
  51. <a class="link update" id="resetAll" href="resetAll.ht"><span></span>重置所有监控信息</a>
  52. </div>
  53. </div>
  54. </div>
  55. <div class="panel-body">
  56. <div class="panel-data" cellpadding="1" cellspacing="1">
  57. <table id="tblFilterList" class="table-grid">
  58. <thead>
  59. <tr>
  60. <th>过滤器名</th>
  61. <th>过滤器类名</th>
  62. <th>状态</th>
  63. <th>描述</th>
  64. <th>操作</th>
  65. </tr>
  66. </thead>
  67. <tbody>
  68. <%-- <c:forEach items="${totalFilters }" var="filter"> --%>
  69. <!-- <tr> -->
  70. <%-- <td>${filter['name'] }</td> --%>
  71. <%-- <td>${filter['class'] }</td> --%>
  72. <!-- <td> -->
  73. <%-- <c:choose> --%>
  74. <%-- <c:when test="${filter['using']}"> --%>
  75. <%-- <font color="blue">正在使用</font> --%>
  76. <%-- </c:when> --%>
  77. <%-- <c:otherwise> --%>
  78. <%-- <font color="red">未开启</font> --%>
  79. <%-- </c:otherwise> --%>
  80. <%-- </c:choose> --%>
  81. <!-- </td> -->
  82. <%-- <td>${filter['desc'] }</td> --%>
  83. <!-- <td> -->
  84. <%-- <c:choose> --%>
  85. <%-- <c:when test="${filter['using']}"> --%>
  86. <%-- <a href="saveConfig.ht?id=${filter['id'] }&operateType=close" class="link run" >关闭</a> --%>
  87. <%-- </c:when> --%>
  88. <%-- <c:otherwise> --%>
  89. <%-- <a href="saveConfig.ht?id=${filter['id'] }&operateType=open" class="link close" status="open" address="${filter['id']}">开启</a> --%>
  90. <%-- </c:otherwise> --%>
  91. <%-- </c:choose> --%>
  92. <!-- </td> -->
  93. <!-- </tr> -->
  94. <%-- </c:forEach> --%>
  95. </tbody>
  96. </table>
  97. </div>
  98. </div>
  99. <!-- end of panel-body -->
  100. </div>
  101. <!-- end of panel -->
  102. </body>
  103. </html>