(Created page with "{{Paris_Saclay}}") |
m |
||
(40 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Paris_Saclay}} | {{Paris_Saclay}} | ||
+ | <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> | ||
+ | <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", | ||
+ | subDomainTextFormat: "%d", | ||
+ | start: new Date(2016, 5), | ||
+ | minDate: new Date(2016, 5), | ||
+ | maxDate: new Date(2016, 9), | ||
+ | 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", | ||
+ | |||
+ | highlight: new Date(2000, 0, 1), | ||
+ | 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> | ||
+ | <div id="compl" style="affix"></div> | ||
+ | <div id="main"> | ||
+ | </html> |
Latest revision as of 12:47, 16 October 2016