plugins: updated query_editor
[myslice.git] / plugins / query_editor / 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'>
12     <thead>
13       <tr>
14         <th class='center'>Field</th>
15         <th class='center'>Resource</th>
16         <th class='center'>Type</th>
17         <th class='center'>Filter</th>
18         <th class='center'>+/-</th>
19       </tr>
20     </thead>
21     <tbody>
22
23     {# Loop through metadata and display related information #}
24     {% for field in fields %}
25
26       <tr>
27         <td class='center'><b> {{ field.name }}</b></td>
28         <td class='center'> {{ field.resource_type }}</td>
29         <td class='center'> {{ field.type }}</td>
30         <td class='center'> {{ field.filter_input }}</td>
31         <td class='center'>
32           <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>
33         </td>
34       </tr>
35                 
36         {% endfor %}
37
38     </tbody>
39   </table>
40 </div>
41