<%@page contentType="text/html;charset=UTF-8"%>
<%@include file="/taglibs.jsp"%>
<%pageContext.setAttribute("currentHeader", "scope");%>
<%pageContext.setAttribute("currentMenu", "workcal");%>
<!doctype html>
<html lang="en">

  <head>
    <%@include file="/common/meta.jsp"%>
    <title>工作日历</title>
    <%@include file="/common/s3.jsp"%>

	<script type="text/javascript" src="${cdnPrefix}/public/mossle-workcal/0.0.6/WorkCalendar.js"></script>
    <script type="text/javascript">
$(function() {
	var workCalendar = new WorkCalendar(${param.year});
	workCalendar.render('#m-main');
	workCalendar.activeByWeek(${weeks});
	workCalendar.markHolidays(${holidays});
	workCalendar.markWorkdays(${workdays});
	workCalendar.markExtrdays(${extrdays});
	workCalendar.markNow();
});
    </script>
  </head>

  <body>
    <%@include file="/header/workcal.jsp"%>

    <div class="row-fluid">
	  <%@include file="/menu/workcal.jsp"%>

	  <!-- start of main -->
      <section id="m-main" class="col-md-10" style="padding-top:65px;">

      </section>
	  <!-- end of main -->
	</div>

  </body>

</html>
