Merge pull request #5248 from solgenomics/topic/batch_update_trials
[sgn.git] / mason / help / workflow_guided / begin.mas
blob0692cc26dbf98b504f78e6cc57ae2e7f37221145
1 <%args>
2 $breeding_programs
3 $locations
4 $preferred_species
5 $editable_stock_props => {}
6 $editable_stock_props_definitions => {}
7 $timestamp
8 $facilities => ()
9 $management_factor_types => ()
10 $design_types => ()
11 </%args>
14 <& /util/import_javascript.mas, classes => [ 'CXGN.GuidedHelp','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 <div class="panel panel-default">
17     <div class="panel-body">
18         <& /page/page_title.mas, title=>"New to the database?" &>
20         <center>
21         <button class="btn btn-primary btn-block" id="guided_help_begin_button">Let us help!<br/>Click this button to begin our guided help.</button>
22         </center>
23     </div>
24 </div>
26 <div class="modal fade" id="guided_help_begin_dialog" name="guided_help_begin_dialog" tabindex="-1" role="dialog" aria-labelledby="guidedHelpBeginDialog">
27     <div class="modal-dialog modal-xl" role="document">
28         <div class="modal-content">
29             <div class="modal-header" style="text-align: center">
30                 <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
31                 <h4 class="modal-title" id="guidedHelpBeginDialog">What are you interested in? <a href="https://solgenomics.github.io/sgn">For General Help</a></h4>
32             </div>
33             <div class="modal-body">
34                 <div class="container-fluid">
35                     <div class="row">
36                         <div class="col-sm-6">
37                             <div class="well">
38                                 <div class="row">
39                                     <div class="col-sm-3">
40                                         <span style="font-size:2.5em;" class="glyphicon glyphicon-cloud-upload"></span>
41                                     </div>
42                                     <div class="col-sm-7">
43                                         <h4>Upload an experimental field trial into the database that you have saved on your computer in Excel</h4>
44                                     </div>
45                                     <div class="col-sm-2">
46                                         <button name="upload_trial_link" class="btn btn-primary btn-sm">Go</button>
47                                     </div>
48                                 </div>
49                             </div>
50                         </div>
51                         <div class="col-sm-6">
52                             <div class="well">
53                                 <div class="row">
54                                     <div class="col-sm-3">
55                                         <span style="font-size:2.5em;" class="glyphicon glyphicon glyphicon-flash"></span>
56                                     </div>
57                                     <div class="col-sm-7">
58                                         <h4>Design a completely new experimental field trial in the database</h4>
59                                     </div>
60                                     <div class="col-sm-2">
61                                         <button id="add_project_link" class="btn btn-primary btn-sm">Go</button>
62                                     </div>
63                                 </div>
64                             </div>
65                         </div>
66                     </div>
67                     <div class="row">
68                         <div class="col-sm-6">
69                             <div class="well">
70                                 <div class="row">
71                                     <div class="col-sm-3">
72                                         <span style="font-size:2.5em;" class="glyphicon glyphicon-list-alt"></span>
73                                     </div>
74                                     <div class="col-sm-7">
75                                         <h4>Catalog your available seed inventory into the database</h4>
76                                     </div>
77                                     <div class="col-sm-2">
78                                         <button id="guided_help_seedlot_inventory_button" class="btn btn-primary btn-sm">Go</button>
79                                     </div>
80                                 </div>
81                             </div>
82                         </div>
83                         <div class="col-sm-6">
84                             <div class="well">
85                                 <div class="row">
86                                     <div class="col-sm-3">
87                                         <span style="font-size:2.5em;" class="glyphicon glyphicon-book"></span>
88                                     </div>
89                                     <div class="col-sm-7">
90                                         <h4>Upload phenotypic data into the database that you have saved on your computer in Excel</h4>
91                                     </div>
92                                     <div class="col-sm-2">
93                                         <button id="guided_help_upload_phenotypes_button" class="btn btn-primary btn-sm">Go</button>
94                                     </div>
95                                 </div>
96                             </div>
97                         </div>
98                     </div>
99                     <div class="row">
100                         <div class="col-sm-6">
101                             <div class="well">
102                                 <div class="row">
103                                     <div class="col-sm-3">
104                                         <span style="font-size:2.5em;" class="glyphicon glyphicon-flag"></span>
105                                     </div>
106                                     <div class="col-sm-7">
107                                         <h4>Plan tissue sampling</h4>
108                                     </div>
109                                     <div class="col-sm-2">
110                                         <button name="tissue_sample_guided_help" class="btn btn-primary btn-sm">Go</button>
111                                     </div>
112                                 </div>
113                             </div>
114                         </div>
115                         <div class="col-sm-6">
116                             <div class="well">
117                                 <div class="row">
118                                     <div class="col-sm-3">
119                                         <span style="font-size:2.5em;" class="glyphicon glyphicon-random"></span>
120                                     </div>
121                                     <div class="col-sm-7">
122                                         <h4>Upload crosses and crossing information into the database</h4>
123                                     </div>
124                                     <div class="col-sm-2">
125                                         <button name="upload_crosses_link" class="btn btn-primary btn-sm">Go</button>
126                                     </div>
127                                 </div>
128                             </div>
129                         </div>
130                     </div>
131                     <div class="row">
132                         <div class="col-sm-6">
133                             <div class="well">
134                                 <div class="row">
135                                     <div class="col-sm-3">
136                                         <span style="font-size:2.5em;" class="glyphicon glyphicon-tags"></span>
137                                     </div>
138                                     <div class="col-sm-7">
139                                         <h4>Print barcode labels for my experiment (for your plots or plants or tissue samples in the field, or for your 96 well plate and tissue samples)</h4>
140                                     </div>
141                                     <div class="col-sm-2">
142                                         <button id="guided_help_barcode_trial_button" class="btn btn-primary btn-sm">Go</button>
143                                     </div>
144                                 </div>
145                             </div>
146                         </div>
147                         <div class="col-sm-6">
148                             <div class="well">
149                                 <div class="row">
150                                     <div class="col-sm-3">
151                                         <span style="font-size:2.5em;" class="glyphicon glyphicon-blackboard"></span>
152                                     </div>
153                                     <div class="col-sm-7">
154                                         <h4>Analyze phenotypic performance across trials</h4>
155                                     </div>
156                                     <div class="col-sm-2">
157                                         <button id="guided_help_trial_comparison_button" class="btn btn-primary btn-sm">Go</button>
158                                     </div>
159                                 </div>
160                             </div>
161                         </div>
162                     </div>
163                     <div class="row">
164                         <div class="col-sm-6">
165                             <div class="well">
166                                 <div class="row">
167                                     <div class="col-sm-3">
168                                         <span style="font-size:2.5em;" class="glyphicon glyphicon-th"></span>
169                                     </div>
170                                     <div class="col-sm-7">
171                                         <h4>Prepare a 96 or 384 well plate for a genotyping experiment</h4>
172                                     </div>
173                                     <div class="col-sm-2">
174                                         <button name="create_genotyping_trial_link" class="btn btn-primary btn-sm">Go</button>
175                                     </div>
176                                 </div>
177                             </div>
178                         </div>
179                         <div class="col-sm-6">
180                             <div class="well">
181                                 <div class="row">
182                                     <div class="col-sm-3">
183                                         <span style="font-size:2.5em;" class="glyphicon glyphicon-map-marker"></span>
184                                     </div>
185                                     <div class="col-sm-7">
186                                         <h4>Upload VCF genotypic data</h4>
187                                     </div>
188                                     <div class="col-sm-2">
189                                         <button name="upload_genotyping_data_link" class="btn btn-primary btn-sm">Go</button>
190                                     </div>
191                                 </div>
192                             </div>
193                         </div>
194                     </div>
195                 </div>
196             </div>
197             <div class="modal-footer">
198                 <button id="close_guided_help_begin_dialog" type="button" class="btn btn-default" data-dismiss="modal">Close</button>
199             </div>
200         </div>
201     </div>
202 </div>
204 <& /help/workflow_guided/tissue_sample_help.mas &>
206 <& /help/workflow_guided/seedlot_inventory_modal.mas, timestamp=>$timestamp &>
207 <& /help/workflow_guided/phenotype_upload_modal.mas &>
208 <& /help/workflow_guided/trial_barcoding_modal.mas &>
209 <& /help/workflow_guided/trial_comparison_modal.mas &>
211 <& /breeders_toolbox/trial/trial_upload_dialogs.mas, breeding_programs=>$breeding_programs, locations=>$locations, design_types => $design_types &>
212 <& /breeders_toolbox/trial/trial_create_dialogs.mas, locations => $locations, breeding_programs => $breeding_programs, management_factor_types => $management_factor_types, design_types => $design_types &>
214 <& /breeders_toolbox/genotyping_trials/upload_genotyping_data_dialogs.mas, facilities=>$facilities &>
215 <& /breeders_toolbox/genotyping_trials/create_genotyping_trial_dialogs.mas, facilities=>$facilities &>
217 <& /breeders_toolbox/upload_seedlots_inventory_dialogs.mas &>
218 <& /breeders_toolbox/upload_seedlots_dialogs.mas &>
219 <& /breeders_toolbox/add_seedlot_dialogs.mas, timestamp=>$timestamp &>
220 <& /breeders_toolbox/add_accessions_dialogs.mas, preferred_species=>$preferred_species, editable_stock_props=>$editable_stock_props, editable_stock_props_definitions=>$editable_stock_props_definitions &>
221 <& /breeders_toolbox/cross/upload_crosses_dialogs.mas, programs=>$breeding_programs, locations=>$locations &>
222 <& /breeders_toolbox/cross/add_cross_dialogs.mas, programs=>$breeding_programs, locations=>$locations &>
223 <& /breeders_toolbox/cross/add_crossing_trial_dialogs.mas, programs=>$breeding_programs, locations=>$locations &>