Skip to content

Commit

Permalink
feat: add experiments table export
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaixhin committed Apr 22, 2016
1 parent bd88f43 commit 1d88b39
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bower.json
Expand Up @@ -30,7 +30,8 @@
"c3": "~0.4.11",
"largest-triangle-three-buckets": "git://github.com/joshcarr/largest-triangle-three-buckets.js.git",
"moment": "~2.13.0",
"tether": "~1.3.1"
"tether": "~1.3.1",
"tableExport.jquery.plugin": "~1.5.0"
},
"resolutions": {
"jquery": "~3.0.0-beta1",
Expand Down
3 changes: 3 additions & 0 deletions views/experiments.jade
Expand Up @@ -11,8 +11,10 @@ block content
table#experiments

block scripts
script(src="/bower_components/tableExport.jquery.plugin/tableExport.min.js")
script(src="/bower_components/bootstrap-table/dist/bootstrap-table.min.js")
script(src="/bower_components/bootstrap-table/dist/extensions/multiple-sort/bootstrap-table-multiple-sort.min.js")
script(src="/bower_components/bootstrap-table/dist/extensions/export/bootstrap-table-export.min.js")
script(src="/bower_components/lodash/dist/lodash.min.js")
script(src="/bower_components/moment/min/moment.min.js")
script.
Expand Down Expand Up @@ -108,6 +110,7 @@ block scripts
columns: columns,
data: experiments,
showMultiSort: true,
showExport: true,
icons: {
sort: "octicon-list-ordered",
plus: "octicon-plus",
Expand Down

0 comments on commit 1d88b39

Please sign in to comment.