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

m
m
 
(25 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 13: Line 14:
 
       subDomain: "x_day",
 
       subDomain: "x_day",
 
       subDomainTextFormat: "%d",
 
       subDomainTextFormat: "%d",
      tooltip: true,
 
      weekStartOnMonday: false,
 
 
       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: [1, 2, 3, 4, 5, 6, 7],
+
       legend: [2, 3, 4, 5, 6, 7, 8],
 +
      legendColors: {
 +
            min: "#FFE4E1",
 +
            max: "#8B008B",
 +
            empty: "#ededed",
 +
      },
 
       cellSize: 20,
 
       cellSize: 20,
 
       cellPadding: 5,
 
       cellPadding: 5,
Line 31: 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;
      }
 
      subDomainTextFormat: function(date, value) {
 
            return value;
 
 
       }
 
       }
 
   });
 
   });
 
</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