Team:WITS-CSIR SA/client/CalendarModel.js
From 2011.igem.org
(Difference between revisions)
(3 intermediate revisions not shown) | |||
Line 64: | Line 64: | ||
initialize: function () { | initialize: function () { | ||
this.months = new Months(null, { Year: this }); | this.months = new Months(null, { Year: this }); | ||
- | |||
- | |||
- | |||
- | |||
this.months.add(new Month({ name: 'June' })); | this.months.add(new Month({ name: 'June' })); | ||
this.months.add(new Month({ name: 'July' })); | this.months.add(new Month({ name: 'July' })); | ||
Line 153: | Line 149: | ||
var calendar = new Calendar(), week = null, month = null; | var calendar = new Calendar(), week = null, month = null; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
month = calendar.year.getMonth('june'); | month = calendar.year.getMonth('june'); | ||
- | week = new Week({ name: ' | + | week = new Week({ name: 'Wk 4' }); |
week.days.add(new Day({ name: 'Saturday', content: '<li>To obtain CheZ gene for later PCR reactions:</li>' + '<li>Standard PCR of CheZ from genomic DNA</li>' + '<li>Ran 1% gel – no PCR product --> try gradient PCR</li>' })); | week.days.add(new Day({ name: 'Saturday', content: '<li>To obtain CheZ gene for later PCR reactions:</li>' + '<li>Standard PCR of CheZ from genomic DNA</li>' + '<li>Ran 1% gel – no PCR product --> try gradient PCR</li>' })); | ||
Line 193: | Line 161: | ||
month = calendar.year.getMonth('june'); | month = calendar.year.getMonth('june'); | ||
- | week = new Week({ name: ' | + | week = new Week({ name: 'Wk 5' }); |
week.days.add(new Day({ name: 'Monday', content: '<li>Primer extension PCR of lox66 (Part:BBa_K537019) and lox71 (Part:BBa_K537020) - PCR product verified on 1% gel (worked)</li>' })); | week.days.add(new Day({ name: 'Monday', content: '<li>Primer extension PCR of lox66 (Part:BBa_K537019) and lox71 (Part:BBa_K537020) - PCR product verified on 1% gel (worked)</li>' })); | ||
week.days.add(new Day({ name: 'Tuesday', content: '<li>Gradient PCR of CheZ from genomic DNA: worked at all temperatures</li>' + '<li>Digested lox66(Part:BBa_K537019) and lox71(Part:BBa_K537020) --> ligated into the PSB1C3 backbone (Did not work) </li>' + '<li>Round one ThRS1-CheZ (Part:BBa_K537001), ThRS2-CheZ(Part:BBa_K537002), ThRS1-venus(Part:BBa_K537003) and ThRS2-venus(Part:BBa_K537004) standard PCR (ThRS1-venus(Part:BBa_K537003) did not work </li>' + '<li>Round one AtRS-CheZ (Part:BBa_K537000) standard PCR (Worked) </li>' + | week.days.add(new Day({ name: 'Tuesday', content: '<li>Gradient PCR of CheZ from genomic DNA: worked at all temperatures</li>' + '<li>Digested lox66(Part:BBa_K537019) and lox71(Part:BBa_K537020) --> ligated into the PSB1C3 backbone (Did not work) </li>' + '<li>Round one ThRS1-CheZ (Part:BBa_K537001), ThRS2-CheZ(Part:BBa_K537002), ThRS1-venus(Part:BBa_K537003) and ThRS2-venus(Part:BBa_K537004) standard PCR (ThRS1-venus(Part:BBa_K537003) did not work </li>' + '<li>Round one AtRS-CheZ (Part:BBa_K537000) standard PCR (Worked) </li>' + | ||
Line 217: | Line 185: | ||
month = calendar.year.getMonth('july'); | month = calendar.year.getMonth('july'); | ||
- | week = new Week({ name: ' | + | week = new Week({ name: 'Wk 1' }); |
week.days.add(new Day({ name: 'Friday', content: '<li>Second Round ThRS1-venus(Part:BBa_K537003) PCR (Worked) </li>' + | week.days.add(new Day({ name: 'Friday', content: '<li>Second Round ThRS1-venus(Part:BBa_K537003) PCR (Worked) </li>' + | ||
'<li>Second round AtRS-CheZ (Part:BBa_K537000) (Part:BBa_K537000) standard PCR (Did not work) </li>' + | '<li>Second round AtRS-CheZ (Part:BBa_K537000) (Part:BBa_K537000) standard PCR (Did not work) </li>' + | ||
Line 232: | Line 200: | ||
month.weeks.add(week); | month.weeks.add(week); | ||
- | week = new Week({ name: ' | + | week = new Week({ name: 'Wk 2' }); |
week.days.add(new Day({ name: 'Monday', content: '<li>Ligation of ThRS1-venus(Part:BBa_K537003) and ThRS2-venus(Part:BBa_K537004) (did not work) </li>' + | week.days.add(new Day({ name: 'Monday', content: '<li>Ligation of ThRS1-venus(Part:BBa_K537003) and ThRS2-venus(Part:BBa_K537004) (did not work) </li>' + | ||
'<li>Ligation of gel extracted AtRS-CheZ (Part:BBa_K537000), AtRS-mRFP1(Part:BBa_K537008) and mRFP1(Part:BBa_K537005) C-Fusion into pSB1C3 backbone (Did not work) – repeat tomorrow </li>' | '<li>Ligation of gel extracted AtRS-CheZ (Part:BBa_K537000), AtRS-mRFP1(Part:BBa_K537008) and mRFP1(Part:BBa_K537005) C-Fusion into pSB1C3 backbone (Did not work) – repeat tomorrow </li>' | ||
Line 256: | Line 224: | ||
- | week = new Week({ name: ' | + | week = new Week({ name: 'Wk 3' }); |
week.days.add(new Day({ name: 'Monday', content: '<li>Verified PCR products of AtRS-mRFP1(Part:BBa_K537008), AtRS-CheZ (Part:BBa_K537000) (Part:BBa_K537000) and AtRS-mRFP1(Part:BBa_K537008) on the 1% agarose and gel extracted the DNA</li>' + | week.days.add(new Day({ name: 'Monday', content: '<li>Verified PCR products of AtRS-mRFP1(Part:BBa_K537008), AtRS-CheZ (Part:BBa_K537000) (Part:BBa_K537000) and AtRS-mRFP1(Part:BBa_K537008) on the 1% agarose and gel extracted the DNA</li>' + | ||
'<li>Digested and column purified AtRS-mRFP1(Part:BBa_K537008), AtRS-CheZ (Part:BBa_K537000) (Part:BBa_K537000) and AtRS-mRFP1(Part:BBa_K537008)</li>' + | '<li>Digested and column purified AtRS-mRFP1(Part:BBa_K537008), AtRS-CheZ (Part:BBa_K537000) (Part:BBa_K537000) and AtRS-mRFP1(Part:BBa_K537008)</li>' + | ||
Line 268: | Line 236: | ||
month.weeks.add(week); | month.weeks.add(week); | ||
- | week = new Week({ name: ' | + | week = new Week({ name: 'Wk 4' }); |
week.days.add(new Day({ name: 'Monday', content: '<li>Overnight ligation of AtRS-mRFP1(Part:BBa_K537008), AtRS-CheZ (Part:BBa_K537000) (Part:BBa_K537000) and AtRS-mRFP1(Part:BBa_K537008) into pSB1C3 backbone</li>' })); | week.days.add(new Day({ name: 'Monday', content: '<li>Overnight ligation of AtRS-mRFP1(Part:BBa_K537008), AtRS-CheZ (Part:BBa_K537000) (Part:BBa_K537000) and AtRS-mRFP1(Part:BBa_K537008) into pSB1C3 backbone</li>' })); | ||
week.days.add(new Day({ name: 'Tuesday', content: '<li>Plasmid prep AtRS-CheZ (Part:BBa_K537000) (Part:BBa_K537000), RBS, strong promoter, double terminator and Cre recombinase</li>' + | week.days.add(new Day({ name: 'Tuesday', content: '<li>Plasmid prep AtRS-CheZ (Part:BBa_K537000) (Part:BBa_K537000), RBS, strong promoter, double terminator and Cre recombinase</li>' + | ||
Line 280: | Line 248: | ||
month.weeks.add(week); | month.weeks.add(week); | ||
- | week = new Week({ name: ' | + | week = new Week({ name: 'Wk 5' }); |
week.days.add(new Day({ name: 'Monday', content: '<li>Realised that colony growth of bacteria that was transformed with constructs in pSB1C3 is not very successful – colonies also take longer to grow on chloro plates</li>' + | week.days.add(new Day({ name: 'Monday', content: '<li>Realised that colony growth of bacteria that was transformed with constructs in pSB1C3 is not very successful – colonies also take longer to grow on chloro plates</li>' + | ||
'<li>To save time the team decided to clone (and later test) all composite machines in the pSB1A3 backbone – no outgrowth step is required before plating (after transformation of the ligations); colonies grow faster</li>' + | '<li>To save time the team decided to clone (and later test) all composite machines in the pSB1A3 backbone – no outgrowth step is required before plating (after transformation of the ligations); colonies grow faster</li>' + | ||
Line 299: | Line 267: | ||
month = calendar.year.getMonth('august'); | month = calendar.year.getMonth('august'); | ||
- | week = new Week({ name: ' | + | week = new Week({ name: 'Wk 1' }); |
week.days.add(new Day({ name: 'Monday', content: '<li>3A assembly of RBS and Cre-DT into pSB1C3</li>' | week.days.add(new Day({ name: 'Monday', content: '<li>3A assembly of RBS and Cre-DT into pSB1C3</li>' | ||
+ '<li>Colony PCR of ThRS1-CheZ (Part:BBa_K537001)-Venus(Part:BBa_K537006)</li>'})); | + '<li>Colony PCR of ThRS1-CheZ (Part:BBa_K537001)-Venus(Part:BBa_K537006)</li>'})); | ||
Line 312: | Line 280: | ||
month.weeks.add(week); | month.weeks.add(week); | ||
- | week = new Week({ name: ' | + | week = new Week({ name: 'Wk 2' }); |
week.days.add(new Day({ name: 'Monday', content: '<li>Plasmid prep ThRS-Venus-DT, RBS-Cre-DT, AtRS-mRFP1(Part:BBa_K537008) and AtRS-CheZ (Part:BBa_K537000) (Part:BBa_K537000)</li>' })); | week.days.add(new Day({ name: 'Monday', content: '<li>Plasmid prep ThRS-Venus-DT, RBS-Cre-DT, AtRS-mRFP1(Part:BBa_K537008) and AtRS-CheZ (Part:BBa_K537000) (Part:BBa_K537000)</li>' })); | ||
week.days.add(new Day({ name: 'Tuesday', content: '<li>Screening of ThRS-Venus-DT, RBS-Cre-DT, ThRS2- CheZ-Venus(Part:BBa_K537006)-DT and mRFP1(Part:BBa_K537005)-DT</li>' })); | week.days.add(new Day({ name: 'Tuesday', content: '<li>Screening of ThRS-Venus-DT, RBS-Cre-DT, ThRS2- CheZ-Venus(Part:BBa_K537006)-DT and mRFP1(Part:BBa_K537005)-DT</li>' })); | ||
Line 326: | Line 294: | ||
month.weeks.add(week); | month.weeks.add(week); | ||
- | week = new Week({ name: ' | + | week = new Week({ name: 'Wk 3' }); |
- | week.days.add(new Day({ name: 'Monday', content: '<li> | + | week.days.add(new Day({ name: 'Monday', content: '<li>Ligation of ThRS1-venus(Part:BBa_K537003)-DT, ThRS2-venus(Part:BBa_K537004)-DT, CheZ-Venus(Part:BBa_K537006)-DT, ThRS2-CheZ(Part:BBa_K537002)-Venus(Part:BBa_K537006)-DT, RBS-CheZ(Part:BBa_K537007)-mRFP1(Part:BBa_K537005)-DT and RBS-CheZ(Part:BBa_K537007)-Venus(Part:BBa_K537006)-DT into PSB1A3-strong promoter</li>' })); |
- | week.days.add(new Day({ name: 'Tuesday', content: '<li> | + | week.days.add(new Day({ name: 'Tuesday', content: '<li>Colony PCR of ThRS1-venus(Part:BBa_K537003)-DT, ThRS2-venus(Part:BBa_K537004)-DT, CheZ-Venus(Part:BBa_K537006)-DT, ThRS2-CheZ(Part:BBa_K537002)-Venus(Part:BBa_K537006)-DT, RBS-CheZ(Part:BBa_K537007)-mRFP1(Part:BBa_K537005)-DT and RBS-CheZ(Part:BBa_K537007)-Venus(Part:BBa_K537006)-DT containing pSB1A3-stong promter</li>' })); |
- | week.days.add(new Day({ name: 'Wednesday', content: '<li> | + | week.days.add(new Day({ name: 'Wednesday', content: '<li>Plasmid prep ThRS1-venus(Part:BBa_K537003)-DT, ThRS2-venus(Part:BBa_K537004)-DT ,ThRS1-CheZ (Part:BBa_K537001)-Venus(Part:BBa_K537006)-DT, ThRS2-CheZ(Part:BBa_K537002)-Venus(Part:BBa_K537006)-DT, RBS-CheZ(Part:BBa_K537007)-mRFP1(Part:BBa_K537005)-DT and RBS-CheZ(Part:BBa_K537007)-Venus-DT</li>' })); |
- | week.days.add(new Day({ name: 'Thursday', content: '<li> | + | week.days.add(new Day({ name: 'Thursday', content: '<li>PCR of the pSB1C3 and pSB1A3 </li>' + |
- | week.days.add(new Day({ name: 'Friday', content: '<li> | + | '<li>Midi prep ThRS1-venus(Part:BBa_K537003), ThRS2-CheZ(Part:BBa_K537002), ThRS1-venus(Part:BBa_K537003), ThRS2-venus(Part:BBa_K537004), Venus(Part:BBa_K537006) C-fusion and mRFP1(Part:BBa_K537005) (Did not work) </li>' })); |
- | week.days.add(new Day({ name: 'Saturday', content: '<li> | + | week.days.add(new Day({ name: 'Friday', content: '<li>Ligation of the AtRS-CheZ (Part:BBa_K537000) and AtRS-mRFP1(Part:BBa_K537008) into PSB1C3 backbone</li>' + '<li>Altered Midi prep protocol of ThRS1-venus(Part:BBa_K537003), ThRS2-CheZ(Part:BBa_K537002), ThRS1-venus(Part:BBa_K537003), ThRS2-venus(Part:BBa_K537004), Venus(Part:BBa_K537006) C-fusion and mRFP1(Part:BBa_K537005) (Did not work) </li>' })); |
- | week.days.add(new Day({ name: 'Sunday', content: '<li> | + | week.days.add(new Day({ name: 'Saturday', content: '<li>Screening of AtRS-mRFP1(Part:BBa_K537008), and AtRS-mRFP1(Part:BBa_K537008)</li>' })); |
+ | week.days.add(new Day({ name: 'Sunday', content: '<li>Plasmid-prep AtRS-CheZ (Part:BBa_K537000) and AtRS-mRFP1(Part:BBa_K537008)</li>' })); | ||
month.weeks.add(week); | month.weeks.add(week); | ||
- | week = new Week({ name: ' | + | week = new Week({ name: 'Wk 4' }); |
- | week.days.add(new Day({ name: 'Monday', content: '<li> | + | week.days.add(new Day({ name: 'Monday', content: '<li>-</li>' })); |
- | week.days.add(new Day({ name: 'Tuesday', content: '<li> | + | week.days.add(new Day({ name: 'Tuesday', content: '<li>Plasmid-prep AtRS-mRFP1(Part:BBa_K537008)</li>' })); |
- | week.days.add(new Day({ name: 'Wednesday', content: '<li> | + | week.days.add(new Day({ name: 'Wednesday', content: '<li>-</li>' })); |
- | week.days.add(new Day({ name: 'Thursday', content: '<li> | + | week.days.add(new Day({ name: 'Thursday', content: '<li>Venus Spectrum and flourometry timecourse experiments</li>' })); |
- | week.days.add(new Day({ name: 'Friday', content: '<li> | + | week.days.add(new Day({ name: 'Friday', content: '<li>Ligation AtRS-CheZ (Part:BBa_K537000)-DT and AtRS-mRFP1(Part:BBa_K537008)-DT</li>'+ '<li>Venus spectrum and fluorometry timecourse experiments</li>'+ |
- | week.days.add(new Day({ name: 'Saturday', content: '<li> | + | '<li>3A assembly of AtRS-CheZ (Part:BBa_K537000)-mRFP1(Part:BBa_K537005)</li>' })); |
- | week.days.add(new Day({ name: 'Sunday', content: '<li> | + | week.days.add(new Day({ name: 'Saturday', content: '<li>3A assembly of AtRS-CheZ (Part:BBa_K537000)-mRFP1(Part:BBa_K537005)</li>' + '<li>Preparation of the motility experiment: Dose dependent migration on semi-solid agar</li>' })); |
+ | week.days.add(new Day({ name: 'Sunday', content: '<li>Colony PCR of the AtRS-CheZ (Part:BBa_K537000)-DT and AtRS-CheZ (Part:BBa_K537000)-mRFP1(Part:BBa_K537005)-DT, AtRS-mRFP1(Part:BBa_K537008)-DT</li>' + | ||
+ | '<li>Plasmid Prep RBS and IPTG inducible promoter </li>' + '<li>Colony PCR of AtRS-CheZ (Part:BBa_K537000)-mRFP1(Part:BBa_K537005)</li>' + '<li>Motility experiment: Dose dependent migration on semi-solid agar</li>' })); | ||
month.weeks.add(week); | month.weeks.add(week); | ||
- | week = new Week({ name: ' | + | week = new Week({ name: 'Wk 5' }); |
- | week.days.add(new Day({ name: 'Monday', content: '<li> | + | week.days.add(new Day({ name: 'Monday', content: '<li>Plasmid prep AtRS-CheZ (Part:BBa_K537000)-mRFP1(Part:BBa_K537005)</li>' + '<li>PCR of Lox66(Part:BBa_K537019)-strong promoter-lox71(Part:BBa_K537020)</li>' + '<li>Fluorometry testing of ThRS1-CheZ (Part:BBa_K537001)-Venus(Part:BBa_K537006)-DT, ThRS2-CheZ(Part:BBa_K537002)-Venus(Part:BBa_K537006)-DT, Cre-DT and RBS-CheZ(Part:BBa_K537007)-Venus(Part:BBa_K537006)-DT</li>'+ '<li>Motility experiment: Dose dependent migration on semi-solid agar</li>' })); |
- | + | week.days.add(new Day({ name: 'Tuesday', content: '<li>Verification of PCR products of Lox66(Part:BBa_K537019)-strong promoter-lox71(Part:BBa_K537020)</li>' + '<li>Motility experiment: Dose dependent migration on semi-solid agar</li>' + '<li>Fluorometry result analysis</li>' })); | |
- | + | week.days.add(new Day({ name: 'Wednesday', content: '<li>Verification of PCR products of Lox66(Part:BBa_K537019)-strong promoter-lox71(Part:BBa_K537020)</li>' })); | |
- | week.days.add(new Day({ name: ' | + | |
- | + | ||
- | + | ||
- | week.days.add(new Day({ name: ' | + | |
month.weeks.add(week); | month.weeks.add(week); | ||
- | |||
- | |||
- | |||
month = calendar.year.getMonth('september'); | month = calendar.year.getMonth('september'); | ||
- | week = new Week({ name: ' | + | week = new Week({ name: 'Wk 1' }); |
- | week.days.add(new Day({ name: 'Friday', content: '<li> | + | week.days.add(new Day({ name: 'Thursday', content: '<li>PCR of Lox66(Part:BBa_K537019)-strong promoter-lox71(Part:BBa_K537020)</li>' + '<li>Fluorometry testing</li>' })); |
- | week.days.add(new Day({ name: 'Saturday', content: '<li> | + | week.days.add(new Day({ name: 'Friday', content: '<li>Digestion of all machines in pSB1A3 </li>'+ '<li>Fluorometry testing</li>' })); |
+ | week.days.add(new Day({ name: 'Saturday', content: '<li>Ligation of all digested parts in pSB1A3 into pSB1C3</li>' + '<li>Toggle switch construction (ligating RBS with Cre-DT ) </li>' })); | ||
+ | week.days.add(new Day({ name: 'Sunday', content: '<li>Screening all ligated parts in pSB1C3</li>'+ '<li>Toggle switch construction </li>' })); | ||
month.weeks.add(week); | month.weeks.add(week); | ||
- | week = new Week({ name: ' | + | week = new Week({ name: 'Wk 2' }); |
- | week.days.add(new Day({ name: 'Monday', content: '<li> | + | week.days.add(new Day({ name: 'Monday', content: '<li>Plasmid Prep AtRS-mRFP1(Part:BBa_K537008)-DT, RBS-Cre-DT and Pr-AtRS-mRFP1(Part:BBa_K537008)</li>'+ |
- | week.days.add(new Day({ name: 'Tuesday', content: '<li> | + | '<li>Colony PCR of RBS- Cre-DT and verification of the RBS- Cre-DT colony PCR products</li>'})); |
- | week.days.add(new Day({ name: 'Wednesday', content: '<li> | + | week.days.add(new Day({ name: 'Tuesday', content: '<li>Plasmid prep Lox66(Part:BBa_K537019)-SPr-lox71(Part:BBa_K537020)-ThRS1-venus(Part:BBa_K537003)(Part:BBa_K537003)-DT, Lox66(Part:BBa_K537019)-SPr-lox71(Part:BBa_K537020)-ThRS2-venus(Part:BBa_K537004)-DT, Lox66(Part:BBa_K537019)-SPr-lox71(Part:BBa_K537020)-ThRS1-CheZ (Part:BBa_K537001)-Venus(Part:BBa_K537006)-DT and Lox66(Part:BBa_K537019)-SPr-lox71(Part:BBa_K537020)-ThRS1-CheZ (Part:BBa_K537001)-Venus(Part:BBa_K537006)-DT, Lox66(Part:BBa_K537019)-SPr-lox71(Part:BBa_K537020)-RBS-Venus(Part:BBa_K537006)-DT , Lox66(Part:BBa_K537019)-SPr-lox71(Part:BBa_K537020)-AtRS-CheZ (Part:BBa_K537000)-mRFP1(Part:BBa_K537005)-DT and Lox66(Part:BBa_K537019)-SPr-lox71(Part:BBa_K537020)-RBS-CheZ(Part:BBa_K537007)-mRFP1(Part:BBa_K537005)-DT</li>'+ |
- | + | '<li>Toggle switch construction (Ligation of the IPTG inducible promoter with RBS-Cre-DT) </li>' })); | |
- | week.days.add(new Day({ name: ' | + | week.days.add(new Day({ name: 'Wednesday', content: '<li>Re-do Lox66(Part:BBa_K537019)-SPr-lox71(Part:BBa_K537020)-ThRS1-venus(Part:BBa_K537003)-DT, Lox66(Part:BBa_K537019)-SPr-lox71(Part:BBa_K537020)-ThRS2-venus(Part:BBa_K537004)-DT, Lox66(Part:BBa_K537019)-SPr-lox71(Part:BBa_K537020)-ThRS1-CheZ (Part:BBa_K537001)-Venus(Part:BBa_K537006)-DT and Lox66(Part:BBa_K537019)-SPr-lox71(Part:BBa_K537020)-ThRS1-CheZ (Part:BBa_K537001)-Venus(Part:BBa_K537006)-DT, Lox66(Part:BBa_K537019)-SPr-lox71(Part:BBa_K537020)-RBS-Venus(Part:BBa_K537006)-DT , Lox66(Part:BBa_K537019)-SPr-lox71(Part:BBa_K537020)-AtRS-CheZ (Part:BBa_K537000)-mRFP1-DT and Lox66(Part:BBa_K537019)-SPr-lox71(Part:BBa_K537020)-RBS-CheZ(Part:BBa_K537007)-mRFP1-DT</li>'+ |
- | week.days.add(new Day({ name: ' | + | '<li>Screening ligation of IPTG inducible promoter with RBS-Cre-DT</li>'+'<li>Preparation of the Capillary Assay</li>' })); |
- | week.days.add(new Day({ name: ' | + | week.days.add(new Day({ name: 'Thursday', content: '<li>Plasmid prep IPTG-RBS-Cre-DT, ThRS1-venus(Part:BBa_K537003), ThRS2-venus(Part:BBa_K537004), ThRS1-venus(Part:BBa_K537003)-DT, ThRS2-venus(Part:BBa_K537004)-DT, ThRS1-CheZ (Part:BBa_K537001)-Venus(Part:BBa_K537006), ThRS2-CheZ(Part:BBa_K537002)-Venus(Part:BBa_K537006), AtRS-mRFP1(Part:BBa_K537008)-DT, AtRS-CheZ (Part:BBa_K537000)-mRFP1(Part:BBa_K537005)-DT , RBS-mRFP1-DT and RBS-CheZ(Part:BBa_K537007)-mRFP1(Part:BBa_K537005)-DT</li>'+'<li>Capillary Assay</li>' })); |
+ | week.days.add(new Day({ name: 'Friday', content: '<li>Counting colonies from Capillary Assay</li>' })); | ||
+ | week.days.add(new Day({ name: 'Saturday', content: '<li>Capillary Assay analysis</li>' })); | ||
month.weeks.add(week); | month.weeks.add(week); | ||
- | week = new Week({ name: ' | + | week = new Week({ name: 'Wk 3' }); |
- | week.days.add(new Day({ name: 'Monday', content: '<li> | + | week.days.add(new Day({ name: 'Monday', content: '<li>Prepared some samples (machines) for shipment to the USA for submission</li>'+ |
- | + | '<li>Inoculated Amp broth with colonies off master plates of positive clones: parental CheZ deletion mutants; StrongPromoter-ThRS1-venus(Part:BBa_K537003)-DoubleTerminator; StrongPromoter-ThRS2-venus(Part:BBa_K537004)-DoubleTerminator --> for Fluorescence Microscopy at the CSIR tomorrow</li>' })); | |
- | + | week.days.add(new Day({ name: 'Tuesday', content: '<li>Epi-Fluorescence Microscopy imaging with samples: parental CheZ deletion mutants; StrongPromoter-ThRS1-venus(Part:BBa_K537003)-DoubleTerminator; StrongPromoter-ThRS2-venus(Part:BBa_K537004)-DoubleTerminator. Thank you to Robyn Brackin at the CSIR for all the help with these experiments!</li>' })); | |
- | + | week.days.add(new Day({ name: 'Wednesday', content: '<li>Processing of fluorescence images that were captured yesterday – using program “ImageJ.”</li>' })); | |
- | + | week.days.add(new Day({ name: 'Thursday', content: '<li>WE ARE DONE WITH LAB WORK!!! Yippeeeeee!!!</li>' })); | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | week.days.add(new Day({ name: 'Tuesday', content: '<li> | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | week.days.add(new Day({ name: ' | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | week.days.add(new Day({ name: 'Thursday', content: '<li> | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | |||
- | |||
month.weeks.add(week); | month.weeks.add(week); | ||
Latest revision as of 22:47, 21 September 2011
/// <reference path="../../js/lib/backbone.js" /> /// <reference path="../../js/lib/underscore.js" /> /// <reference path="../../js/lib/jlayout.border.js" /> /// <reference path="../../js/lib/jquery-1.5.1.min.js" /> /// <reference path="../../js/lib/jquery-ui-1.8.14.custom.min.js" /> /// <reference path="../../js/lib/jQuery.BlockUI.js" /> /// <reference path="../../js/lib/jquery.fling.js" /> /// <reference path="../../js/lib/jquery.jlayout.js" /> /// <reference path="../../js/lib/jquery.sizes.js" /> /// <reference path="../../js/lib/modernizr-1.7.min.js" /> /// <reference path="../../js/lib/sammy-latest.min.js" /> /// <reference path="../../js/common.js" />
$(function () {
var Day = Backbone.Model.extend({ name: null, content: null });
var Days = Backbone.Collection.extend({ initialize: function (models, options) { this.opts = options; }, hasContent: function () { return this.length > 0; } });
var Week = Backbone.Model.extend({ initialize: function () { this.days = new Days(null, { Week: this }); }, name: null, hasContent: function () { return this.days.hasContent(); } });
var Weeks = Backbone.Collection.extend({ initialize: function (models, options) { this.opts = options; }, hasContent: function () { for (var i = 0; i < this.length; i++) if (this.models[i].hasContent()) { return true; }
return false; } });
var Month = Backbone.Model.extend({ initialize: function () { this.weeks = new Weeks(null, { Month: this }); }, name: null, hasContent: function () { return this.weeks.hasContent(); } });
var Months = Backbone.Collection.extend({ initialize: function (models, options) { this.opts = options; } });
var Year = Backbone.Model.extend({ initialize: function () { this.months = new Months(null, { Year: this }); this.months.add(new Month({ name: 'June' })); this.months.add(new Month({ name: 'July' })); this.months.add(new Month({ name: 'August' })); this.months.add(new Month({ name: 'September' }));
}, year: null, getMonth: function (name) { var caller = this; var m = $.grep(caller.months.models, function (n, i) { return n.get('name').toLowerCase() == name.toLowerCase(); });
return m.length > 0 ? m[0] : null; }, hasContent: function () { return this.months.hasContent(); } });
var Calendar = Backbone.View.extend({ el: $('div.calendar'), initialize: function () { this.year = new Year({ year: 2011 });this.template = '
' +
'
' <% } %>' + ' <% }); %>' +' ' + ' | ' +
' ' +
' <% _.forEach(year.months.models, function(month) { %>' + ' <% if(month.hasContent()){ %>' + ' <div class="month <%= month.get(\'name\') %>" id="<%= month.get(\'name\') + \'_\' + month.cid %>">' +'
' <% }); %>' +' ' + ' <% _.forEach(month.weeks.models, function(week) { %>' + ' <div id="<%= month.get(\'name\') + \'_week_\' + week.cid %>">' + ' <% _.forEach(week.days.models, function(day) { %>' +' <%= day.get(\'name\') %>' +' <%= day.get(\'content\') %>' + ' <% }); %>' + ' </div>' + ' <% }); %>' + ' </div>' + ' <% } %>' + ' <% }); %>' +' | ' +
'