1a9e80585ebc3d1f3456dd038678bcbf4f53373d
[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                 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
11                 <img id="applyloading" src="/static/img/loading.gif" />
12             </h4>
13             <div>
14                 Please be patient, this operation can take a minute or two.
15             </div>
16         </div>
17         <div class="modal-body">
18 <div class='resources-selected-spacer'>
19 <table class='resources-selected' id='{{domid}}__table'>
20   <thead class="resources-selected">
21     <tr> <th>action</th> <th>key</th> <th>value</th> <th>status</th> </tr>
22   </thead>
23   <tbody></tbody>
24 <!--<tfoot class="resources-selected">
25 <tr> <th>action</th> <th>key</th> <th>value</th> <th>status</th></tr>
26 </tfoot>-->
27 </table>
28 </div>
29 <!--not all buttons are expected to work for now, hence the disabled mark-->
30 <!--
31 <button type="button" id="{{domid}}__update"  class="btn btn-onelab">Update</button>
32 <button type="button" id="{{domid}}__refresh"  class="btn btn-primary" disabled>Refresh</button>
33 <button type="button" id="{{domid}}__reset"  class="btn btn-danger" disabled>Reset</button>
34 <button type="button" id="{{domid}}__clear_annotations"  class="btn btn-danger" disabled>Clear Annotations</button>
35 -->
36         </div>
37         <div class="modal-footer">
38           <button id="{{domid}}__close" type="button" class="btn btn-default" data-dismiss="modal">Close</button>
39         </div>
40       </div>
41     </div>
42   </div>
43
44   
45   <!-- Button toolbar -->
46   <button class="btn btn-onelab btn-sm"  id="{{domid}}__apply" data-toggle="modal" data-target="#{{domid}}__apply__window">Apply</button>
47   <!-- <button class="btn btn-default btn-sm" id="{{domid}}__cancel">Cancel</button> -->
48 </div>