play2.jsp 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
  2. <%
  3. String path = request.getContextPath();
  4. String basePath=path+"/";
  5. String id = request.getParameter("id");
  6. %>
  7. <!doctype html>
  8. <html>
  9. <head>
  10. <meta http-equiv="content-type" content="text/html; charset=utf-8">
  11. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  12. <link rel="stylesheet" href="<%=basePath%>player/js/bootstrap-3.3.7-dist/css/bootstrap.min.css">
  13. <link rel="stylesheet" href="<%=basePath%>player/css/app.v2.css">
  14. <link rel="stylesheet" href="<%=basePath%>player/css/style.css">
  15. <link rel="stylesheet" href="<%=basePath%>player/js/jQuery-log/css/jq22.css">
  16. <title>流程播放器</title>
  17. <style type="text/css">
  18. html,body {
  19. height: 100%;
  20. padding: 0;
  21. overflow: auto;
  22. background-color:white;
  23. }
  24. #mainDiv {
  25. display: inline-block;
  26. width: calc(100% - 300px);
  27. height: 100%;
  28. padding: 0;
  29. overflow: auto;
  30. float: left;
  31. }
  32. #canvas {
  33. width: 100%;
  34. height: 100%;
  35. }
  36. .show1 {
  37. border:3px solid rgba(216, 76, 41, 1);
  38. border-bottom:none;
  39. border-right:none;
  40. padding: -5px;
  41. height: 30px;
  42. width: 30px;
  43. text-align: center;
  44. }
  45. .show {
  46. border:3px solid rgba(216, 76, 41, 1);
  47. border-top:none;
  48. border-left:none;
  49. padding: -5px;
  50. height: 30px;
  51. width: 30px;
  52. text-align: center;
  53. }
  54. .currentNode:not(.djs-connection) .djs-visual > :nth-child(1) {
  55. stroke: rgba(66, 180, 21, 0.7) !important;
  56. }
  57. .play_div{
  58. position: absolute;
  59. right: 305px;
  60. bottom: 5px;
  61. float: right;
  62. cursor: pointer;
  63. }
  64. </style>
  65. </head>
  66. <body>
  67. <div class="mainBody" style="height:100%;width:100%;">
  68. <div id="mainDiv">
  69. <div id="canvas">
  70. </div>
  71. <div class="play_div" id="play_div">
  72. <a id="playButton" style="display:none"><img src="<%=basePath%>player/img/play.png" title="播放"></a>
  73. <a id="stopButton"><img src="<%=basePath%>player/img/stop.png" title="暂停"></a>
  74. </div>
  75. </div>
  76. <div style="background-color: #fff;width:300px;overflow:scroll" class="contactusdiyou">
  77. <div class="demo scroll-y scrollbar">
  78. <div class="history scroll-y scrollbar" style="display: block;display:none">
  79. <div class="history-date">
  80. <ul>
  81. </ul>
  82. </div>
  83. </div>
  84. </div>
  85. </div>
  86. </div>
  87. <button type="submit" class="btn btn-default" style="display: none;" id="show-button"></button>
  88. </body>
  89. <script type="text/javascript">
  90. var basePath = '<%=basePath%>';
  91. var id = '<%=id%>';
  92. var type = 2;
  93. </script>
  94. <script src="<%=basePath%>player/js/jquery/dist/jquery.min.js"></script>
  95. <script src="<%=basePath%>player/js/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
  96. <script src="<%=basePath%>player/design/bpmn/play/bpmn-viewer.min.js"></script>
  97. <script src="<%=basePath%>player/design/bpmn/play/play.js"></script>
  98. </html>