Difference between revisions of "Template:Team:Paris Saclay/notebook header"

m
 
(38 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Paris_Saclay}}
 
{{Paris_Saclay}}
 
<html>
 
<html>
 +
<style>header{background-image: url("https://static.igem.org/mediawiki/2016/8/8f/T--Paris_Saclay--banniere_project.jpg");}</style>
 +
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js" charset="utf-8"></script>
 +
<link rel="stylesheet" href="https://2016.igem.org/Team:Paris_Saclay/Notebook/cal-heatmapcss?action=raw&ctype=text/css" />
 +
<script src="https://2016.igem.org/Team:Paris_Saclay/Notebook/cal-heatmapminjs?action=raw&ctype=text/javascript"></script>
 +
 
<div id="cal-heatmap"></div>
 
<div id="cal-heatmap"></div>
 
<script type="text/javascript">
 
<script type="text/javascript">
Line 8: Line 13:
 
       domain: "month",
 
       domain: "month",
 
       subDomain: "x_day",
 
       subDomain: "x_day",
 +
      subDomainTextFormat: "%d",
 
       start: new Date(2016, 5),
 
       start: new Date(2016, 5),
 
       minDate: new Date(2016, 5),
 
       minDate: new Date(2016, 5),
       maxDate: new Date(2016, 8),
+
       maxDate: new Date(2016, 9),
       range: 4,
+
       range: 5,
 +
      legend: [2, 3, 4, 5, 6, 7, 8],
 +
      legendColors: {
 +
            min: "#FFE4E1",
 +
            max: "#8B008B",
 +
            empty: "#ededed",
 +
      },
 +
      cellSize: 20,
 +
      cellPadding: 5,
 +
      domainGutter: 20,
 
       data: "https://2016.igem.org/Team:Paris_Saclay/Notebook/calendar-datajson?action=raw",
 
       data: "https://2016.igem.org/Team:Paris_Saclay/Notebook/calendar-datajson?action=raw",
 +
 +
      highlight: new Date(2000, 0, 1),
 
       onClick: function(date, count) {
 
       onClick: function(date, count) {
 
             var month = months[date.getMonth()];
 
             var month = months[date.getMonth()];
Line 18: Line 35:
 
             var pid = month + "/" + day;
 
             var pid = month + "/" + day;
 
             window.location.href = "https://2016.igem.org/Team:Paris_Saclay/Notebook/" + pid;
 
             window.location.href = "https://2016.igem.org/Team:Paris_Saclay/Notebook/" + pid;
          }
+
      }
 
   });
 
   });
 
</script>
 
</script>
 +
<div id="compl" style="affix"></div>
 +
<div id="main">
 
</html>
 
</html>

Latest revision as of 12:47, 16 October 2016