hazelnuts with checkboxes enabled can be sorted by that column - e.g. to see users...
[myslice.git] / plugins / hazelnut / templates / hazelnut.html
index b49161b..a223d1b 100644 (file)
@@ -2,31 +2,19 @@
   <table class='table table-striped table-bordered dataTable' id='{{domid}}__table'>
     <thead>
       <tr>
-        {% for column in columns %}
-        <th>{{ column }}</th>
-        {% endfor %} 
-        {% for column in hidden_columns %}
-        <th>{{ column }}</th>
-        {% endfor %} 
-        {% if checkboxes %}
-               <th>+/-</th>
-               {% endif %}
-         </tr>
-       </thead> 
+        {% for column in columns %} <th>{{ column }}</th> {% endfor %} 
+        {% for column in hidden_columns %} <th>{{ column }}</th> {% endfor %} 
+        {% if checkboxes %} <th class="checkbox">+/-</th> {% endif %}
+      </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 %}
-         </tr>
+        {% for column in columns %} <th>{{ column }}</th> {% endfor %} 
+        {% for column in hidden_columns %} <th>{{ column }}</th> {% endfor %} 
+        {% if checkboxes %} <th>+/-</th> {% endif %}
+      </tr>
     </tfoot> 
   </table>
 </div>