anchor.diff:          </div>
         </div>
           </div>
  -
  +        <div class="modal fade" id="edit" tabindex="-1" role="dialog" aria-labelledby="EditLabel">
  +		  <div class="modal-dialog" role="document">
  +		    <div class="modal-content">
  +		      <div class="modal-header">
  +		        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  +		        <h4 class="modal-title" id="EditLabel">编辑事件详情</h4>
  +		      </div>
  +		      <form action="edit.jsp" method="post">
  +		      <div class="modal-body">
  +		      		<input type="hidden" id="editworkid" name="editworkid">
  +				  <div class="form-group">
  +				    <label for="title">主题</label>
  +				    <input type="text" class="form-control" id="title" name="title" placeholder="主题">
  +				  </div>
  +				  <div class="form-group">
  +				    <label for="title">完成时间</label>
  +				    <input type="date" class="form-control" id="date" name="date" disabled>
  +				  </div>
  +		      </div>
  +		      <div class="modal-footer">
  +		        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
  +		        <button type="submit" class="btn btn-primary">保存修改</button>
  +		      </div>
  +		      </form>
  +		    </div>
  +		  </div>
  +</div>
  +<div class="modal fade" id="del" tabindex="-1" role="dialog" aria-labelledby="DelLabel">
  +  <div class="modal-dialog" role="document">
  +    <div class="modal-content">
  +      <div class="modal-header">
  +        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  +        <h4 class="modal-title" id="DelLabel">警告</h4>
  +      </div>
  +      <div class="modal-body">
  +        <p>删除后不可找回，确认删除？</p>
  +      </div>
  +      <div class="modal-footer">
  +      	<form action="del.jsp" method="post">
  +      		<input type="hidden" id="delworkid" name="delworkid" /> 
  +       		<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
  +        	<button type="submit" class="btn btn-danger">删除</button>
  +        </form>
  +      </div>
  +    </div>
  +  </div>
  +</div>
       <!-- Bootstrap core JavaScript
       ================================================== -->
       <!-- Placed at the end of the document so the pages load faster -->
  
positive.code:                   <td>X天后</td>
                    <td>
                    	<div class="btn-group" role="group" aria-label="...">
  					  <button type="button" class="btn btn-default btn-sm">编辑</button>
  					  <button type="button" class="btn btn-default btn-sm">删除</button>
  					
  					  <div class="btn-group" role="group">
  					    <button type="button" class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  					      优先级
  					      <span class="caret"></span>
  					    </button>
  
negative.code:     <script src="../../js/holder.min.js"></script>
      <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
      <script src="../../js/ie10-viewport-bug-workaround.js"></script>
       <script type="text/javascript">
      $(document).ready(function (){
      	$(".editbtn").click(function(){
      		$("#editworkid").attr("value",'');//清空内容
          	$("#editworkid").attr("value",$(this).attr("id"));//填充内容
      	});
      })
      $(document).ready(function (){
      	$(".delbtn").click(function(){
          	$("#delworkid").attr("value",'');//清空内容
          	$("#delworkid").attr("value",$(this).attr("id"));//填充内容
      	});
      })
      </script>
    </body>
  </html>
  <%}%>