apply loading gif
[unfold.git] / plugins / apply / templates / apply.html
1 <div id={{ domid }}>
2   <!-- Modal - columns selector -->
3   <div class="modal fade" id="{{domid}}__apply__window" tabindex="-1" role="dialog" aria-labelledby="{{domid}}__apply__label" aria-hidden="true">
4     <div class="modal-dialog modal-dialog-large">
5       <div class="modal-content">
6         <div class="modal-header">
7           <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
8             <h4 class="modal-title" id="{{domid}}__apply__label">
9                  Applying pending changes...                    
10             </h4>
11             <div>
12                 <img id="applyloading" src="/static/img/loading.gif" /> &nbsp;&nbsp;
13                 Please be patient, this operation can take a minute or two.
14             </div>
15         </div>
16         <div class="modal-body">
17 <div class='resources-selected-spacer'>
18 <table class='resources-selected' id='{{domid}}__table'>
19   <thead class="resources-selected">
20     <tr> <th>action</th> <th>key</th> <th>value</th> <th>status</th> </tr>
21   </thead>
22   <tbody></tbody>
23 <!--<tfoot class="resources-selected">
24 <tr> <th>action</th> <th>key</th> <th>value</th> <th>status</th></tr>
25 </tfoot>-->
26 </table>
27 </div>
28 <!--not all buttons are expected to work for now, hence the disabled mark-->
29 <!--
30 <button type="button" id="{{domid}}__update"  class="btn btn-onelab">Update</button>
31 <button type="button" id="{{domid}}__refresh"  class="btn btn-primary" disabled>Refresh</button>
32 <button type="button" id="{{domid}}__reset"  class="btn btn-danger" disabled>Reset</button>
33 <button type="button" id="{{domid}}__clear_annotations"  class="btn btn-danger" disabled>Clear Annotations</button>
34 -->
35         </div>
36         <div class="modal-footer">
37           <button id="{{domid}}__close" type="button" class="btn btn-default" data-dismiss="modal">Close</button>
38         </div>
39       </div>
40     </div>
41   </div>
42
43   
44   <!-- Button toolbar -->
45   <button class="btn btn-onelab btn-sm"  id="{{domid}}__apply" data-toggle="modal" data-target="#{{domid}}__apply__window">Apply</button>
46   <!-- <button class="btn btn-default btn-sm" id="{{domid}}__cancel">Cancel</button> -->
47 </div>