pug update to match data
This commit is contained in:
@@ -1,25 +1,19 @@
|
||||
include ../components/mixins.pug
|
||||
include ../components/data.pug
|
||||
|
||||
head
|
||||
title table
|
||||
title table
|
||||
script(src='./table/data.js')
|
||||
script(src='./table/filter.js')
|
||||
script(src='./table/main.js')
|
||||
script(src='./table/sort.js')
|
||||
script(src='./table/table.js')
|
||||
|
||||
body
|
||||
+navbarMixin("Table")
|
||||
+navbarMixin("Table")
|
||||
|
||||
.table-controls
|
||||
+filtersMixin()
|
||||
+sortingMixin()
|
||||
+graphMixin()
|
||||
|
||||
.table-controls
|
||||
+filtersMixin()
|
||||
+sortingMixin()
|
||||
+graphMixin()
|
||||
|
||||
table.table
|
||||
tbody.table-content
|
||||
each dataItem,index in sensorData
|
||||
if index == 0
|
||||
tr.table-content__table-header
|
||||
each value,header in dataItem
|
||||
th #{header}
|
||||
tr.table-content__table-row
|
||||
each value,header in dataItem
|
||||
td #{value}
|
||||
|
||||
table.table
|
||||
|
||||
Reference in New Issue
Block a user