Template:Team:Paris Saclay/notebook header

<script type="text/javascript">

  var cal = new CalHeatMap();
  var months = ["January", "February", "March", "April", "May, ", "June", "July", "August", "September", "October", "November", "December"];
  cal.init({
     domain: "month",
     subDomain: "x_day",
     start: new Date(2016, 5),
     minDate: new Date(2016, 5),
     maxDate: new Date(2016, 8),
     range: 4,
     data: "https://2016.igem.org/Team:Paris_Saclay/Notebook/calendar-datajson?action=raw",
     onClick: function(date, count) {
           var month = months[date.getMonth()];
           var day = date.getDate();
           var pid = month + "/" + day;
           window.location.href = "https://2016.igem.org/Team:Paris_Saclay/Notebook/" + pid;
         }
  });

</script>