From a0d99ae0a4c71fe5d88652f45004b68cd6de384a Mon Sep 17 00:00:00 2001 From: Ciro Scognamiglio <ciro.scognamiglio@cslash.net> Date: Mon, 15 Sep 2014 18:19:48 +0200 Subject: [PATCH] management requests table reorganization --- portal/templates/management-tab-requests.html | 25 ++++++++++--------- 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/portal/templates/management-tab-requests.html b/portal/templates/management-tab-requests.html index 6fe0e99a..e32799fb 100644 --- a/portal/templates/management-tab-requests.html +++ b/portal/templates/management-tab-requests.html @@ -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 = []; @@ -100,6 +89,17 @@ </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 %} @@ -140,6 +140,7 @@ {% endfor %} {% endfor %} + </tbody> </table> {% else %} <div class="col-md-12"> -- 2.47.0