Merge branch '2936-job-progress-bar'
[arvados.git] / apps / workbench / app / views / application / _choose.html.erb
1 <div class="modal arv-choose">
2   <div class="modal-dialog" style="width:80%">
3     <div class="modal-content">
4       <div class="modal-header">
5         <button type="button" class="close" onClick="reset_form()" data-dismiss="modal" aria-hidden="true">&times;</button>
6         <h4 class="modal-title"><%= params[:title] || "Choose #{@objects.first.class_for_display}" %></h4>
7       </div>
8       <div class="modal-body">
9         <div>
10           <div class="row">
11             <div class="col-sm-6">
12             </div>
13             <div class="col-sm-6">
14               <input type="text" class="form-control filterable-control" placeholder="Search" data-filterable-target=".modal.arv-choose .selectable-container"/>
15             </div>
16           </div>
17         </div>
18         <div class="container-fluid arv-filterable-list selectable-container" style="height: 20em; overflow-y: scroll" data-infinite-scroller="#choose-scroll" id="choose-scroll" data-infinite-content-href="<%= @next_page_href %>">
19           <%= render partial: 'choose_rows', locals: {multiple: multiple} %>
20         </div>
21       </div>
22
23       <div class="modal-footer">
24         <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Cancel</button>
25         <button class="btn btn-primary" aria-hidden="true" data-enable-if-selection disabled><%= raw(params[:action_name]) || 'Select' %></button>
26         <div class="modal-error hide" style="text-align: left; margin-top: 1em;">
27         </div>
28       </div>
29     </div>
30   </div>
31 </div>