pretty-printed (4 chars margin for css please)
[unfold.git] / plugins / hazelnut / templates / hazelnut.html
index b49161b..d51776d 100644 (file)
@@ -1,33 +1,20 @@
-<div id='main-{{ domid }}'>
+<div id='main-{{ domid }}' class='hazelnut-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>+/-</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>
-<div class="hazelnut-spacer"></div>