plugins: supporting columns adding/removing + passed query instead of uuid as parameters
[myslice.git] / plugins / hazelnut / hazelnut.html
index 84f2e18..aae78e4 100644 (file)
@@ -1,13 +1,33 @@
 <div id='main-{{ domid }}'>
-<table class='table table-striped table-bordered dataTable' id='hazelnut-{{ domid }}'>
-<thead><tr> {% for column in columns %}
-<th>{{ column }}</th>{% endfor %} {% if checkboxes %}<th>+/-</th>{% endif %}
-</tr></thead> 
-<tbody>
-</tbody>
-<tfoot><tr> {% for column in columns %}
-<th>{{ column }}</th>{% endfor %} {% if checkboxes %}<th>+/-</th>{% endif %}
-</tr></tfoot> 
-</table>
+  <table class='table table-striped table-bordered dataTable' id='hazelnut-{{ domid }}'>
+    <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> 
+    <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>
+    </tfoot> 
+  </table>
 </div>
 <div class="hazelnut-spacer"></div>