implement images metadata put
[sgn.git] / mason / site / list.mas
blobc30e3b1f7180d1d877c90df711093e10731c223c
1 <& /util/import_javascript.mas, classes => [ 'CXGN.List'] &>
2 <!-- Lists dialog -->
4 <div class="modal fade" id="list_dialog" name="list_dialog" tabindex="-1" role="dialog" aria-labelledby="listDialog">
5   <div class="modal-dialog modal-xl" role="document">
6     <div class="modal-content">
7       <div class="modal-header" style="text-align:center">
8         <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
9         <h3 class="modal-title" id="listDialog">Your Lists</h3>
10       </div>
11       <div class="modal-body">
12         <div class="container-fluid">
13           <div id="list_dialog_div">
14           </div>
15         </div>
16       </div>
17       <div class="modal-footer">
18         <button id="view_public_lists_button" type="button" class="btn btn-primary" >View Public Lists</button>
19         <button id="close_list_dialog_button" type="button" class="btn btn-default" data-dismiss="modal">Close</button>
20       </div>
21     </div>
22   </div>
23 </div>
25 <div class="modal fade" id="public_list_dialog" name="public_list_dialog" tabindex="-1" role="dialog" aria-labelledby="publicListDialog">
26   <div class="modal-dialog modal-xl" role="document">
27     <div class="modal-content">
28       <div class="modal-header" style="text-align:center">
29         <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
30         <h4 class="modal-title" id="publicListDialog">Public Lists</h4>
31       </div>
32       <div class="modal-body">
33         <div class="container-fluid">
34           <div id="public_list_dialog_div">
35           </div>
36         </div>
37       </div>
38       <div class="modal-footer">
39         <button id="close_public_list_item_dialog" type="button" class="btn btn-default" data-dismiss="modal">Close</button>
40       </div>
41     </div>
42   </div>
43 </div>
45 <div class="modal fade" id="list_item_dialog" name="list_item_dialog" tabindex="-1" role="dialog" aria-labelledby="listItemDialog">
46   <div class="modal-dialog modal-lg" role="document">
47     <div class="modal-content">
48       <div class="modal-header" style="text-align:center">
49         <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
50         <h4 class="modal-title" id="listItemDialog">List Contents</h4>
51       </div>
52       <div class="modal-body">
53         <div class="container-fluid">
54           <div id="list_item_dialog_div">
55           </div>
56         </div>
57       </div>
58       <div class="modal-footer">
59         <button id="close_list_item_dialog" type="button" class="btn btn-default" data-dismiss="modal">Close</button>
60       </div>
61     </div>
62   </div>
63 </div>
66 <div class="modal fade" id="validate_accession_error_display" name="validate_accession_error_display" tabindex="-1" role="dialog" aria-labelledby="listValidationErrorDialog">
67     <div class="modal-dialog modal-lg" role="document">
68         <div class="modal-content">
69             <div class="modal-header">
70                 <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
71                 <h4 class="modal-title" id="listValidationErrorDialog">List Validation Failed</h4>
72             </div>
73             <div class="modal-body">
74                 <div class="container-fluid">
75                     <div id="validate_stock_add_missing_accessions_html">
76                     </div>
77                     <div class="well">
78                     <h3>Elements not found:</h3>
79                     <table>
80                         <tbody></tbody>
81                     </table>
82                     </div>
83                 </div>
84             </div>
85             <div class="modal-footer">
86                 <button id="close_missing_accessions_dialog" type="button" class="btn btn-default" data-dismiss="modal">Close</button>
87             </div>
88         </div>
89     </div>
90 </div>
92 <div class="modal fade" id="fuzzy_search_result_display" name="fuzzy_search_result_display" tabindex="-1" role="dialog" aria-labelledby="fuzzySearchResultDialog">
93     <div class="modal-dialog modal-xl" role="document">
94         <div class="modal-content">
95             <div class="modal-header">
96                 <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
97                 <h4 class="modal-title" id="fuzzySearchResultDialog">Fuzzy Search Results</h4>
98             </div>
99             <div class="modal-body">
100                 <div class="container-fluid">
101                     <div id="fuzzy_search_result_display_html">
102                     </div>
103                 </div>
104             </div>
105             <div class="modal-footer">
106                 <button id="download_fuzzy_search_result" type="button" class="btn btn-primary" onclick="javascript:downloadFuzzyResponse()" >Download</button>
107                 <button id="close_fuzzy_search_result_dialog" type="button" class="btn btn-default" data-dismiss="modal">Close</button>
108             </div>
109         </div>
110     </div>
111 </div>
113 <div class="modal fade" id="synonym_search_result_display" name="synonym_search_result_display" tabindex="-1" role="dialog" aria-labelledby="synonymSearchResultDialog">
114     <div class="modal-dialog modal-lg" role="document">
115         <div class="modal-content">
116             <div class="modal-header">
117                 <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
118                 <h4 class="modal-title" id="synonymSearchResultDialog">Synonym Search Results</h4>
119             </div>
120             <div class="modal-body">
121                 <div class="container-fluid">
122                     <div id="synonym_search_result_display_html">
123                     </div>
124                 </div>
125             </div>
126             <div class="modal-footer">
127               <form id="new-list-from-unames" class="form-inline" style="float:left">
128                 <label>Create a New List from Unique Names:</label>
129                 <input name="name" type="text" class="form-control" placeholder="List Name...">
130                 <button class="btn btn-primary" type="submit">Save</button>
131               </form>
132               <form class="form-inline" style="float:right">
133                 <button id="close_fuzzy_search_result_dialog" type="button" class="btn btn-default" data-dismiss="modal">Close</button>
134               </form>
135             </div>
136         </div>
137     </div>
138 </div>
140 <div class="modal fade" id="availible_seedlots_modal" name="availible_seedlots_modal" tabindex="-1" role="dialog" aria-labelledby="availible_seedlots_modal">
141     <div class="modal-dialog modal-xl" role="document">
142         <div class="modal-content">
143             <div class="modal-header">
144                 <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
145                 <h4>Available Seedlots</h4>
146             </div>
147             <div class="modal-body">
148                 <div class="container-fluid">
149                     <& /tools/available_seedlots.mas &>
150                 </div>
151             </div>
152             <div class="modal-footer">
153               <form id="new-list-from-seedlots" class="form-inline" style="float:left">
154                 <label>Create a New List from Selected Seedlots:</label>
155                 <input name="name" type="text" class="form-control" placeholder="List Name...">
156                 <button class="btn btn-primary" type="submit">Save</button>
157               </form>
158               <form class="form-inline" style="float:right">
159                 <a href="/breeders/seedlots/" class="btn btn-primary">Manage Seedlots</a>
160                 <button id="close_availible_seedlots_modal" type="button" class="btn btn-default" data-dismiss="modal">Close</button>
161               </form>
162             </div>
163         </div>
164     </div>
165 </div>