Changed trials-in-common page to use a single database query to get analyses. Changed...
[sgn.git] / mason / fieldbook / create_trait_file_dialog.mas
blob36c4afdda759e3b5c605a4077abf81627d6c44b2
2 <div class="modal fade" id="create_trait_file_dialog" name="create_trait_file_dialog" tabindex="-1" role="dialog" aria-labelledby="createTraitFileDialog">
3   <div class="modal-dialog" role="document">
4     <div class="modal-content">
5       <div class="modal-header">
6         <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
7         <center><h4 class="modal-title" id="createTraitFileDialog">Create a Trait File for the Android Fieldbook App</h4></center>
8       </div>
9       <div class="modal-body">
10         <div class="container-fluid">
11             <form class="form-horizontal" role="form" method="post" >
12             <div class="form-group">
13               <label class="col-sm-3 control-label" for="select_list_list_select">Select a list of traits: </label>
14               <div class="col-sm-9">
15                 <span id="select_list_div"></span>
16               </div>
17             </div>
18             <div class="form-group">
19               <label class="col-sm-3 control-label" for="select_traits_for_trait_file">Or select traits directly: </label>
20               <div class="col-sm-9">
21                 <div id="select_traits_for_trait_file">
22                   [Loading...]
23                 </div>
24                 <hr style="margin-top:4px;margin-bottom:4px" />
25                 <div class="well well-sm"><div id="trait_select_count">No Selection</div></div>
26               </div>
27             </div>
28             <div class="form-group">
29                 <label class="col-sm-3 control-label">Include Notes Trait </label>
30                 <div class="col-sm-9" >
31                     <input type="checkbox" id="include_notes_trait" name="include_notes_trait" />
32                 </div>
33             </div>
34             <div class="form-group">
35               <label class="col-sm-3 control-label" for="trait_file_name">File name:</label>
36               <div class="col-sm-9">
37                 <input id="trait_file_name" type="text" class="form-control" placeholder="Type name here">
38               </div>
39             </div>
40           </form><br/>
41         </div>
42       </div>
43       <div class="modal-footer">
44         <button type="button" class="btn btn-default" name="create_trait_file_cancel_button" id="create_trait_file_cancel_button" data-dismiss="modal">Close</button>
45         <button type="button" class="btn btn-primary" name="create_trait_file_ok_button" id="create_trait_file_ok_button" title="Submit">Create File</button>
46       </div>
47     </div>
48   </div>
49 </div>
51 <div class="modal fade" id="trait_file_saved_dialog_message" name="trait_file_saved_dialog_message" tabindex="-1" role="dialog" aria-labelledby="createTraitFileSavedDialog">
52   <div class="modal-dialog" role="document">
53     <div class="modal-content">
54       <div class="modal-header">
55         <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
56         <h4 class="modal-title" id="createTraitFileSavedDialog">Trait File Created</h4>
57       </div>
58       <div class="modal-body">
59         <div class="container-fluid">
60             <p>
61               <span class="ui-icon ui-icon-circle-check" style="float: left; margin: 0 7px 50px 0;"></span>
62               The trait file was created successfully.
63             </p>
64             <p>
65               <a id="trait_file_download_link">Download File</a>
66             </p>
67         </div>
68       </div>
69       <div class="modal-footer">
70         <button type="button" class="btn btn-default" name="trait_file_close_button" id="trait_file_close_button" data-dismiss="modal">Close</button>
71       </div>
72     </div>
73   </div>
74 </div>