Team:WITS-CSIR SA/Scrapbook/Calendar

From 2011.igem.org

(Difference between revisions)
Line 63: Line 63:
<div class="padding">
<div class="padding">
-
<ul>
+
<div class="calendar" style="width:50%;">
-
   <li><a href="https://2011.igem.org/Team:WITS-CSIR SA/Scrapbook/Calendar/01_07-05-2011">May 01 - 07</a></li>
+
    Loading ...
-
   <li><a href="https://2011.igem.org/Team:WITS-CSIR SA/Scrapbook/Calendar/08_14-05-2011">May 08 - 14</a></li>
+
   </div>
-
   <li><a href="https://2011.igem.org/Team:WITS-CSIR SA/Scrapbook/Calendar/15_14-21-2011">May 15 - 21</a></li>
+
 
-
   <li><a href="https://2011.igem.org/Team:WITS-CSIR SA/Scrapbook/Calendar/22_28-05-2011">May 22 - 28</a></li>
+
  <script type="text/html" id="tmplCalendar">
-
</ul>
+
  <div class="months ui-corner-all">
 +
    <% _.each(Months, function(month){ %>
 +
    <a href="#"><%= month.Name %></a>
 +
    <% }); %>
 +
   </div>
 +
  <div class="weeks">
 +
  </div>
 +
  </script>
 +
 
 +
   <script type="text/html" id="tmplWeeks">
 +
  <% _.each(Weeks, function(week){ %>
 +
  <h3><a href="#"><%= week.Name %></a></h3>
 +
   <div class="content">
 +
    <% _.each(week.Days, function(day){
 +
        if(day.Text != '' && day.Text != null){
 +
    %>
 +
    <h2><%= day.Name %></h2>
 +
    <p>
 +
      <%= day.Text %>
 +
    </p>
 +
    <% }}); %>
 +
  </div>
 +
  <% }); %>
 +
  </script>
 +
 
 +
  <script type="text/javascript">
 +
    $(function(){
 +
      $('div.calendar').AccordionCalendar();
 +
    });
 +
  </script>
</div>
</div>

Revision as of 14:00, 15 May 2011

Calendar

Loading ...