Skip to content

Commit

Permalink
Merge pull request #74 from wasade/download_project_summary
Browse files Browse the repository at this point in the history
Add download to manage projects
  • Loading branch information
wasade authored Feb 2, 2021
2 parents 1e567a2 + f2b63e8 commit 954ea00
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions microsetta_admin/templates/manage_projects.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<script src="/static/vendor/DataTables/DataTables-1.10.21/js/jquery.dataTables.js"></script>
<script src="/static/vendor/DataTables/Buttons-1.6.2/js/dataTables.buttons.js"></script>
<script src="/static/vendor/DataTables/Buttons-1.6.2/js/buttons.colVis.js"></script>
<script src="/static/vendor/DataTables/Buttons-1.6.2/js/buttons.html5.min.js"></script>
<script class="init">
var projectFormId = "project_form";
// set up for DataTable of project info:
Expand Down Expand Up @@ -170,6 +171,13 @@
// modified from https://datatables.net/extensions/buttons/examples/column_visibility/columnGroups.html#:~:text=SearchPanes-,Column%20groups,provides%20this%20ability%20for%20Buttons
dom: 'Bfrtip',
buttons: [
{
extend: 'csv',
text: 'Download',
exportOptions:{
columns: ':visible'
}
},
{
extend: 'colvisGroup',
text: 'Show all',
Expand Down

0 comments on commit 954ea00

Please sign in to comment.