comment out large section of breeding program details - this info should be on the...
[sgn.git] / mason / breeders_toolbox / upload_accession_rename_dialog.mas
blobe9296bed663ed2d1bd820a3fcc66e0961244bacc
1 <%args>
2 </%args>
4 <div class="modal fade" id="upload_rename_accessions_validate_display" name="upload_accession_name_change_validate_display" tabindex="-1" role="dialog" aria-labelledby="uploadRenameAccessionsDialog">
5   <div class="modal-dialog" role="document">
6     <div class="modal-content">
7       <div class="modal-header">
8         <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
9         <h4 class="modal-title" id="uploadRenameAccessionValidateDialog">Results From Validation</h4>
10       </div>
11       <div class="modal-body">
12         <div class="container-fluid">
13           <input type="checkbox" checked id="store_old_name_as_synonym" />&nbsp;Store old names as synonyms of the accessions</div>
14         <table class="table table-hover">
15           <tbody></tbody>
16         </table>
17       </div>
19       <div class="modal-footer">
20         <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
21         <button type="button" class="btn btn-primary" name="upload_rename_accessions_store" id="upload_rename_accessions_store" data-dismiss="modal">Rename and store</button>
22       </div>
23     </div>
24   </div>
25 </div>
26   
29 <div class="modal fade" id="rename_accessions_upload_success_dialog_message" name="rename_accessions_upload_success_dialog_message" tabindex="-1" role="dialog" aria-labelledby="uploadRenameAccessionsSuccessDialog">
30   <div class="modal-dialog" role="document">
31     <div class="modal-content">
32       <div class="modal-header">
33         <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
34         <h4 class="modal-title" id="uploadRenameAccessionsSuccessDialog">Upload Successful</h4>
35       </div>
36       <div class="modal-body">
37         <div class="container-fluid">
38           <h2>The accession renaming list upload was successful.</h2>
39           
40           Successfully renamed:<br />
41           <div class="bg-success" id="list_of_uploaded_rename_accessions">
42                [loading...]
43           </div>
44           <br />
45           
46          
47           <div id="list_of_rename_accessions_with_problem"></div>
48         </div>
49       </div>
50       <div class="modal-footer">
51         <button type="button" id="rename_accessions_upload_success_dismiss" class="btn btn-default" data-dismiss="modal">Close</button>
52       </div>
53     </div>
54   </div>
55 </div>
58 <div class="modal fade" id="upload_rename_accessions_dialog" name="upload_rename_accessions_dialog" tabindex="-1" role="dialog" aria-labelledby="uploadRenameAccessionsDialog">
59   <div class="modal-dialog" role="document">
60     <div class="modal-content">
61       <div class="modal-header">
62         <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
63         <h4 class="modal-title" id="uploadRenameAccessionsDialog">Upload Rename Accessions Information</h4>
64       </div>
65       <div class="modal-body">
66         <div class="container-fluid">
67           <&| /page/explanation.mas, title=>'Template Information' &>
68           <p>
69           <b>File format information</b>
70           <br>
71           <a id="rename_accessions_upload_spreadsheet_format_info_link" data-toggle='modal' data-target='#rename_accessions_upload_spreadsheet_format_info_dialog'>Spreadsheet Format</a>
72           </p>
73           </&>
75           <form method="post" enctype="multipart/form-data" encoding="multipart/form-data" id="upload_rename_accessions_form" name="upload_rename_accessions_form">
76             <label for="rename_accession_uploaded_file" style="display: inline-block; width: 300px;">Upload Rename Accessions File:</label>
77             <input type="file" name="rename_accessions_uploaded_file" id="rename_accessions_uploaded_file" encoding="multipart/form-data" />
78           </form>
79         </div>
80       </div>
81       <div class="modal-footer">
82         <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
83         <button type="button" class="btn btn-primary" name="upload_rename_accessions_dialog_submit" id="upload_rename_accessions_dialog_submit">Validate</button>
84       </div>
85     </div>
86   </div>
87 </div>
89 <div class="modal fade" id="rename_accessions_upload_spreadsheet_format_info_dialog" name="rename_accessions_upload_spreadsheet_format_info_dialog" tabindex="-1" role="dialog" aria-labelledby="renameAccessionsUploadInfoDialog">
90   <div class="modal-dialog" role="document">
91     <div class="modal-content">
92       <div class="modal-header">
93         <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
94         <h4 class="modal-title" id="renameAccessionsUploadInfoDialog">Template Information</h4>
95       </div>
96       <div class="modal-body">
97         <div class="container-fluid">
98           <b>Accession renaming information may be uploaded in tab-delimited text file format</b>
99           <br>
100           <p>(.xls or .xlsx formats are <b>NOT</b> supported)</p>
101           <hr>
102           <b>Header:</b>
103           <br>
104           <p>The first row (header) should contain the following:</p>
105           
106           <table class="table table-hover table-bordered">
107             <body>
108               <tr>
109                 <td>old_name</td>
110                 <td>new_name</td>
111               </tr>
112             </body>
113           </table>
114           
115           <h4>Required fields:</h4>
116           <ul>
117             <li>old_name (exact name MUST exist in the database)</li>
118             <li>new_name (must NOT exist in the database)</li>
119           </ul>
120         </div>
121       </div>
122       <div class="modal-footer">
123         <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
124       </div>
125     </div>
126   </div>
127 </div>