Setting tag myslice-0.2-3
[myslice.git] / plugins / query_editor / static / query_editor.html
1 <!--
2         $infopopup = <<<EOF
3 <span class='info'><span> This tab allows you to customize the visible columns in the resource list, below. Note that information on the nodes comes from a variety of monitoring sources.  If you, as either a user or a provider of monitoring data, would like to see additional columns made available, please send us your request in mail to <a href='mailto:support@myslice.info'>support@myslice.info</a>. You can find more information about the MySlice project at <a href='http://trac.myslice.info'>http://trac.myslice.info</a>.  </span></span>
4 EOF;
5
6             $filter_input = "<input id='filter_value' type=text size=5></input>";
7
8 EOF; -->
9
10 <div>
11   <table id='{{domid}}__table' class='display' width='95%'>
12     <thead>
13       <tr>
14         <th class='center'>Info</th>
15         <th class='center'>Field</th>
16         <th class='center'>Resource</th>
17         <th class='center'>Type</th>
18         <th class='center'>Filter</th>
19         <th class='center'>+/-</th>
20       </tr>
21     </thead>
22     <tbody>
23
24     {# Loop through metadata and display related information #}
25     {% for field in fields %}
26
27       <tr>
28         <td class='center'><span class='ui-icon ui-icon-triangle-1-e' style='cursor:pointer'></span></td>
29         <td class='center'>{{ field.name }}</td>
30         <td class='center'>{{ field.resource_type }}</td>
31         <td class='center'>{{ field.type }}</td>
32         <td class='center'>{{ field.filter_input }}</td>
33         <td class='center'>
34           <input class='queryeditor-check' id='{{domid}}__check__{{ field.name }}' name='{{ field.header }}' type='checkbox' autocomplete='off' value='{{ field.name }}' {% if field.checked %} checked {% endif %}></input>
35         </td>
36       </tr>
37                 
38         {% endfor %}
39
40     </tbody>
41   </table>
42 </div>