m |
m |
||
(27 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> | <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" /> | <link rel="stylesheet" href="https://2016.igem.org/Team:Paris_Saclay/Notebook/cal-heatmapcss?action=raw&ctype=text/css" /> | ||
Line 12: | 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, | + | 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, | cellSize: 20, | ||
cellPadding: 5, | cellPadding: 5, | ||
domainGutter: 20, | 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 25: | 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"></div> | + | <div id="compl" style="affix"></div> |
<div id="main"> | <div id="main"> | ||
</html> | </html> |
Latest revision as of 12:47, 16 October 2016