major updates to slice reservation page and plugins
[myslice.git] / plugins / querytable / templates / querytable.html
index ddeb9cf..a1792b4 100644 (file)
@@ -2,20 +2,20 @@
   <table class="table dataTable" id="{{domid}}__table" width="100%">
     <thead>
       <tr>
-       {% if checkboxes %}<th class="checkbox">+/-</th>{% endif %}
-        {% for column in columns %} <th>{{ column }}</th> {% endfor %} 
-        {% for column in hidden_columns %} <th>{{ column }}</th> {% endfor %}
-        <th class="checkbox">status</th>
+       {% if checkboxes %}<th class="checkbox"><input type="checkbox" disabled/></th>{% endif %}
+        <th></th>
+        {% for column, field in columns.items %} <th>{{ column }}</th> {% endfor %} 
+        {% for column, field in hidden_columns.items %} <th>{{ column }}</th> {% endfor %}
       </tr>
     </thead> 
     <tbody>
     </tbody>
     <tfoot>
       <tr>
-       {% if checkboxes %} <th>+/-</th> {% endif %}
-        {% for column in columns %} <th>{{ column }}</th> {% endfor %} 
-        {% for column in hidden_columns %} <th>{{ column }}</th> {% endfor %} 
-        <th class="checkbox">status</th>
+       {% if checkboxes %} <th><input type="checkbox" disabled/></th> {% endif %}
+        <th></th>
+        {% for column, field in columns.items %} <th>{{ column }}</th> {% endfor %} 
+        {% for column, field in hidden_columns.items %} <th>{{ column }}</th> {% endfor %} 
       </tr>
     </tfoot> 
   </table>