4 <div class="modal fade" id="upload_graft_validate_display" name="upload_graft_validate_display" tabindex="-1" role="dialog" aria-labelledby="uploadGraftValidateDialog">
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">×</span></button>
9 <h4 class="modal-title" id="uploadGraftValidateDialog">Results From Validation</h4>
11 <div class="modal-body">
12 <div class="container-fluid">
13 <!-- div class="well">To Overwrite previous scion and/or rootstocks, in the case that an accession already has scions/rootstocks <input type="checkbox" checked id="graft_upload_overwrite_graft" /></div -->
14 <table class="table table-hover">
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_graft_store" id="upload_graft_store" data-dismiss="modal">Store</button>
29 <div class="modal fade" id="graft_upload_success_dialog_message" name="graft_upload_success_dialog_message" tabindex="-1" role="dialog" aria-labelledby="uploadGraftSuccessDialog">
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">×</span></button>
34 <h4 class="modal-title" id="uploadGraftSuccessDialog">Upload Successful</h4>
36 <div class="modal-body">
37 <div class="container-fluid">
38 <h2>The graft upload was successful.</h2>
40 Successfully created:<br />
41 <textarea id="list_of_uploaded_grafts">
45 Already in the system:<br />
46 <textarea id="list_of_already_uploaded_grafts">
49 <div id="list_of_grafts_with_problem"></div>
52 <div class="modal-footer">
53 <button type="button" id="graft_upload_success_dismiss" class="btn btn-default" data-dismiss="modal">Close</button>
60 <div class="modal fade" id="upload_graft_dialog" name="upload_graft_dialog" tabindex="-1" role="dialog" aria-labelledby="uploadGraftDialog">
61 <div class="modal-dialog" role="document">
62 <div class="modal-content">
63 <div class="modal-header">
64 <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
65 <h4 class="modal-title" id="uploadGraftDialog">Upload Grafting Information</h4>
67 <div class="modal-body">
68 <div class="container-fluid">
69 <&| /page/explanation.mas, title=>'Template Information' &>
71 <b>File format information</b>
73 <a id="graft_upload_spreadsheet_format_info" data-toggle='modal' data-target='#graft_upload_spreadsheet_format_info_dialog'>Spreadsheet Format</a>
77 <form method="post" enctype="multipart/form-data" encoding="multipart/form-data" id="upload_graft_form" name="upload_graft_form">
78 <label for="graft_uploaded_file" style="display: inline-block; width: 100px;">Upload Grafting File:</label>
79 <input type="file" name="graft_uploaded_file" id="graft_uploaded_file" encoding="multipart/form-data" />
83 <div class="modal-footer">
84 <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
85 <button type="button" class="btn btn-primary" name="upload_graft_dialog_submit" id="upload_graft_dialog_submit">Validate</button>
91 <div class="modal fade" id="graft_upload_spreadsheet_format_info_dialog" name="graft_upload_spreadsheet_info_dialog" tabindex="-1" role="dialog" aria-labelledby="graftUploadInfoDialog">
92 <div class="modal-dialog" role="document">
93 <div class="modal-content">
94 <div class="modal-header">
95 <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
96 <h4 class="modal-title" id="graftUploadInfoDialog">Template Information</h4>
98 <div class="modal-body">
99 <div class="container-fluid">
100 <b>Graft may be uploaded in tab-delimited text file format</b>
102 <p>(.xls or .xlsx formats are <b>NOT</b> supported)</p>
106 <p>The first row (header) should contain the following:</p>
108 <table class="table table-hover table-bordered">
111 <td>scion accession</td>
112 <td>rootstock accession</td>
117 <h4>Required fields:</h4>
119 <li>scion accession (exact name must exist in the database)</li>
120 <li>rootstock accession (must exist in the database)</li>
125 <li>The graft accession will be created in the database upon upload. The name of the graft will be "scion"+"rootstock", where "+" is the default graft separator character. The default separator can be changed before upload. The default can be changed in the sgn_local.conf, default_graft_separator key.
129 <div class="modal-footer">
130 <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>