play.jsp 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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/jQuery-sjz/css/reset.css">
  13. <link rel="stylesheet" href="<%=basePath%>player/js/jQuery-sjz/css/style.css">
  14. <link rel="stylesheet" href="<%=basePath%>player/css/theme.css">
  15. <title>流程播放器</title>
  16. <style type="text/css">
  17. html, body {
  18. height: 100%;
  19. padding: 0;
  20. overflow:auto;
  21. background-color:white;
  22. }
  23. #mainDiv{
  24. display:inline-block;
  25. width:100%;
  26. height: calc(100% - 115px);
  27. padding: 0;
  28. overflow:auto;
  29. }
  30. #canvas{
  31. width: 100%;
  32. height: 100%;
  33. }
  34. .event_boxDiv{
  35. width:100%;
  36. height:115px;
  37. }
  38. .slideBox p a{
  39. cursor: auto;
  40. }
  41. .log_box{
  42. float:left;
  43. height:100%;
  44. width:50%;
  45. }
  46. .play_div{
  47. float:left;
  48. height:100%;
  49. width:50px;
  50. padding-top: 32px;
  51. text-align:center;
  52. cursor: pointer;
  53. }
  54. </style>
  55. </head>
  56. <body>
  57. <div class="mainBody" style="height:100%;width:100%;">
  58. <div id="mainDiv">
  59. <div id="canvas">
  60. </div>
  61. </div>
  62. <div class="event_boxDiv">
  63. <div class="play_div" id="play_div">
  64. <a id="playButton" style="display:none"><img src="<%=basePath%>player/img/play.png" title="播放"></a>
  65. <a id="stopButton"><img src="<%=basePath%>player/img/stop.png" title="暂停"></a>
  66. </div>
  67. <section class="cd-horizontal-timeline">
  68. <div class="timeline">
  69. <div class="events-wrapper">
  70. <div class="events">
  71. <ol></ol>
  72. <span class="filling-line" aria-hidden="true"></span>
  73. </div>
  74. </div>
  75. <ul class="cd-timeline-navigation">
  76. <li><a href="#0" class="prev inactive">Prev</a></li>
  77. <li><a href="#0" class="next">Next</a></li>
  78. </ul>
  79. </div>
  80. <div class="events-content">
  81. <ol></ol>
  82. </div>
  83. </section>
  84. </div>
  85. </div>
  86. <button type="submit" class="btn btn-default" style="display: none;" id="show-button"></button>
  87. </body>
  88. <script type="text/javascript">
  89. var basePath = '<%=basePath%>';
  90. var id = '<%=id%>';
  91. var type = 1;
  92. </script>
  93. <script src="<%=basePath%>player/js/jquery/dist/jquery.min.js"></script>
  94. <script src="<%=basePath %>player/design/bpmn/play/bpmn-viewer.min.js"></script>
  95. <script src="<%=basePath %>player/design/bpmn/play/play.js"></script>
  96. </html>