1d66e98254e2cbaa25463294b1089b7706f78d3b
[unfold.git] / plugins / columns_editor / templates / columns_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 <div class='query-editor-spacer'>
10   <table id='{{domid}}__table' class='query-editor'>
11     <thead>
12       <tr>
13         <th class='center'>Info</th>
14         <th class='center'>Field</th>
15         <!--
16         <th class='center'>Resource</th>
17         <th class='center'>Type</th>
18         <th class='center'>Filter</th>
19         -->
20         <th class='center'>+/-</th>
21       </tr>
22     </thead>
23     <tbody>
24
25     {# Loop through metadata and display related information #}
26     {% for field in fields %}
27
28       <tr>
29         <td class='center'><span class='glyphicon glyphicon-chevron-right' style='cursor:pointer'></span></td>
30         <td class='center'>{{ field.name }}</td>
31         <!--
32         <td class='center'>{{ field.resource_type }}</td>
33         <td class='center'>{{ field.type }}</td>
34         <td class='center'>{{ field.filter_input }}</td>
35         -->
36         <td class='center'>
37           <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>
38         </td>
39       </tr>
40                 
41         {% endfor %}
42
43     </tbody>
44   </table>
45 </div>