many cosmetic changes
[unfold.git] / plugins / querytable / templates / querytable.html
index 902c55c..8da79d4 100644 (file)
@@ -1,19 +1,21 @@
-<div id='main-{{ domid }}' class='querytable-spacer'>
-  <table class='table table-striped table-bordered dataTable' id='{{domid}}__table'>
+<div id="main-{{ domid }}">
+  <table class="table dataTable" id="{{domid}}__table" width="100%">
     <thead>
       <tr>
-        {% for column in columns %} <th>{{ column }}</th> {% endfor %} 
-        {% for column in hidden_columns %} <th>{{ column }}</th> {% endfor %} 
-        {% if checkboxes %} <th class="checkbox">+/-</th> {% endif %}
+       {% if checkboxes %}<th><input type="checkbox" disabled/></th>{% endif %}
+        <th>&#9888;</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>
-        {% for column in columns %} <th>{{ column }}</th> {% endfor %} 
-        {% for column in hidden_columns %} <th>{{ column }}</th> {% endfor %} 
-        {% if checkboxes %} <th>+/-</th> {% endif %}
+       {% if checkboxes %} <th><input type="checkbox" disabled/></th> {% endif %}
+        <th>&#9888;</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>