diff --git a/app/main/static/js/style_tables.js b/app/main/static/js/style_tables.js index edddc7d..16b562b 100644 --- a/app/main/static/js/style_tables.js +++ b/app/main/static/js/style_tables.js @@ -2,5 +2,10 @@ $('#charge_table').DataTable({ "paginate": false, "searching": true, "ordering": true, - "info": false + "info": false, + "dom": 'Bfrtip', + buttons: [ + 'excelHtml5', + 'csvHtml5', + ] }); diff --git a/app/main/templates/agent.html b/app/main/templates/agent.html index 76ec6bd..dca5d3f 100644 --- a/app/main/templates/agent.html +++ b/app/main/templates/agent.html @@ -1,6 +1,8 @@ {% extends "base_page.html" %} {% block more_heads %} + + diff --git a/app/main/templates/project.html b/app/main/templates/project.html index f17bd53..3bcda17 100644 --- a/app/main/templates/project.html +++ b/app/main/templates/project.html @@ -1,8 +1,10 @@ {% extends "base_page.html" %} {% block more_heads %} - - + + + + {% endblock %} {% block content %} diff --git a/app/static/css/style.css b/app/static/css/style.css index 73d9856..f1b3c37 100644 --- a/app/static/css/style.css +++ b/app/static/css/style.css @@ -113,6 +113,7 @@ dl.agent { line-height: 1.2; } +/* Datatables modifications */ .dataTables_wrapper { margin-top: 50px; } @@ -130,4 +131,8 @@ table.dataTable thead .sorting_desc_disabled{ .dataTables_filter { float: left !important; +} + +.dt-buttons { + float: right !important; } \ No newline at end of file diff --git a/app/templates/bs4-scripts.html b/app/templates/bs4-scripts.html index aca1016..f46f0ce 100644 --- a/app/templates/bs4-scripts.html +++ b/app/templates/bs4-scripts.html @@ -2,8 +2,8 @@ + + + + + + + + -- libgit2 0.21.2