|
|
Line 99: |
Line 99: |
| }); | | }); |
| </script> | | </script> |
− |
| |
− | <body>
| |
− | <div id ="wiki-content" class="main-content">
| |
− |
| |
− | <div class="well">
| |
− | <div class="container">
| |
− |
| |
− | <h1>Calendar</h1>
| |
− |
| |
− | <div id="cal-heatmap">
| |
− | <script type="text/javascript">
| |
− | var cal = new CalHeatMap();
| |
− | cal.init({
| |
− | domain: "month",
| |
− | subDomain: "x_day",
| |
− | data: "https://2014.igem.org/Team:Tec-Monterrey/ITESM14_notebook_data.json?action=raw&ctype=text/html",
| |
− | start: new Date(2014, 5),
| |
− | cellSize: 20,
| |
− | cellPadding: 5,
| |
− | domainGutter: 20,
| |
− | range: 5,
| |
− | legend: [2, 4, 6, 8],
| |
− | legendColors: ["#FFE6FF", "#FF0060"],
| |
− | onClick: function(date, count) {
| |
− | var month = date.getMonth() + 1;
| |
− | var day = date.getDate();
| |
− | var pid = "date-" + month + "-" + day;
| |
− | $("#myid").load("https://2014.igem.org/Team:Tec-Monterrey/ITESM14_notebook_data.html #" + pid);
| |
− | }
| |
− | });
| |
− | </script>
| |
− | </div>
| |
− |
| |
− | <div id="myid">
| |
− | </div>
| |
− |
| |
− |
| |
− |
| |
− | </div>
| |
− | </div>
| |
− | </div>
| |
− |
| |
− | </body>
| |
| | | |
| </html> | | </html> |
| | | |
| {{BOKU-Vienna-footer}} | | {{BOKU-Vienna-footer}} |