added modeal for resource information
[myslice.git] / plugins / querytable / templates / querytable.html
1 <div id="main-{{ domid }}">
2   <table class="table dataTable" id="{{domid}}__table" width="100%">
3     <thead>
4       <tr>
5         {% if checkboxes %}<th><input type="checkbox" disabled/></th>{% endif %}
6         <th>&#9888;</th>
7         {% for column, field in columns.items %} <th>{{ column }}</th> {% endfor %} 
8         {% for column, field in hidden_columns.items %} <th>{{ column }}</th> {% endfor %}
9       </tr>
10     </thead> 
11     <tbody>
12     </tbody>
13     <tfoot>
14       <tr>
15         {% if checkboxes %} <th><input type="checkbox" disabled/></th> {% endif %}
16         <th>&#9888;</th>
17         {% for column, field in columns.items %} <th>{{ column }}</th> {% endfor %} 
18         {% for column, field in hidden_columns.items %} <th>{{ column }}</th> {% endfor %} 
19       </tr>
20     </tfoot> 
21   </table>
22 </div>
23 <div class="modal fade" id="resource-info-modal">
24   <div class="modal-dialog modal-md">
25     <div class="modal-content">
26       <div class="modal-header">
27         <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
28         <h4 class="modal-title"></h4>
29       </div>
30       <table class="table modal-resource-info"></table>
31       <div class="modal-footer">
32         <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
33       </div>
34     </div>
35   </div>
36 </div>