renamed hazelnut into querytable
[myslice.git] / plugins / querytable / templates / querytable.html
diff --git a/plugins/querytable/templates/querytable.html b/plugins/querytable/templates/querytable.html
new file mode 100644 (file)
index 0000000..902c55c
--- /dev/null
@@ -0,0 +1,20 @@
+<div id='main-{{ domid }}' class='querytable-spacer'>
+  <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 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>
+    </tfoot> 
+  </table>
+</div>