pug update to match data

This commit is contained in:
2026-03-01 10:10:41 +10:00
parent f17768bb8e
commit e64b644b33
5 changed files with 70 additions and 327 deletions

View File

@@ -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