Dashboard: link to a single platform in the list of testbeds - http://trac.myslice...
[myslice.git] / plugins / query_editor / templates / 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 <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         <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'><span class='glyphicon glyphicon-chevron-right' style='cursor:pointer'></span></td>
28         <td class='center'>{{ field.name }}</td>
29         <td class='center'>{{ field.resource_type }}</td>
30         <td class='center'>{{ field.type }}</td>
31         <td class='center'>{{ field.filter_input }}</td>
32         <td class='center'>
33           <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>
34         </td>
35       </tr>
36                 
37         {% endfor %}
38
39     </tbody>
40   </table>
41 </div>