comment out large section of breeding program details - this info should be on the...
[sgn.git] / mason / breeders_toolbox / manage_upload.mas
blobbfd6be3cc9189ca9d10de7147c716050f27ccb5b
1 <%args>
2 $locations
3 $geojson_locations
4 $breeding_programs
5 $timestamp
6 $preferred_species => ""
7 $editable_stock_props => {}
8 $editable_stock_props_definitions => {}
9 $facilities => ()
10 $management_factor_types => ()
11 $design_types => ()
12 </%args>
14 <& /util/import_javascript.mas, classes => [ 'bootstrap_min.js', 'jquery.iframe-post-form','CXGN.List', 'CXGN.BreedersToolbox.AddTrial','CXGN.BreedersToolbox.UploadTrial','CXGN.BreedersToolbox.Trial', 'CXGN.Trial','CXGN.BreedersToolbox.GenotypingTrial','CXGN.BreedersToolbox.Accessions', 'CXGN.BreedersToolbox.UploadPedigrees','CXGN.BreedersToolbox.Crosses','CXGN.BreedersToolbox.FieldBook','CXGN.BreedersToolbox.UploadPhenotype', 'CXGN.BreederSearch', 'CXGN.Trial','CXGN.TrialTreeFolders' ] &>
16 <& /page/page_title.mas, title=>"Upload Data" &>
18 <style>
19 .ui-autocomplete {
20     z-index: 5000;
22 </style>
24 <div class="container-fluid">
26 <div class="well well-sm">
27 <h1>Traits</h1><br/>
28 <table class="table table-bordered">
29 <thead>
30 <tr><th>Add</th><th>Manage</th><th>Search</th></tr>
31 </thead>
32 <tbody>
33 <tr>
34 <td>
35 <a href="http://submit.rtbbase.org"><p>Go To Trait Request Form</p></a>
36 </td>
37 <td>
38 <a href="/tools/onto"><p>Go To Ontology Browser</p></a>
39 </td>
40 <td>
41 <a href="/search/traits"><p>Go To Trait Search</p></a>
42 </td>
43 </tr>
44 </tbody>
45 </table>
46 </div>
48 <div class="well well-sm">
49 <h1>Field Trials</h1><br/>
50 <table class="table table-bordered">
51 <thead>
52 <tr><th>Add</th><th>Manage</th><th>Search</th></tr>
53 </thead>
54 <tbody>
55 <tr>
56 <td>
57 <a name="upload_trial_link"><p>Upload An Existing Trial</p></a>
58 <a id="add_project_link"><p>Design A New Trial</p></a>
59 </td>
60 <td>
61 <a href="/breeders/trials"><p>Go To Manage Trials</p></a>
62 </td>
63 <td>
64 <a href="/search/trials"><p>Go To Trial Search</p></a>
65 </td>
66 </tr>
67 </tbody>
68 </table>
69 </div>
70 <& /breeders_toolbox/trial/trial_create_dialogs.mas, locations => $geojson_locations, breeding_programs => $breeding_programs, management_factor_types => $management_factor_types, design_types => $design_types &>
71 <& /breeders_toolbox/trial/trial_upload_dialogs.mas, locations => $geojson_locations, breeding_programs => $breeding_programs, design_types => $design_types &>
73 <div class="well well-sm">
74 <h1>Genotyping Plates</h1><br/>
75 <table class="table table-bordered">
76 <thead>
77 <tr><th>Add</th><th>Manage</th><th>Search</th></tr>
78 </thead>
79 <tbody>
80 <tr>
81 <td>
82 <a name="create_genotyping_trial_link"><p>Create An IGD Genotyping Plate</p></a>
83 </td>
84 <td>
85 <a href="/breeders/genotyping"><p>Go To Manage Genotyping Plates</p></a>
86 </td>
87 <td>
88 <a href="/search/trials"><p>Go To Trial Search</p></a>
89 </td>
90 </tr>
91 </tbody>
92 </table>
93 </div>
94 <& /breeders_toolbox/genotyping_trials/create_genotyping_trial_dialogs.mas, facilities => $facilities &>
96 <div class="well well-sm">
97 <h1>Locations</h1><br/>
98 <table class="table table-bordered">
99 <thead>
100 <tr><th>Add</th><th>Manage</th><th>Search</th></tr>
101 </thead>
102 <tbody>
103 <tr>
104 <td>
105 <a id="upload_locations_link"><p>Upload Many New Locations</p></a>
106 </td>
107 <td>
108 <a href="/breeders/locations"><p>Go To Manage Locations</p></a>
109 </td>
110 <td>
111 <a href="/breeders/locations"><p>Go To Manage Locations</p></a>
112 </td>
113 </tr>
114 </tbody>
115 </table>
116 </div>
117 <& /breeders_toolbox/upload_locations_dialogs.mas &>
119 <div class="well well-sm">
120 <h1>Accessions</h1><br/>
121 <table class="table table-bordered">
122 <thead>
123 <tr><th>Add</th><th>Manage</th><th>Search</th></tr>
124 </thead>
125 <tbody>
126 <tr>
127 <td>
128 <a name="add_accessions_link"><p>Add Accessions Using List</p></a>
129 </td>
130 <td>
131 <a href="/breeders/accessions"><p>Go To Manage Accessions Page</p></a>
132 </td>
133 <td>
134 <a href="/search/stocks"><p>Go To Accessions Search</p></a>
135 </td>
136 </tr>
137 </tbody>
138 </table>
139 </div>
140 <& /breeders_toolbox/add_accessions_dialogs.mas, preferred_species=>$preferred_species, editable_stock_props=>$editable_stock_props, editable_stock_props_definitions=>$editable_stock_props_definitions &>
142 <div class="well well-sm">
143 <h1>Populations</h1><br/>
144 <table class="table table-bordered">
145 <thead>
146 <tr><th>Add</th><th>Manage</th><th>Search</th></tr>
147 </thead>
148 <tbody>
149 <tr>
150 <td>
151 <a id="manage_accessions_populations_new"><p>Add New Population</p></a>
152 </td>
153 <td>
154 <a href="/breeders/accessions"><p>Go To Manage Accessions Page</p></a>
155 </td>
156 <td>
157 <a href="/search/stocks"><p>Go To Stock Search</p></a>
158 </td>
159 </tr>
160 </tbody>
161 </table>
162 </div>
163 <& /breeders_toolbox/manage_populations_dialogs.mas &>
166 <div class="well well-sm">
167 <h1>Seedlots</h1><br/>
168 <table class="table table-bordered">
169 <thead>
170 <tr><th>Add</th><th>Manage</th><th>Search</th></tr>
171 </thead>
172 <tbody>
173 <tr>
174 <td>
175 <a name="seedlot_bulk_upload"><p>Upload Many Seedlots</p></a>
176 <a name="add_seedlot_button"><p>Add A Seedlot</p></a>
177 </td>
178 <td>
179 <a href="/breeders/seedlots"><p>Go To Manage Seedlots Page</p></a>
180 </td>
181 <td>
182 <a href="/breeders/seedlots"><p>Go To Manage Seedlots Page</p></a>
183 </td>
184 </tr>
185 </tbody>
186 </table>
187 </div>
188 <& /breeders_toolbox/upload_seedlots_dialogs.mas &>
189 <& /breeders_toolbox/add_seedlot_dialogs.mas, timestamp=>$timestamp &>
191 <div class="well well-sm">
192 <h1>Pedigrees</h1><br/>
193 <table class="table table-bordered">
194 <thead>
195 <tr><th>Add</th><th>Manage</th><th>Search</th></tr>
196 </thead>
197 <tbody>
198 <tr>
199 <td>
200 <a id="upload_pedigrees_link"><p>Upload Many Pedigrees</p></a>
201 </td>
202 <td>
203 <a href="/breeders/accessions"><p>Go To Manage Accessions Page</p></a>
204 </td>
205 <td>
206 <a href="/search/cross"><p>Go To Search Crosses</p></a>
207 </td>
208 </tr>
209 </tbody>
210 </table>
211 </div>
212 <& /breeders_toolbox/upload_pedigrees_dialogs.mas &>
214 <div class="well well-sm">
215 <h1>Crosses</h1><br/>
216 <table class="table table-bordered">
217 <thead>
218 <tr><th>Plan</th><th>Add</th><th>Manage</th><th>Search</th></tr>
219 </thead>
220 <tbody>
221 <tr>
222 <td>
223 <a id="create_cross_wishlist" >Create Cross Wishlist</a>
224 </td>
225 <td>
226 <a name="upload_crosses_link"><p>Upload Many New Crosses</p></a>
227 <a name="create_cross_link"><p>Add A Cross</p></a>
228 <a name="upload_cross_info"><p>Upload Cross Info of Existing Crosses</p></a>
229 <a name="upload_progenies_new_accessions_link"><p>Upload progeny names that are NOT in database</p></a>
230 <a name="upload_progenies_existing_accessions_link"><p>Upload progeny names that already EXIST in database</p></a>
231 <a name="upload_family_names_link"><p>Upload Family Names</p></a>
232 </td>
233 <td>
234 <a href="/breeders/crosses"><p>Go To Manage Crosses Page</p></a>
235 </td>
236 <td>
237 <a href="/search/cross"><p>Go To Search Crosses</p></a>
238 </td>
239 </tr>
240 </tbody>
241 </table>
242 </div>
243 <& /breeders_toolbox/cross/cross_wishlist.mas &>
244 <& /breeders_toolbox/cross/add_cross_dialogs.mas, programs=>$breeding_programs, locations=>$geojson_locations &>
245 <& /breeders_toolbox/cross/upload_crosses_dialogs.mas, programs=>$breeding_programs, locations=>$geojson_locations &>
246 <& /breeders_toolbox/cross/upload_update_crosses.mas &>
247 <& /breeders_toolbox/cross/add_progenies_dialogs.mas &>
249 <div class="well well-sm">
250 <h1>Phenotypes</h1><br/>
251 <table class="table table-bordered">
252 <thead>
253 <tr><th>Collection</th><th>Add</th><th>Manage</th><th>Search</th></tr>
254 </thead>
255 <tbody>
256 <tr>
257 <td>
258 <a name="create_fieldbook_link"><p>Create Fieldbook Layout File</p></a>
259 <a id="create_new_trait_file_link"><p>Create Fieldbook Trait File</p></a>
260 <a name="create_spreadsheet_link"><p>Create Phenotyping Spreadsheet</p></a>
261 </td>
262 <td>
263 <a id="upload_fieldbook_phenotypes_link"><p>Upload Fieldbook Database File</p></a>
264 <a id="upload_spreadsheet_phenotypes_link"><p>Upload Phenotyping Spreadsheet</p></a>
265 </td>
266 <td>
267 <a href="/breeders/phenotyping"><p>Go To Manage Phenotypes Page</p></a>
268 </td>
269 <td>
270 <a href="/breeders/search"><p>Go To Search Wizard</p></a>
271 </td>
272 </tr>
273 </tbody>
274 </table>
275 </div>
276 <& /fieldbook/create_fieldbook_dialog.mas &>
277 <& /fieldbook/create_trait_file_dialog.mas &>
278 <& /fieldbook/upload_phenotype_fieldbook.mas &>
279 <& /breeders_toolbox/upload_phenotype_spreadsheet.mas &>
280 <& /breeders_toolbox/trial/create_spreadsheet_dialog.mas &>
282 </div>