management requests table reorganization
[myslice.git] / portal / templates / management-tab-requests.html
index e32799f..a01fde7 100644 (file)
@@ -1,7 +1,18 @@
 <script type="text/javascript">
        $(document).ready(function() {
                $("li#nav-request").addClass("active");
-               $('table.requests').dataTable();
+               $('table.requests').dataTable({
+                   "sDom": "frtiS",
+            "bScrollCollapse": true,
+            "bStateSave": true,
+            "bPaginate": false,
+            "bLengthChange": false,
+            "bFilter": false,
+            "bSort": true,
+            "bInfo": false,
+            "bAutoWidth": true,
+            "bAutoHeight": false,
+               });
        });
        function on_click_event() {
                var ids = []; 
@@ -88,6 +99,7 @@
        <h2>From your authorities</h2>
 </div>
 {% if my_authorities %}
+<div class="col-md-12">
        <table class="table-responsive requests">
            <thead>
         <tr>
             <th>Authority</th>
             <th>Info</th>
             <th>Date</th>
+            <th>Status</th>
         </tr>
         </thead>
         <tbody>
        {% endfor %}
           </tbody>
     </table>
+   </div>
 {% else %}
        <div class="col-md-12">
                <i>There is no pending request waiting for validation.</i>