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