Skip to content

Commit 8ec357e

Browse files
committed
feat: show/hide experiment columns
1 parent af10760 commit 8ec357e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

views/experiments.jade

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ block title
55

66
block styles
77
link(href="/bower_components/bootstrap-table/dist/bootstrap-table.min.css", rel="stylesheet")
8+
//link(href="/bower_components/bootstrap-table/dist/extensions/sticky-header/bootstrap-table-sticky-header.css", rel="stylesheet")
89
910
block content
1011
h1 #[span.mega-octicon.octicon-list-ordered] Project: #{project.name} #[small.text-muted (#{project._id})]
@@ -13,7 +14,8 @@ block content
1314
block scripts
1415
script(src="/bower_components/tableExport.jquery.plugin/tableExport.min.js")
1516
script(src="/bower_components/bootstrap-table/dist/bootstrap-table.min.js")
16-
script(src="/bower_components/bootstrap-table/dist/extensions/multiple-sort/bootstrap-table-multiple-sort.min.js")
17+
//script(src="/bower_components/bootstrap-table/dist/extensions/sticky-header/bootstrap-table-sticky-header.min.js")
18+
script(src="/bower_components/bootstrap-table/dist/extensions/multiple-sort/bootstrap-table-multiple-sort.js")
1719
script(src="/bower_components/bootstrap-table/dist/extensions/export/bootstrap-table-export.min.js")
1820
script(src="/bower_components/lodash/dist/lodash.min.js")
1921
script(src="/bower_components/moment/min/moment.min.js")
@@ -108,7 +110,9 @@ block scripts
108110
iconsPrefix: "octicon",
109111
search: true,
110112
columns: columns,
113+
showColumns: true,
111114
data: experiments,
115+
//stickyHeader: true,
112116
showMultiSort: true,
113117
showExport: true,
114118
exportOptions: {

0 commit comments

Comments
 (0)