Changeset 1759 for extensions/net.sf.basedb.reggie/branches/ticket-422/resources/libprep/mrna_protocol.jsp
- Timestamp:
- Nov 30, 2012, 9:27:24 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/net.sf.basedb.reggie/branches/ticket-422/resources/libprep/mrna_protocol.jsp
r1745 r1759 53 53 setFatalError(msg); 54 54 } 55 } 55 56 var configurations = []; // TODO - get configurations by AJAX 57 var exportHtml = makeButton('Sample names for BA (csv) -- TODO', "goExport('SAMPLE_NAMES_BA')"); 58 for (var i = 0; i < configurations.length; i++) 59 { 60 var config = configurations[i]; 61 exportHtml += makeButton('Run parameters: '+config.name + ' (xml)', "goExport('"+config.id+"')"); 62 } 63 setInnerHTML('export', exportHtml); 64 65 } 66 67 function makeButton(title, onClick) 68 { 69 var btn = ''; 70 btn += '<span class="link" onclick="'+onClick+'">'; 71 btn += '<img src="../images/export.png"> '; 72 btn += title+'</span><br>\n'; 73 return btn; 74 } 75 56 76 57 77 function getMRnaBioPlates() … … 89 109 frm.view.value = type; 90 110 frm.submit(); 91 92 } 93 } 111 } 112 } 113 114 function goExport(exporter) 115 { 116 var frm = document.forms['reggie']; 117 if (frm.bioplate && !frm.bioplate.disabled) 118 { 119 alert('Not implemented'); 120 } 121 } 122 94 123 </script> 95 124 … … 139 168 </tr> 140 169 <tr valign="top"> 141 <td class="prompt"> Create protocol</td>170 <td class="prompt">Lab protocols</td> 142 171 <td class="input" id="protocol" style="white-space: nowrap; line-height: 1.5em;"> 143 172 <span class="link" onclick="viewProtocol('list')"><img src="../images/listview.png"> List layout</span><br> … … 148 177 The 'list layout' generates a table with one row for each well on the work plate. 149 178 The 'plate layout' generates a grid with wells arranged according to row and column coordinates. 179 </td> 180 </tr> 181 <tr valign="top"> 182 <td class="prompt">Export files</td> 183 <td class="input" id="export" style="white-space: nowrap; line-height: 1.5em;"> 184 TODO 185 </td> 186 <td class="status" id="export.status"></td> 187 <td class="help"><span id="protocol.message" class="message" style="display: none;"></span> 188 Select what to export. Typically, you'll need the .... files. 150 189 </td> 151 190 </tr>
Note: See TracChangeset
for help on using the changeset viewer.