management requests table reorganization
authorCiro Scognamiglio <ciro.scognamiglio@cslash.net>
Mon, 15 Sep 2014 16:19:48 +0000 (18:19 +0200)
committerCiro Scognamiglio <ciro.scognamiglio@cslash.net>
Mon, 15 Sep 2014 16:19:48 +0000 (18:19 +0200)
portal/templates/management-tab-requests.html

index 6fe0e99..e32799f 100644 (file)
@@ -1,18 +1,7 @@
 <script type="text/javascript">
        $(document).ready(function() {
                $("li#nav-request").addClass("active");
-               $('table.requests').dataTable( {
-            "sDom": "frtiS",
-            "bScrollCollapse": true,
-            "bStateSave": true,
-            "bPaginate": false,
-            "bLengthChange": false,
-            "bFilter": false,
-            "bSort": true,
-            "bInfo": false,
-            "bAutoWidth": true,
-            "bAutoHeight": false,
-        } );
+               $('table.requests').dataTable();
        });
        function on_click_event() {
                var ids = []; 
 </div>
 {% if my_authorities %}
        <table class="table-responsive requests">
+           <thead>
+        <tr>
+            <th>ID</th>
+            <th></th>
+            <th>Type</th>
+            <th>Authority</th>
+            <th>Info</th>
+            <th>Date</th>
+        </tr>
+        </thead>
+        <tbody>
        {% for authority, requests in my_authorities.items %}
        
         {% for request in requests %}
         {% endfor %}
        
        {% endfor %}
+          </tbody>
     </table>
 {% else %}
        <div class="col-md-12">